Sebastian Krzyszkowiak
|
834b1028f5
|
support a case where width, height and ratio in params are all zeros
|
2019-03-29 21:26:25 +01:00 |
|
Sebastian Krzyszkowiak
|
993e9884e6
|
adjust to clang-tidy 8.0
|
2019-03-29 03:24:36 +01:00 |
|
Sebastian Krzyszkowiak
|
d54b311a3c
|
fix a case where SetupViewport wasn't called when it should after a display resize
|
2019-03-28 16:58:15 +01:00 |
|
Sebastian Krzyszkowiak
|
cdc99444e0
|
fix clang-analyzer warnings and reformat
|
2019-03-26 04:31:24 +01:00 |
|
Sebastian Krzyszkowiak
|
f375b6f0b1
|
use 48kHz as a default audio sample rate
|
2019-03-05 03:48:39 +01:00 |
|
Sebastian Krzyszkowiak
|
5a6e212de1
|
make sure to redraw the gamestates after a resize
Also affects compositor toggling
|
2019-03-05 03:48:11 +01:00 |
|
Sebastian Krzyszkowiak
|
c7ebc51f16
|
move SetupViewport to internal functions
|
2019-03-05 03:42:59 +01:00 |
|
Sebastian Krzyszkowiak
|
c93c22cf04
|
make Gamestate structure private and add API for accessing it
|
2019-03-05 03:20:06 +01:00 |
|
Sebastian Krzyszkowiak
|
43c830bf99
|
drop "libsuperderpy-" prefix from game-specific shared libraries
|
2019-02-26 01:42:16 +01:00 |
|
Sebastian Krzyszkowiak
|
199ad64bac
|
ReloadGamestates: also reload loading gamestate
|
2019-02-14 05:35:17 +01:00 |
|
Sebastian Krzyszkowiak
|
26a32fd083
|
destroy and recreate voice on suspend and resume
|
2019-02-07 04:11:40 +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
|
1334fc6b1d
|
fix a NULL pointer dereference in ResizeGamestates
|
2019-01-11 15:25:24 +01:00 |
|
Sebastian Krzyszkowiak
|
9006427278
|
clean up a duplicated framebuffer of the loading gamestate
|
2019-01-11 12:28:08 +01:00 |
|
Sebastian Krzyszkowiak
|
08ee8f142c
|
loading screen drawing tweaks
|
2019-01-11 02:33:48 +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
|
f357d75591
|
emscripten: use emterpreter for displaying loading screen
|
2019-01-03 23:22:26 +01:00 |
|
Sebastian Krzyszkowiak
|
6e69d5410e
|
fix building with LIBSUPERDERPY_SINGLE_THREAD
|
2018-12-18 14:34:27 +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
|
ad26fe14ad
|
add a separate flag to indicate that the loading screen is being shown
|
2018-12-07 06:14:52 +01:00 |
|
Sebastian Krzyszkowiak
|
97495fa2aa
|
require the compositor to clear the screen by itself
|
2018-11-27 03:08:21 +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
|
93f2be37d8
|
draw compositors, postdraw hooks and consoles on whole screen in full resolution (breaking change)
|
2018-11-22 21:01:35 +01:00 |
|
Sebastian Krzyszkowiak
|
6c59ef1049
|
add support for routing the loading gamestate through compositor
|
2018-11-22 04:53:51 +01:00 |
|
Sebastian Krzyszkowiak
|
7f7c522b3c
|
make SetFramebufferAsTarget work also for the loading gamestate
|
2018-11-22 03:40:41 +01:00 |
|
Sebastian Krzyszkowiak
|
bbba7da52f
|
AllocateGamestate: fix uninitialized memory
Fixes a segfault when resizing a window in between allocating and
loading the gamestate.
|
2018-11-01 23:56:37 +01:00 |
|
Sebastian Krzyszkowiak
|
d20b81d104
|
update clang-tidy diagnostics
|
2018-10-10 21:37:54 +02:00 |
|
Sebastian Krzyszkowiak
|
532727b15c
|
Add some missing guards and debug messages for gamestate handling
|
2018-09-10 04:36:18 +02:00 |
|
Sebastian Krzyszkowiak
|
3e7d9812a3
|
Refactor the engine's main loop.
|
2018-09-10 03:22:45 +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
|
9953d3f171
|
gamestate: add optional Gamestate_Tick function for logic with fixed interval
|
2018-08-05 02:01:21 +02:00 |
|
Sebastian Krzyszkowiak
|
093a808dc2
|
character: reuse already loaded bitmaps
|
2018-08-03 05:02:44 +02:00 |
|
Sebastian Krzyszkowiak
|
6587d14530
|
don't pause/resume gamestates on execution pause that aren't started
|
2018-07-21 14:07:58 +02:00 |
|
Sebastian Krzyszkowiak
|
1c2e27f2b7
|
fix potential crash shown by clang-tidy warning
|
2018-07-19 01:39:53 +02:00 |
|
Sebastian Krzyszkowiak
|
31f6b8454d
|
don't live-reload gamestates that don't come from dynamic libraries
|
2018-07-18 19:58:34 +02:00 |
|
Sebastian Krzyszkowiak
|
91a3bd1efa
|
call Gamestate_Pause and Gamestate_Resume on window focus change in debug mode (autoreload)
|
2018-07-18 19:47:56 +02:00 |
|
Sebastian Krzyszkowiak
|
3b2a675d23
|
don't Reload gamestates that aren't loaded
|
2018-07-18 19:46:59 +02:00 |
|
Sebastian Krzyszkowiak
|
fc404465d4
|
internal: rework console drawing code for better bounding rect handling
Also fixes broken timeline debug view when scaling.
|
2018-07-18 01:23:02 +02:00 |
|
Sebastian Krzyszkowiak
|
52da2d53e4
|
utils: move GetGameName to internal
|
2018-07-13 18:38:02 +02:00 |
|
Sebastian Krzyszkowiak
|
ce76a53939
|
fix compilation on emscripten
|
2018-07-06 03:55:32 +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
|
e293047aba
|
gamestate: make some API endpoints optional
|
2018-07-05 20:42:51 +02:00 |
|