Commit graph

743 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
62316e50c2 cmake: change register_gamestate API to take explicit list of source files 2018-05-16 20:51:38 +02:00
Sebastian Krzyszkowiak
b0d2c59596 add SwitchSpritesheet 2018-04-26 14:34:00 +02:00
Sebastian Krzyszkowiak
396e07a0ce DrawCenteredTintedScaled 2018-04-24 22:06:06 +02:00
Sebastian Krzyszkowiak
34a36c2038 DrawCenteredScaled 2018-04-24 05:01:59 +02:00
Sebastian Krzyszkowiak
80f59dd749 tween: add function to just interpolate the value, without using Tween object 2018-04-23 03:24:13 +02:00
Sebastian Krzyszkowiak
0f14629a15 Introducing the tweening engine. 2018-04-22 05:30:56 +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
a9c318dd78 loading: call Gamestate_Logic 2018-04-21 00:11:34 +02:00
Sebastian Krzyszkowiak
0af3d8b1d0 ResumeExecution: guard against open/link failure on live reload 2018-04-18 23:14:05 +02:00
Sebastian Krzyszkowiak
08d2e544b7 character: read width/height values from ini file 2018-04-18 23:13:31 +02:00
Sebastian Krzyszkowiak
3938a78503 live reloading 2018-04-16 01:06:58 +02:00
Sebastian Krzyszkowiak
60b960ab2c character: use Spritesheet structs instead of strings with names in callbacks 2018-04-15 23:00:53 +02:00
Sebastian Krzyszkowiak
c77c91e570 character: add GetSpritesheet for getting struct by name 2018-04-15 23:00:17 +02:00
Sebastian Krzyszkowiak
c9efd7afe2 character: don't animate hidden characters 2018-04-15 22:59:42 +02:00
Sebastian Krzyszkowiak
c3adf398b1 character: support non-repeating animations (stopping at the last frame) 2018-04-13 03:00:54 +02:00
Sebastian Krzyszkowiak
4240b47380 DestroyCharacter: print to console when the destroyed character is shared 2018-04-10 14:05:03 +02:00
Sebastian Krzyszkowiak
d017956442 IsOnCharacter: support flipped characters 2018-04-10 05:18:29 +02:00
Sebastian Krzyszkowiak
88b4399cae character: fix character placement and flipping when drawing 2018-04-08 01:35:31 +02:00
Sebastian Krzyszkowiak
a8b57934db Fix the unfamous Fajer crashing issue 2018-04-08 01:34:43 +02:00
Sebastian Krzyszkowiak
d4b2e1c65a utils: rename Clip to Clamp, add Wrap 2018-04-08 01:34:26 +02:00
Sebastian Krzyszkowiak
7f420f62ad Fixes for spritesheet handling 2018-04-08 01:34:06 +02:00
Sebastian Krzyszkowiak
adb15a9caf libsuperderpy: init video addon 2018-04-08 01:33:13 +02:00
Sebastian Krzyszkowiak
df536baa32 character: save transform to character struct for easier handling by auxiliary helpers 2018-03-21 02:15:34 +01:00
Sebastian Krzyszkowiak
d88162cab4 spritesheets: support for predecessors and reversed animations 2018-03-21 02:05:22 +01:00
Sebastian Krzyszkowiak
f097ddc54a display frame duration along with the fps counter 2018-03-20 23:49:22 +01:00
Sebastian Krzyszkowiak
b31d093e8c New spritesheets 2018-03-20 21:39:37 +01:00
Sebastian Krzyszkowiak
e58fbdb560 Add a few utils from Rumina 2018-03-20 21:38:50 +01:00
Sebastian Krzyszkowiak
8d0df727cb fix gameplay speed 2018-03-20 21:38:34 +01:00
Sebastian Krzyszkowiak
c85381644c rumina hacks 3 2018-03-15 00:46:52 +01:00
Sebastian Krzyszkowiak
aa1f7f3ab9 General Characters refactor 2018-03-15 00:42:24 +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
Sebastian Krzyszkowiak
686dab729a Remove ALLEGRO_RENDER_METHOD sanity check
See liballeg/allegro5#887
2018-03-03 20:50:50 +01:00
Sebastian Krzyszkowiak
e29c8971b5 Add Zenek i Gienek to the README 2018-03-03 20:35:51 +01:00
Sebastian Krzyszkowiak
bb9bb692fe config: fix compilation on MinGW 2018-03-03 20:31:44 +01:00
Sebastian Krzyszkowiak
4ca0e94277 add a mention about TBA game Rumina to the README :) 2018-02-09 04:08:45 +01:00
Sebastian Krzyszkowiak
1ac8491396 DrawConsole: use deferred bitmap drawing to speed up text rendering 2018-02-03 03:54:01 +01:00
Sebastian Krzyszkowiak
fc37ec592e Add bunch of debug output on launch 2018-02-03 03:53:52 +01:00
Sebastian Krzyszkowiak
52fbb86d2f Add pre/post logic/draw handlers 2018-02-03 03:39:30 +01:00
Sebastian Krzyszkowiak
c6b71f1686 Add delta parameter to Gamestate_Logic calls 2018-02-03 03:37:44 +01:00
Sebastian Krzyszkowiak
749bb1ef50 character: add ability to set the size of the confines
Useful when the size of the canvas being drawn to is different
than the size of the viewport (default confine).
2018-02-03 03:17:36 +01:00
Sebastian Krzyszkowiak
cb4b9638c8 utils: add missing new lines to debug/error output 2018-01-21 03:18:51 +01:00
Sebastian Krzyszkowiak
5e37e95ef9 README: add Mouse Sensitivity 2018-01-20 03:01:26 +01:00
Sebastian Krzyszkowiak
0cfef4ddca BSOD: fix placement of the second-last line 2018-01-20 02:51:37 +01:00
Sebastian Krzyszkowiak
e2d9d21f3f BSOD: fix formatting and warnings 2018-01-20 02:45:06 +01:00
Sebastian Krzyszkowiak
18efca478e FatalError: print the error message to stderr
Printing to console outputs it to stdout, but only if
debug mode is enabled. stderr seems better suited too.
2018-01-20 02:24:33 +01:00
suve
2848753083 Use left-align for the wrapped error messages 2017-12-17 15:00:02 +01:00
suve
af53d1378f Wrap long messages in FatalError() 2017-12-17 14:58:03 +01:00
suve
705f84cbf1 Reduce code redundancy in FatalError() 2017-12-17 14:19:24 +01:00
Sebastian Krzyszkowiak
1f96d6f364 add SUPERSHOD HD 2017-11-21 18:19:20 +01:00