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 |
|
Sebastian Krzyszkowiak
|
125ff97fba
|
loading: show loading time and warn if ProgressCount isn't right
|
2018-07-05 19:39:11 +02:00 |
|
Sebastian Krzyszkowiak
|
49628de381
|
LoadSpritesheets: call progress function after each spritesheet
|
2018-07-05 19:38:31 +02:00 |
|
Sebastian Krzyszkowiak
|
a29c7b4d2c
|
fix clang-tidy issues
|
2018-07-04 19:08:39 +02:00 |
|
Sebastian Krzyszkowiak
|
88ea60dd7b
|
add missing symbol exports for ShowCharacter and HideCharacter
Fixes MinGW
|
2018-07-04 06:55:12 +02:00 |
|
Sebastian Krzyszkowiak
|
c7fac39b79
|
timeline: use macros to get action name by default
|
2018-06-30 02:52:06 +02:00 |
|
Sebastian Krzyszkowiak
|
4cf74ec0f3
|
timeline: delta eating
Untested. Great reason to write unit tests :)
|
2018-06-30 01:27:28 +02:00 |
|
Sebastian Krzyszkowiak
|
a4a1c356df
|
timeline: don't use ALLEGRO_TIMERs anymore, rely on delta time instead
|
2018-06-29 23:00:13 +02:00 |
|
Sebastian Krzyszkowiak
|
b5d2b4a032
|
fix timeline debug mode
|
2018-06-28 04:38:33 +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
|
291e4c73d6
|
use al_reset_clipping_rectangle for clarity
|
2018-06-03 03:39:28 +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
|
0af3d8b1d0
|
ResumeExecution: guard against open/link failure on live reload
|
2018-04-18 23:14:05 +02:00 |
|
Sebastian Krzyszkowiak
|
3938a78503
|
live reloading
|
2018-04-16 01:06:58 +02:00 |
|
Sebastian Krzyszkowiak
|
f097ddc54a
|
display frame duration along with the fps counter
|
2018-03-20 23:49:22 +01:00 |
|
Sebastian Krzyszkowiak
|
c85381644c
|
rumina hacks 3
|
2018-03-15 00:46:52 +01:00 |
|
Sebastian Krzyszkowiak
|
f0417b09f6
|
rumina hacks 2
|
2018-03-15 00:42:24 +01:00 |
|
Sebastian Krzyszkowiak
|
ae70770f77
|
rumina hacks
|
2018-03-15 00:42:24 +01:00 |
|