Sebastian Krzyszkowiak
|
440e6c41e6
|
Dear ImGui integration
|
2018-11-29 04:37:08 +01:00 |
|
Sebastian Krzyszkowiak
|
48189e7715
|
make depth buffer creation configurable
|
2018-11-27 03:06:43 +01:00 |
|
Sebastian Krzyszkowiak
|
9ecd29a7c3
|
include allegro_color and platform specific headers already in libsuperderpy.h, clean up
|
2018-11-26 01:40:19 +01:00 |
|
Sebastian Krzyszkowiak
|
6c59ef1049
|
add support for routing the loading gamestate through compositor
|
2018-11-22 04:53:51 +01:00 |
|
Sebastian Krzyszkowiak
|
a6abd01ec2
|
libsuperderpy_start: load shaders before loading the loading gamestate
Allows the loading gamestate to use shaders created in common resources.
|
2018-11-22 03:37:32 +01:00 |
|
Sebastian Krzyszkowiak
|
e04a52ea35
|
init: set libsuperderpy's default mixer as Allegro's default one
|
2018-11-02 06:10:15 +01:00 |
|
Sebastian Krzyszkowiak
|
de835593c8
|
set the default window size according to the viewport aspect ratio
|
2018-10-27 05:18:02 +02:00 |
|
Sebastian Krzyszkowiak
|
7c30291d95
|
Load shaders created before libsuperderpy_start already when starting
|
2018-10-11 06:15:07 +02:00 |
|
Sebastian Krzyszkowiak
|
3e7d9812a3
|
Refactor the engine's main loop.
|
2018-09-10 03:22:45 +02:00 |
|
Sebastian Krzyszkowiak
|
c5fcba57cb
|
Fix a segfault when there's no postdraw handler
|
2018-09-10 03:12:19 +02:00 |
|
Sebastian Krzyszkowiak
|
916094b371
|
debug: decouple livereload from autopause
|
2018-08-09 00:42:53 +02:00 |
|
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 |
|