Commit graph

707 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
fbedd1c7e7
some stuff blocked by allegro bugs 2018-11-02 06:10:34 +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
f922ffe997
android: log into logcat 2018-11-02 06:07:49 +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
b67d146cdb
maemo: rewrite mouse events into touch ones 2018-10-30 18:05:54 +01:00
Sebastian Krzyszkowiak
a73e780668
Maemo support 2018-10-30 09:04:21 +01:00
Sebastian Krzyszkowiak
2299cacc16
android: use LIBSUPERDERPY_APPID as the package name and net.dosowisko.libsuperderpy.Activity as activity name 2018-10-30 02:17:35 +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
e12bc10840
cmake: add an option to build libsuperderpy as a static library
Might be useful when packaging games for distribution repositories.
2018-10-23 03:53:54 +02:00
Sebastian Krzyszkowiak
ded00145ed
Add ODLOT to the README 2018-10-15 13:41:43 +02:00
Sebastian Krzyszkowiak
7c30291d95
Load shaders created before libsuperderpy_start already when starting 2018-10-11 06:15:07 +02:00
Sebastian Krzyszkowiak
ca02e4ed2a
Re-disable randomness-related diagnostics in clang-tidy
MinGW does not contain srandom/random by default.
2018-10-10 22:30:27 +02: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
c5fcba57cb
Fix a segfault when there's no postdraw handler 2018-09-10 03:12:19 +02:00
Sebastian Krzyszkowiak
9580873b16
emscripten: adjust to support proper builds with all dependencies 2018-09-06 04:29:16 +02:00
Sebastian Krzyszkowiak
b14347bd96
osxcross64.toolchain: add CMAKE_OSX_SYSROOT for compatibility with older cmakes 2018-08-10 07:58:25 +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
b3a9186c6a
character: don't include frame offset in character's transform
Fixes handling of subcharacters.
2018-08-05 04:27:26 +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
1f71f03ef8
add LIBSUPERDERPY_GAME_GIT_REV define for game's git revision 2018-08-05 00:50:54 +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
Sebastian Krzyszkowiak
0c5fee3cbb
character: apply spritesheet offset after scaling and rotating
I'm not 100% sure yet, but I think this makes more sense.
2018-08-04 03:21:55 +02:00
Sebastian Krzyszkowiak
7bde25fe84 add a public field with in-game total passed time 2018-08-03 13:15:06 +02:00
Sebastian Krzyszkowiak
341aa1d823 character: add ability to specify per-frame color tint 2018-08-03 05:26:28 +02:00
Sebastian Krzyszkowiak
093a808dc2 character: reuse already loaded bitmaps 2018-08-03 05:02:44 +02:00
Sebastian Krzyszkowiak
05c75a9437 init: set app name as window title by default 2018-08-03 01:39:05 +02:00
Sebastian Krzyszkowiak
b60bcfda54 character: support sub-characters (characters positioned relatively to parent character) 2018-08-02 23:32:03 +02:00
Sebastian Krzyszkowiak
c7fbf08e12 android: update default target per recent google play requirements and add explicit supports-screens tag 2018-08-01 20:21:47 +02:00
Sebastian Krzyszkowiak
a730281bb8 add QuitGame function for quiting or sending game to the background (depending on the platform) 2018-07-31 21:25:07 +02:00
Sebastian Krzyszkowiak
8ff2a57b64 fix broken fullscreen toggle on Windows 2018-07-30 17:00:31 +02:00
Sebastian Krzyszkowiak
c337e3435f character: add ability to specify spritesheet wide pixel offset 2018-07-29 00:41:14 +02:00
Sebastian Krzyszkowiak
3c3730f9d5 maths: Sign can return an integer 2018-07-26 17:41:31 +02:00
Sebastian Krzyszkowiak
f215bc0c83 mute audio by setting main mixer gain to 0.0
using al_set_mixer_playing causes high CPU usage for some reason
2018-07-26 16:19:32 +02:00
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