Commit graph

1016 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
7c92d1e05e add global audio mute config option 2018-07-26 15:33:02 +02:00
Sebastian Krzyszkowiak
09e8b5249b add NCSP to README 2018-07-22 12:27:13 +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
5b7d06014e README: update supported platforms 2018-07-19 02:07:41 +02:00
Sebastian Krzyszkowiak
17e5a084a7 README: swap the order of the games 2018-07-19 02:00:56 +02:00
Sebastian Krzyszkowiak
d52e9d5007 add Wakey Wakey to the README 2018-07-19 01:57:51 +02:00
Sebastian Krzyszkowiak
1c2e27f2b7 fix potential crash shown by clang-tidy warning 2018-07-19 01:39:53 +02:00
Sebastian Krzyszkowiak
74e2d863b9 android: don't install unneccesary files into assets directory 2018-07-19 01:28: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
f4ca431238 gmaestate: automatically load unloaded gamestate when trying to start it 2018-07-18 19:50:35 +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
4a60bfdcf9 enable -ffast-math 2018-07-18 19:45:30 +02:00
Sebastian Krzyszkowiak
fb7089b001 maths: restore DotProduct function missing after e5cf17a1a6 2018-07-18 01:57:31 +02:00
Sebastian Krzyszkowiak
98eaf73f8c utils: add PunchNumber utility 2018-07-18 01:49:19 +02:00
Sebastian Krzyszkowiak
6061b8d1bb tween: swap around style and duration arguments in Tween constructor 2018-07-18 01:40:23 +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
e5cf17a1a6 utils: add Fract util function and move math utils to separate unit 2018-07-12 20:18:23 +02:00
Sebastian Krzyszkowiak
d6f6f32e00 include math.h header in libsuperderpy.h 2018-07-12 00:03:00 +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
dba2ef80da add correct file extension for wasm gamestates 2018-07-06 23:17:09 +02:00
Sebastian Krzyszkowiak
4f64b83e01 cmake: add an ability to make a WebAssembly build with emscripten 2018-07-06 22:07:13 +02:00
Sebastian Krzyszkowiak
314588640e cmake: add option to link dependencies statically 2018-07-06 15:43:56 +02:00
Sebastian Krzyszkowiak
8e1ece69f7 mingw: link i686 binaries as large address aware so they can use more than 2GB RAM (up to 4GB) 2018-07-06 14:29:14 +02:00
Sebastian Krzyszkowiak
a4bd7fbb0f cmake: add ability to use WebGL 2 with Emscripten 2018-07-06 04:04:05 +02:00
Sebastian Krzyszkowiak
ce76a53939 fix compilation on emscripten 2018-07-06 03:55:32 +02:00
Sebastian Krzyszkowiak
7872542f2b emscripten: disable WASM
We're not WASM ready, while newer Emscripten enabled it by default.
2018-07-06 03:55:07 +02:00
Sebastian Krzyszkowiak
ab17bd8050 timeline: add TM_AddActionAfter 2018-07-05 22:31:18 +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
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
ab8dc0f143 character: fix predecessor memory leak 2018-07-05 16:57:03 +02:00
Sebastian Krzyszkowiak
ce965a2643 character: add ability to set character destructor to free custom data 2018-07-05 16:43:13 +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
d512b31889 shader: downgrade GLSL to 1.20 because of macOS 2018-07-05 02:32:58 +02:00
Sebastian Krzyszkowiak
3a04729fb6 shader: automatically prepend #version line
GL: "#version 130" (3.0)
GLES: "#version 100" (2.0)
2018-07-05 01:05:50 +02:00
Sebastian Krzyszkowiak
5888cd2575 FatalError, PrintConsole: properly mark format argument as such
Thanks to that static analysis can catch nonliteral format errors.
2018-07-05 01:04:54 +02:00
Sebastian Krzyszkowiak
dcf1375e6f LoadSpritesheets: decrease the verboseness of logs in non-debug mode 2018-07-05 01:03:45 +02:00
Sebastian Krzyszkowiak
a29c7b4d2c fix clang-tidy issues 2018-07-04 19:08:39 +02:00
Sebastian Krzyszkowiak
9266ab65b6 cmake: don't use clang-tidy on MinGW
It doesn't work well.
2018-07-04 18:51:52 +02:00
Sebastian Krzyszkowiak
e491a78cbd cmake: detect static version of Allegro 2018-07-04 18:51:26 +02:00
Sebastian Krzyszkowiak
4d5fdcffbb character: add more logging on spritesheet loading 2018-07-04 06:55:48 +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
c2f6aa73cd utils: add Sign function 2018-07-03 04:22:30 +02:00
Sebastian Krzyszkowiak
7b93ced844 it's libsuperderpy 2 now 2018-07-03 04:22:12 +02:00