Sebastian Krzyszkowiak
|
7d4575308d
|
add config switches for various debug options
|
2018-08-09 00:05:25 +02:00 |
|
Sebastian Krzyszkowiak
|
e5dd715eb2
|
fix and update debug function keys
|
2018-08-08 23:59:38 +02:00 |
|
Sebastian Krzyszkowiak
|
6684847424
|
send filename, line number and function name to PrintConsole and FatalError for verbose debug output
|
2018-08-08 22:19:50 +02:00 |
|
Sebastian Krzyszkowiak
|
942fd043fd
|
lock the timeline debug view to debug mode
|
2018-08-07 00:43:42 +02:00 |
|
Sebastian Krzyszkowiak
|
9953d3f171
|
gamestate: add optional Gamestate_Tick function for logic with fixed interval
|
2018-08-05 02:01:21 +02:00 |
|
Sebastian Krzyszkowiak
|
4c12939afe
|
set ALLEGRO_NO_PRESERVE_TEXTURE by default on desktop platforms
This almost halves RAM usage on desktop. On mobile, a more elaborate
approach will have to be developed.
|
2018-08-05 01:17:41 +02:00 |
|
Sebastian Krzyszkowiak
|
a03a031c6c
|
call postdraw hook also after drawing loading screen
|
2018-08-05 00:23:05 +02:00 |
|
Sebastian Krzyszkowiak
|
51d9fad1d6
|
export libsuperderpy's git revision and print on initializing
|
2018-08-04 18:25:30 +02:00 |
|
Sebastian Krzyszkowiak
|
7bde25fe84
|
add a public field with in-game total passed time
|
2018-08-03 13:15:06 +02:00 |
|
Sebastian Krzyszkowiak
|
05c75a9437
|
init: set app name as window title by default
|
2018-08-03 01:39:05 +02:00 |
|
Sebastian Krzyszkowiak
|
8ff2a57b64
|
fix broken fullscreen toggle on Windows
|
2018-07-30 17:00:31 +02:00 |
|
Sebastian Krzyszkowiak
|
f215bc0c83
|
mute audio by setting main mixer gain to 0.0
using al_set_mixer_playing causes high CPU usage for some reason
|
2018-07-26 16:19:32 +02:00 |
|
Sebastian Krzyszkowiak
|
7c92d1e05e
|
add global audio mute config option
|
2018-07-26 15:33:02 +02:00 |
|
Sebastian Krzyszkowiak
|
7a5c2f9ed3
|
loading: stop time in loading when converting memory bitmaps
Avoids annoying framedrops, just stops the animation for a while instead.
|
2018-07-06 23:29:16 +02:00 |
|
Sebastian Krzyszkowiak
|
c4ceb188f5
|
gamestate: move loading time counter to main thread to include PostLoad
|
2018-07-05 20:59:54 +02:00 |
|
Sebastian Krzyszkowiak
|
521e6bf431
|
gamestate: add optional PostLoad hook for stuff that needs to be done on GPU thread
|
2018-07-05 20:55:32 +02:00 |
|
Sebastian Krzyszkowiak
|
a314ad2d6d
|
don't reload shaders multiple times when loading multiple gamestates
|
2018-07-05 20:47:30 +02:00 |
|
Sebastian Krzyszkowiak
|
e293047aba
|
gamestate: make some API endpoints optional
|
2018-07-05 20:42:51 +02:00 |
|
Sebastian Krzyszkowiak
|
96ab7a12ce
|
use ALLEGRO_FRAMELESS for fullscreen windows only on Android
It will be needed for immersive mode, while it can break
fullscreen toggling on other platforms.
|
2018-07-05 03:28:32 +02:00 |
|
Sebastian Krzyszkowiak
|
2d905ce3c0
|
update the timestamp after Gamestate_Start to prevent high delta jump
|
2018-07-05 02:33:59 +02:00 |
|
Sebastian Krzyszkowiak
|
7b93ced844
|
it's libsuperderpy 2 now
|
2018-07-03 04:22:12 +02:00 |
|
Sebastian Krzyszkowiak
|
23ffcae034
|
better handling of joystick, mouse and font initialization failures
Now libsuperderpy works on FreeBSD \o/
|
2018-07-03 00:41:57 +02:00 |
|
Sebastian Krzyszkowiak
|
993a6fd2e7
|
Add more PrintConsoles around gamestate handling.
|
2018-06-30 00:59:54 +02:00 |
|
Sebastian Krzyszkowiak
|
016c482154
|
convert bitmaps to video textures on every progress() when loading gamestate in threaded mode
|
2018-06-23 04:44:36 +02:00 |
|
Sebastian Krzyszkowiak
|
71ec8b396e
|
shader: auto rebuild and auto destroy shaders
|
2018-05-31 20:52:16 +02:00 |
|
Sebastian Krzyszkowiak
|
9182cabf79
|
Add abstraction for GPU shaders
|
2018-05-30 21:11:46 +02:00 |
|
Sebastian Krzyszkowiak
|
01ae741558
|
loading: call Gamestate_Logic in single thread mode as well
|
2018-04-21 01:08:39 +02:00 |
|
Sebastian Krzyszkowiak
|
a9c318dd78
|
loading: call Gamestate_Logic
|
2018-04-21 00:11:34 +02:00 |
|
Sebastian Krzyszkowiak
|
3938a78503
|
live reloading
|
2018-04-16 01:06:58 +02:00 |
|
Sebastian Krzyszkowiak
|
adb15a9caf
|
libsuperderpy: init video addon
|
2018-04-08 01:33:13 +02:00 |
|
Sebastian Krzyszkowiak
|
8d0df727cb
|
fix gameplay speed
|
2018-03-20 21:38:34 +01:00 |
|
Sebastian Krzyszkowiak
|
c85381644c
|
rumina hacks 3
|
2018-03-15 00:46:52 +01:00 |
|
Sebastian Krzyszkowiak
|
ae70770f77
|
rumina hacks
|
2018-03-15 00:42:24 +01:00 |
|
Sebastian Krzyszkowiak
|
686dab729a
|
Remove ALLEGRO_RENDER_METHOD sanity check
See liballeg/allegro5#887
|
2018-03-03 20:50:50 +01:00 |
|
Sebastian Krzyszkowiak
|
fc37ec592e
|
Add bunch of debug output on launch
|
2018-02-03 03:53:52 +01:00 |
|
Sebastian Krzyszkowiak
|
52fbb86d2f
|
Add pre/post logic/draw handlers
|
2018-02-03 03:39:30 +01:00 |
|
Sebastian Krzyszkowiak
|
c6b71f1686
|
Add delta parameter to Gamestate_Logic calls
|
2018-02-03 03:37:44 +01:00 |
|
Sebastian Krzyszkowiak
|
977a03db1e
|
future-proof Android support by using ALLEGRO_FRAMELESS when fullscreen
|
2017-10-12 21:04:18 +02:00 |
|
Sebastian Krzyszkowiak
|
bf4aa069a4
|
don't use empty initializers (it's a GNU extension)
|
2017-09-10 22:07:02 +02:00 |
|
Sebastian Krzyszkowiak
|
2b1248ce14
|
clang-tidy support; clang-tidy and clang-format fixes
|
2017-09-10 21:35:14 +02:00 |
|
Sebastian Krzyszkowiak
|
0a4580a762
|
Android: honor tilde button for console toggling (you can attach a keyboard to Android device)
|
2017-09-09 02:46:07 +02:00 |
|
Sebastian Krzyszkowiak
|
a906b14e08
|
threaded screenshoting (now with gamestates redraw!)
|
2017-09-09 00:42:57 +02:00 |
|
Sebastian Krzyszkowiak
|
450e33b2e3
|
support of loading in separate thread; thread-safe console; various fixes from clang code model warnings
|
2017-09-09 00:11:43 +02:00 |
|
Sebastian Krzyszkowiak
|
4a2e2a3d25
|
try to create INT16 voice if FLOAT32 one fails
Seems to be some bug in Allegro, as it fails on OS X.
|
2017-09-05 03:01:18 +02:00 |
|
Sebastian Krzyszkowiak
|
3581c6060c
|
full emscripten support, plus flac->ogg encoding for emscripten and android
|
2017-08-24 21:09:07 +02:00 |
|
Sebastian Krzyszkowiak
|
a955820e8f
|
emscripten support
|
2017-08-24 00:51:58 +02:00 |
|
Sebastian Krzyszkowiak
|
07d4c22199
|
init: call al_install_audio before al_init_acodec_addon
|
2017-08-19 01:27:34 +02:00 |
|
Sebastian Krzyszkowiak
|
b7346ea330
|
use leak sanitizer for debug build and break the build in case of unresolved symbols in libraries
|
2017-08-19 01:26:53 +02:00 |
|
Sebastian Krzyszkowiak
|
417d34ef1a
|
fix stuff reported by static analyzer
|
2017-08-16 01:47:07 +02:00 |
|
Sebastian Krzyszkowiak
|
3fe7df2982
|
timeline: make debug draw optional and automatic
|
2017-08-07 02:26:36 +02:00 |
|