Sebastian Krzyszkowiak
|
ae9cf19778
|
utils: Push/PopTransform functions for easier transforming
|
2019-02-26 18:14:19 +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
|
0ba9c7bbae
|
move first al_flip_display() way earlier
|
2019-02-13 23:00:33 +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
|
26a32fd083
|
destroy and recreate voice on suspend and resume
|
2019-02-07 04:11:40 +01:00 |
|
Sebastian Krzyszkowiak
|
10164293ba
|
add ability to enable multisampling via init params
|
2019-02-01 03:37:15 +01:00 |
|
Sebastian Krzyszkowiak
|
6211dcbf57
|
precache glyphs in fonts
|
2019-01-13 18:19:44 +01:00 |
|
Sebastian Krzyszkowiak
|
9006427278
|
clean up a duplicated framebuffer of the loading gamestate
|
2019-01-11 12:28:08 +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
|
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
|
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 |
|
Sebastian Krzyszkowiak
|
5fb99a97f8
|
emscripten: revise compiler settings and add a pre-js file with audio autoplay workaround
|
2019-01-07 00:37:34 +01:00 |
|
Sebastian Krzyszkowiak
|
f357d75591
|
emscripten: use emterpreter for displaying loading screen
|
2019-01-03 23:22:26 +01:00 |
|
Sebastian Krzyszkowiak
|
dbd047c64e
|
emscripten: force fullscreen as off on init
|
2018-12-22 02:21:46 +01:00 |
|
Sebastian Krzyszkowiak
|
cb0f4f6ba7
|
audio: always try INT16 depth first and use FLOAT32 as a fallback
|
2018-12-18 20:32:09 +01:00 |
|
Sebastian Krzyszkowiak
|
1b9b16cf15
|
more member name cleanup
|
2018-12-18 14:29:48 +01:00 |
|
Sebastian Krzyszkowiak
|
4da588cbb2
|
API consistency tweaks
|
2018-12-16 15:35:53 +01:00 |
|
Sebastian Krzyszkowiak
|
df1790d242
|
doxygen tweaks
|
2018-12-16 15:15:38 +01:00 |
|
Sebastian Krzyszkowiak
|
b9b231a438
|
put debug config into public config struct
|
2018-12-15 01:09:44 +01:00 |
|
Sebastian Krzyszkowiak
|
ce66ba8060
|
reorganize Game structure, deprecate access to _priv fields
|
2018-12-15 00:59:34 +01:00 |
|
Sebastian Krzyszkowiak
|
d8f975300d
|
PrintConsole/DrawConsole: guard console data usage with mutexes
|
2018-12-14 02:18:05 +01:00 |
|
Sebastian Krzyszkowiak
|
5fcb55591c
|
fix cppcheck warnings
|
2018-12-11 00:26:51 +01:00 |
|
Sebastian Krzyszkowiak
|
0ebb85a660
|
make audio sample rate configurable
|
2018-12-06 05:37:51 +01:00 |
|
Sebastian Krzyszkowiak
|
3586f49762
|
ensure that the game operates on UTF-8 on Windows
Should fix issues with Unicode filenames.
|
2018-12-05 02:09:06 +01:00 |
|
Sebastian Krzyszkowiak
|
2179d6cdc2
|
synchronize with the main thread on BSoD
|
2018-12-02 00:26:33 +01:00 |
|
Sebastian Krzyszkowiak
|
58cb054a18
|
add missing al_destroy_mixer
|
2018-12-02 00:24:31 +01:00 |
|
Sebastian Krzyszkowiak
|
2149c11ace
|
imgui: handle touch input, set style and don't call al_set_mouse_cursor, which isn't implemented on some platforms
|
2018-11-29 21:09:20 +01:00 |
|
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 |
|