Sebastian Krzyszkowiak
|
c93c22cf04
|
make Gamestate structure private and add API for accessing it
|
2019-03-05 03:20:06 +01:00 |
|
Sebastian Krzyszkowiak
|
66e0319691
|
cmake: make source files of game's shared library configurable
|
2019-02-28 21:44:02 +01:00 |
|
Sebastian Krzyszkowiak
|
ae9cf19778
|
utils: Push/PopTransform functions for easier transforming
|
2019-02-26 18:14:19 +01:00 |
|
Sebastian Krzyszkowiak
|
b84727bff0
|
utils: add transform-aware clipping rectangle functions
|
2019-02-26 01:59:49 +01:00 |
|
Sebastian Krzyszkowiak
|
43c830bf99
|
drop "libsuperderpy-" prefix from game-specific shared libraries
|
2019-02-26 01:42:16 +01:00 |
|
Sebastian Krzyszkowiak
|
d05e683171
|
add a hack for window size correction at launch
|
2019-02-24 04:20:36 +01:00 |
|
Sebastian Krzyszkowiak
|
c80a3c5717
|
report Allegro version and better format the OpenGL version
|
2019-02-23 13:36:27 +01:00 |
|
Sebastian Krzyszkowiak
|
7c89ef74e2
|
don't react to ALLEGRO_EVENT_DISPLAY_RESIZE if the new size is the same as the old one
|
2019-02-19 03:49:53 +01:00 |
|
Sebastian Krzyszkowiak
|
199ad64bac
|
ReloadGamestates: also reload loading gamestate
|
2019-02-14 05:35:17 +01:00 |
|
Sebastian Krzyszkowiak
|
0ba9c7bbae
|
move first al_flip_display() way earlier
|
2019-02-13 23:00:33 +01:00 |
|
Sebastian Krzyszkowiak
|
f8306f80c1
|
ReloadShaders: actually don't reload already loaded stuff unless forced
|
2019-02-13 22:59:45 +01:00 |
|
Sebastian Krzyszkowiak
|
d9dd73bfc8
|
make sure shaders are loaded in-between Load and PostLoad calls + call PostLoad for loading
|
2019-02-13 22:59:11 +01:00 |
|
Sebastian Krzyszkowiak
|
886034e596
|
use ALLEGRO_NO_PRESERVE_TEXTURE on SDL2
seems there's no reason not to; it even fixes some stuff
|
2019-02-13 22:54:49 +01:00 |
|
Sebastian Krzyszkowiak
|
379ba8f629
|
cmake: make LTO optional
|
2019-02-13 22:53:43 +01:00 |
|
Sebastian Krzyszkowiak
|
23da896077
|
Update README.md
|
2019-02-09 21:34:28 +00:00 |
|
Sebastian Krzyszkowiak
|
eee42e2288
|
Update README.md
|
2019-02-09 21:26:04 +00:00 |
|
Sebastian Krzyszkowiak
|
d878a86634
|
make DCE on emscripten/wasm configurable and disabled by default
|
2019-02-08 02:12:31 +01:00 |
|
Sebastian Krzyszkowiak
|
26a32fd083
|
destroy and recreate voice on suspend and resume
|
2019-02-07 04:11:40 +01:00 |
|
Sebastian Krzyszkowiak
|
b07c9033e9
|
update emscripten flags
|
2019-02-06 01:48:35 +01:00 |
|
Sebastian Krzyszkowiak
|
9e0a1ddb36
|
IsOnCharacter: properly support subbitmaps (for instance spritesheets)
|
2019-02-01 05:45:26 +01:00 |
|
Sebastian Krzyszkowiak
|
10164293ba
|
add ability to enable multisampling via init params
|
2019-02-01 03:37:15 +01:00 |
|
Sebastian Krzyszkowiak
|
e89f654559
|
ImgToWebp: add ability to use lossless compression
Good for pixel art
|
2019-01-24 23:57:23 +01:00 |
|
Sebastian Krzyszkowiak
|
a411819d5a
|
android: update toolchain for docker images
|
2019-01-24 04:11:13 +01:00 |
|
Sebastian Krzyszkowiak
|
cb080f027b
|
android: don't compress opus and wbp files when packaging apk
fixes an issue with playback of opus files getting cut
|
2019-01-21 21:41:41 +01:00 |
|
Sebastian Krzyszkowiak
|
d1fbe5dd49
|
android: fix setting the debuggable property for the apk
|
2019-01-21 04:52:15 +01:00 |
|
Sebastian Krzyszkowiak
|
54a305b3ec
|
android: migrate from ant to gradle
|
2019-01-20 03:00:01 +01:00 |
|
Sebastian Krzyszkowiak
|
45d36870ad
|
PrintConsole: print current time when in verbose mode
|
2019-01-17 02:42:33 +01:00 |
|
Sebastian Krzyszkowiak
|
c5b5d7a7e0
|
fix macos builds
|
2019-01-13 21:34:32 +01:00 |
|
Sebastian Krzyszkowiak
|
65807cd369
|
enable dead code elimination on webassembly builds
|
2019-01-13 20:02:21 +01:00 |
|
Sebastian Krzyszkowiak
|
a6b6062be4
|
recompress flac to opus and images to lossy webp for emscripten and android builds, with asset cache
|
2019-01-13 18:45:17 +01:00 |
|
Sebastian Krzyszkowiak
|
6211dcbf57
|
precache glyphs in fonts
|
2019-01-13 18:19:44 +01:00 |
|
Sebastian Krzyszkowiak
|
ef77bedeae
|
clean up
|
2019-01-11 15:26:12 +01:00 |
|
Sebastian Krzyszkowiak
|
1334fc6b1d
|
fix a NULL pointer dereference in ResizeGamestates
|
2019-01-11 15:25:24 +01:00 |
|
Sebastian Krzyszkowiak
|
996c7e4d8e
|
FlacToOgg: fix and make more robust
|
2019-01-11 13:09:55 +01:00 |
|
Sebastian Krzyszkowiak
|
3da81d4388
|
cmake: fix Debug builds on Emscripten
|
2019-01-11 12:38:03 +01:00 |
|
Sebastian Krzyszkowiak
|
9006427278
|
clean up a duplicated framebuffer of the loading gamestate
|
2019-01-11 12:28:08 +01:00 |
|
Sebastian Krzyszkowiak
|
2333ff1187
|
emscripten: pause the mainloop during loading
Fixes blinks of a blank screen when async calls are made.
|
2019-01-11 02:34:22 +01:00 |
|
Sebastian Krzyszkowiak
|
08ee8f142c
|
loading screen drawing tweaks
|
2019-01-11 02:33:48 +01:00 |
|
Sebastian Krzyszkowiak
|
0d32d00890
|
emscripten: detach/attach the voice during loading
Should prevent audio artifacts when the browser is busy...
...when Emscripten gets it fixed, that is :P
|
2019-01-11 02:33:17 +01:00 |
|
Sebastian Krzyszkowiak
|
f5ce67e6cb
|
emscripten: export Gamestate_ProgressCount
Turns out there's no other way to export a variable.
Fixes wrong values in the progress bar.
|
2019-01-11 02:31:43 +01:00 |
|
Sebastian Krzyszkowiak
|
f5604b95fb
|
emscripten: output wasm submodules to .wasm.so files, so preload plugins can find them
|
2019-01-10 06:31:28 +01:00 |
|
Sebastian Krzyszkowiak
|
fe9b6f5384
|
emscripten: use __attribute__(used) in code instead of EXPORTED_FUNCTIONS in cmake
|
2019-01-10 06:04:29 +01:00 |
|
Sebastian Krzyszkowiak
|
871cdf115e
|
emscripten: fix a crash when onvisibilitychange fired during loading
|
2019-01-10 06:03:57 +01:00 |
|
Sebastian Krzyszkowiak
|
8c7068b48d
|
PrintConsole: use emscripten_log; don't use printf on Android and Emscripten; unify outputs
|
2019-01-10 02:32:23 +01:00 |
|
Sebastian Krzyszkowiak
|
d55fbebe4d
|
add more drawing (and sleeping in emscripten) to improve responsiveness around loading
|
2019-01-08 05:21:41 +01:00 |
|
Sebastian Krzyszkowiak
|
f07b075052
|
emscripten: install a callback for visibility changes
Fixes an issue where focus blur event was being dispatched only after
the game has been focused again.
|
2019-01-08 04:57:30 +01:00 |
|
Sebastian Krzyszkowiak
|
2ad77b071f
|
move autopause feature out of debug events
|
2019-01-08 04:54:53 +01:00 |
|
Sebastian Krzyszkowiak
|
d0316cd789
|
don't use timer for ticking; rely on delta instead
Timer was causing an infinite loop in cases where ticking took
more time than 1/60 sec.
|
2019-01-08 04:53:13 +01:00 |
|
Sebastian Krzyszkowiak
|
8d4ee68936
|
emscripten: drop STRICT=1 flag, it breaks when SDL2 is self-built
|
2019-01-08 03:32:49 +01:00 |
|
Sebastian Krzyszkowiak
|
f648d661e6
|
emscripten: set ALLEGRO_NO_PRESERVE_TEXTURE
Doesn't seem to break anything there despite of using SDL2 backend.
|
2019-01-07 00:40:01 +01:00 |
|