Commit graph

115 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
93859232d9 Fix GCC warnings 2018-06-30 01:50:29 +02:00
Sebastian Krzyszkowiak
291e4c73d6 use al_reset_clipping_rectangle for clarity 2018-06-03 03:39:28 +02:00
Sebastian Krzyszkowiak
9182cabf79 Add abstraction for GPU shaders 2018-05-30 21:11:46 +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
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
e58fbdb560 Add a few utils from Rumina 2018-03-20 21:38:50 +01:00
Sebastian Krzyszkowiak
c85381644c rumina hacks 3 2018-03-15 00:46:52 +01:00
Sebastian Krzyszkowiak
ae70770f77 rumina hacks 2018-03-15 00:42:24 +01:00
Sebastian Krzyszkowiak
cb4b9638c8 utils: add missing new lines to debug/error output 2018-01-21 03:18:51 +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
499e884a62 commit Fajer's legacy, so it won't be forgotten 2017-10-30 21:22:49 +01:00
Sebastian Krzyszkowiak
a4ec09d9cd updated .gitignore, code-cosmetics 2017-10-30 21:17:47 +01:00
Sebastian Krzyszkowiak
56ea82d526 GetDataFilePath: change order of lookup paths and remove "../data" 2017-09-20 18:13:49 +02:00
Sebastian Krzyszkowiak
8cfde8c55f SUPPRESS_WARNING macro 2017-09-10 22:37:02 +02:00
Sebastian Krzyszkowiak
bf4aa069a4 don't use empty initializers (it's a GNU extension) 2017-09-10 22:07:02 +02:00
Sebastian Krzyszkowiak
2b1248ce14 clang-tidy support; clang-tidy and clang-format fixes 2017-09-10 21:35:14 +02:00
Sebastian Krzyszkowiak
450e33b2e3 support of loading in separate thread; thread-safe console; various fixes from clang code model warnings 2017-09-09 00:11:43 +02:00
Sebastian Krzyszkowiak
f94930b5d5 PrintConsole: restore previous target bitmap instead of reseting to backbuffer 2017-09-04 16:02:49 +02:00
Sebastian Krzyszkowiak
3581c6060c full emscripten support, plus flac->ogg encoding for emscripten and android 2017-08-24 21:09:07 +02:00
Sebastian Krzyszkowiak
a955820e8f emscripten support 2017-08-24 00:51:58 +02:00
Sebastian Krzyszkowiak
b7346ea330 use leak sanitizer for debug build and break the build in case of unresolved symbols in libraries 2017-08-19 01:26:53 +02:00
Sebastian Krzyszkowiak
b4b0403a77 GetDataFilePath: add ability to mask data files with android specific versions 2017-08-08 00:16:03 +02:00
Sebastian Krzyszkowiak
e9bd4eefa5 update license to GPLv3+ 2017-07-22 18:22:28 +02:00
Sebastian Krzyszkowiak
d3f876097f add CreateNotPreservedBitmap helper 2017-06-13 14:21:17 +02:00
Sebastian Krzyszkowiak
fdd48433bc gamestate reloading and fix for calling Gamestate_Pause/Gamestate_Resume 2016-11-11 19:38:26 +01:00
Sebastian Krzyszkowiak
4ecb7e71de revamp letterbox and scaling code and add WindowCoordsToViewport util function 2016-11-08 23:28:28 +01:00
Sebastian Krzyszkowiak
a4ce032c8b don't crash on devices with no touchscreen 2016-11-08 17:56:19 +01:00
Sebastian Krzyszkowiak
4d749b3ad1 make screen rotation working on Android
libsuperderpy now requires Allegro 5.2.2 for Android
2016-11-08 17:42:23 +01:00
Sebastian Krzyszkowiak
51590d9788 fix blinking borders outside clipping rectangle 2016-11-08 10:34:32 +01:00
Sebastian Krzyszkowiak
ce4b474b5a fix aspect ratio letterboxing on automatic resolution 2016-10-21 12:49:24 +02:00
Sebastian Krzyszkowiak
fc9317d215 add DrawWrappedTextWithShadow 2016-09-08 01:42:48 +02:00
Sebastian Krzyszkowiak
f7362d3d74 added DrawWrappedText, some clean up 2016-09-08 00:32:57 +02:00
Sebastian Krzyszkowiak
9c414991dd SetupViewport: clear both backbuffer and fontbuffer on setup 2016-09-06 01:47:46 +02:00
Sebastian Krzyszkowiak
96a33c1a37 make windowed display resizable and try to fix flickering border around the viewport 2016-09-02 00:07:43 +02:00
Sebastian Krzyszkowiak
af6636009e make viewport configurable 2016-08-23 02:13:15 +02:00
Sebastian Krzyszkowiak
1afc4a3f31 don't create and destroy bitmap on every PrintConsole call 2016-08-16 23:20:00 +02:00
Sebastian Krzyszkowiak
51b08cee76 move SetupViewport to utils 2016-08-15 04:41:54 +02:00
Sebastian Krzyszkowiak
6bf5fc493b garbage collector for util functions returning strings that are usually used as function params
because why not :D
2016-08-15 04:37:27 +02:00
Sebastian Krzyszkowiak
fc44fd2d5a better symbol visibility handling 2016-07-04 01:12:55 +02:00
Sebastian Krzyszkowiak
617f9c0270 reorganize source files a bit 2016-07-04 00:56:45 +02:00
Sebastian Krzyszkowiak
c964f72d66 make it buildable by clang; adjust function visibility 2016-07-04 00:06:50 +02:00
Sebastian Krzyszkowiak
ffd44df08b split libsuperderpy function to _init, _run and _destroy 2016-07-03 22:38:36 +02:00
Sebastian Krzyszkowiak
b8008d2872 librarization clean up 2016-07-03 00:43:32 +02:00
Sebastian Krzyszkowiak
a8475eb99b librarify! 2016-07-02 23:23:08 +02:00
Sebastian Krzyszkowiak
0a6b70f72e clean up and generalize 2016-06-28 00:17:49 +02:00
Sebastian Krzyszkowiak
2544d94156 import Mediator codebase 2016-06-27 21:21:59 +02:00
Sebastian Krzyszkowiak
2e79fe8f7b import Tickle Monster codebase 2016-06-27 21:20:36 +02:00
Sebastian Krzyszkowiak
46827594b4 import Radio Edit codebase 2016-06-27 21:20:02 +02:00
Sebastian Krzyszkowiak
feef69ce03 update docs 2015-03-15 20:51:56 +01:00
Sebastian Krzyszkowiak
e4553576ce add dosowisko.net intro logo 2015-03-15 05:38:15 +01:00
Sebastian Krzyszkowiak
69966ada03 working all moonwalk levels, compiling dodger module (not usable yet), some small tweaks and fixes 2013-06-03 00:42:33 +02:00
Sebastian Krzyszkowiak
840202f758 AdvanceLevel implementation; sprintf hardening 2013-02-25 01:39:41 +01:00
Sebastian Krzyszkowiak
c39fea9c98 make fonts sharper (integer positioning) 2012-12-28 03:08:36 +01:00
Sebastian Krzyszkowiak
dd29fc6f5b Blue Screen of Death 2012-12-28 02:55:52 +01:00
Sebastian Krzyszkowiak
b39ec719be bring back support for loading progress 2012-12-28 00:00:37 +01:00
Sebastian Krzyszkowiak
1e901cf51b bring back Intro gamestate 2012-12-26 23:48:05 +01:00
Sebastian Krzyszkowiak
232cc6a204 initial support of run-time loading gamestates as dynamic libraries 2012-12-26 02:25:56 +01:00
Sebastian Krzyszkowiak
e29382b5dc Remove everything!
Engine should be now clean from gamestate dependences.
The next thing will be implementing dynamic gamestate loading.
2012-12-24 19:41:12 +01:00