Commit graph

949 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
d9b0892637
Update allegro5 submodule 2019-09-07 03:01:53 +02:00
Sebastian Krzyszkowiak
aa1c864811
cmake: add ability to build an embedded, static copy of Allegro 2019-09-07 01:13:52 +02:00
Sebastian Krzyszkowiak
09c8506b37
ToggleFullscreen: log whether fullscreen is being toggled on or off 2019-09-06 22:57:04 +02:00
Sebastian Krzyszkowiak
3a0b8a706a
timeline: add TM_END and TM_REPEAT boolean aliases 2019-08-28 20:38:31 +02:00
Sebastian Krzyszkowiak
29e38ac04c
character: add detailedProgress property for progress report on each frame 2019-08-28 04:18:20 +02:00
Sebastian Krzyszkowiak
02650dfb4f
character: rename CharacterCallback macro to CHARACTER_CALLBACK 2019-08-28 04:17:57 +02:00
Sebastian Krzyszkowiak
b5b938ef28
init: list connected joystick data in debug output 2019-07-25 03:26:08 +02:00
Sebastian Krzyszkowiak
943c4fb77b
support gamepad hotplug 2019-07-23 03:57:23 +02:00
Sebastian Krzyszkowiak
4cc19c3382
README: add Bob 2019-07-22 23:49:45 +02:00
Sebastian Krzyszkowiak
1807fe256e
limit delta to 1 second
It doesn't make much sense to react to bugger deltas; especially that
looping over Gamestate_Tick may take significant amount of time in such
cases.
2019-07-22 17:51:57 +02:00
Sebastian Krzyszkowiak
5ca9d844b8
mainloop: correct for joystick quirks on GNU/Linux and Nintendo Switch 2019-07-22 17:44:07 +02:00
Sebastian Krzyszkowiak
112be73531
cmake: add CONFIGURE_DEPENDS to file(GLOB...) invocations 2019-06-27 21:24:30 +02:00
Sebastian Krzyszkowiak
5757c5170a
config: store the config file instantly after setting a new value 2019-06-26 22:44:48 +02:00
Sebastian Krzyszkowiak
94de1c5975
character: mark spritesheets loaded from bitmaps as shared, so the bitmaps don't get destroyed 2019-06-25 05:12:04 +02:00
Sebastian Krzyszkowiak
8e49e5e2ee
update imgui to v1.71 2019-06-14 00:23:20 +02:00
Sebastian Krzyszkowiak
5a437a27bf
fix missing loading screens with static gamestates 2019-06-07 21:35:16 +02:00
Sebastian Krzyszkowiak
63e5210796
use 44100 sample rate by default and make the default configurable by the game 2019-06-07 20:37:57 +02:00
Sebastian Krzyszkowiak
f701df6100
imgui: fix clang-analyzer warnings 2019-06-06 02:49:52 +02:00
Sebastian Krzyszkowiak
0f3a5ca25e
character: add RegisterSpritesheetFromBitmap helper 2019-06-03 03:43:35 +02:00
Sebastian Krzyszkowiak
0b9cf5549e
update clang-tidy mention in codestyle readme 2019-06-01 04:30:21 +02:00
Sebastian Krzyszkowiak
b0ec8ef683
imgui: synchronize platform code with upstream allegro5 example 2019-05-31 02:52:29 +02:00
Sebastian Krzyszkowiak
7ade9ee1aa
3rdparty: use cimgui with patched version of imgui to fix building for Nintendo Switch 2019-05-31 01:47:00 +02:00
Sebastian Krzyszkowiak
afc60d96d0
cmake: adjust order of dependencies to link with
The order is important when linking statically.
2019-05-31 01:26:39 +02:00
Sebastian Krzyszkowiak
6758075511
cmake: rework static linking configuration 2019-05-17 17:35:07 +02:00
Sebastian Krzyszkowiak
c6ef4a6199
support static linking the whole game into one binary 2019-05-17 02:31:17 +02:00
Sebastian Krzyszkowiak
c724a490fb
formal Pocket C.H.I.P support 2019-05-13 23:51:07 +02:00
Sebastian Krzyszkowiak
b0bf4f13be
cmake: disable GNU extensions 2019-05-13 23:47:16 +02:00
Sebastian Krzyszkowiak
8c228aa9e0
cmake: set -std=gnu99 when the compiler default is C90
Fixes compilation on the Pocket C.H.I.P
2019-05-12 22:35:51 +02:00
Sebastian Krzyszkowiak
5b8df3c180
cmake: disable stack protector on Maemo
It causes strange segfaults there
2019-05-12 22:33:34 +02:00
Sebastian Krzyszkowiak
a5aed4743d
cmake: disable sanitizers on Maemo 2019-05-12 21:59:03 +02:00
Sebastian Krzyszkowiak
3b3253ab6f
move freeing the gamestate's name outside of CloseGamestate
...and fixup the last commit
2019-05-11 00:44:45 +02:00
Sebastian Krzyszkowiak
6e8670bf12
fix a memory leak happening when there's no loading gamestate registered 2019-05-11 00:05:40 +02:00
Sebastian Krzyszkowiak
2b3a2e3d72
fix a potential division by zero in GetDefaultWindow(Width|Height) 2019-05-10 23:42:35 +02:00
Sebastian Krzyszkowiak
a8f78ea9bb
cmake: use float literal instead of integer to specify image scale as 1 2019-05-10 23:20:10 +02:00
Sebastian Krzyszkowiak
a4147d2e61
character: transparently support ImgToWebp scaling factor 2019-05-06 04:06:58 +02:00
Sebastian Krzyszkowiak
7c94d31d66
call al_unref_user_event in event loop on user events 2019-05-05 04:24:30 +02:00
Sebastian Krzyszkowiak
29f9484a6b
cmake: don't install libsuperderpy library when it's being built as a static lib 2019-04-30 00:23:37 +02:00
Sebastian Krzyszkowiak
264ef2b86d
cmake: link to allegro-color addon 2019-04-29 13:17:56 +02:00
Sebastian Krzyszkowiak
c480289123
cmake: rework asset compression pipeline a bit 2019-04-29 03:11:55 +02:00
Sebastian Krzyszkowiak
ddfe7cc50a
properly unset default mixer on engine destroy
fixes a segfault/broken assertion that could happen right before quiting
2019-04-22 01:34:53 +02:00
Sebastian Krzyszkowiak
26089d86e6
move SUPPRESS_WARNING macros to public header 2019-04-21 15:46:03 +02:00
Sebastian Krzyszkowiak
d93e1a1aca
imgui: scale the whole UI by factor from configuration 2019-04-07 23:26:54 +02:00
Sebastian Krzyszkowiak
569834bce4
cmake: fix problems with static linking with osxcross 2019-04-06 21:18:17 +02:00
Sebastian Krzyszkowiak
6aedf685b6
update imgui to 1.69 2019-04-06 20:45:32 +02:00
Sebastian Krzyszkowiak
472ed0a1b4
timeline: fine-tune semantics and fix bugs shown by tests 2019-04-03 03:00:14 +02:00
Sebastian Krzyszkowiak
83bd62277f
initial set of timeline unit tests 2019-04-03 02:59:48 +02:00
Sebastian Krzyszkowiak
c3096eee7b
android: rework loadLibrary function to fix bugs and report errors 2019-04-02 23:38:37 +02:00
Sebastian Krzyszkowiak
1e7fe215c4
timeline: gracefullly handle out of bounds indexes in TM_GetArg 2019-03-30 04:06:40 +01:00
Sebastian Krzyszkowiak
9706f61116
don't abort when there's no loading screen available 2019-03-30 03:34:55 +01:00
Sebastian Krzyszkowiak
44bee57f55
fix an endless loop on platforms where "char" is unsigned by default 2019-03-30 00:26:21 +01:00