Sebastian Krzyszkowiak
|
7d816e28ef
|
emscripten: fix fullscreen with fixed_size param
|
2019-12-09 02:02:50 +01:00 |
|
Sebastian Krzyszkowiak
|
3c0f104add
|
TestDataFilePath: handle /usr/share/games/ data path
This makes it work with proper Debian packages.
|
2019-11-11 21:24:43 +01:00 |
|
Sebastian Krzyszkowiak
|
7cca01b4b8
|
utils: improve docs and const correctness
|
2019-10-01 23:05:30 +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
|
c724a490fb
|
formal Pocket C.H.I.P support
|
2019-05-13 23:51:07 +02:00 |
|
Sebastian Krzyszkowiak
|
c480289123
|
cmake: rework asset compression pipeline a bit
|
2019-04-29 03:11:55 +02:00 |
|
Sebastian Krzyszkowiak
|
db0d8da708
|
utils: add FindDataFilePath, which just returns NULL on failure
|
2019-03-29 20:53:45 +01:00 |
|
Sebastian Krzyszkowiak
|
993e9884e6
|
adjust to clang-tidy 8.0
|
2019-03-29 03:24:36 +01:00 |
|
Sebastian Krzyszkowiak
|
cdc99444e0
|
fix clang-analyzer warnings and reformat
|
2019-03-26 04:31:24 +01:00 |
|
Sebastian Krzyszkowiak
|
c7ebc51f16
|
move SetupViewport to internal functions
|
2019-03-05 03:42:59 +01:00 |
|
Sebastian Krzyszkowiak
|
151e11d371
|
utils: add ToggleFullscreen and ToggleMute
|
2019-03-05 03:42:25 +01:00 |
|
Sebastian Krzyszkowiak
|
c93c22cf04
|
make Gamestate structure private and add API for accessing it
|
2019-03-05 03:20:06 +01:00 |
|
Sebastian Krzyszkowiak
|
ae9cf19778
|
utils: Push/PopTransform functions for easier transforming
|
2019-02-26 18:14:19 +01:00 |
|
Sebastian Krzyszkowiak
|
b84727bff0
|
utils: add transform-aware clipping rectangle functions
|
2019-02-26 01:59:49 +01:00 |
|
Sebastian Krzyszkowiak
|
45d36870ad
|
PrintConsole: print current time when in verbose mode
|
2019-01-17 02:42:33 +01:00 |
|
Sebastian Krzyszkowiak
|
a6b6062be4
|
recompress flac to opus and images to lossy webp for emscripten and android builds, with asset cache
|
2019-01-13 18:45:17 +01:00 |
|
Sebastian Krzyszkowiak
|
1334fc6b1d
|
fix a NULL pointer dereference in ResizeGamestates
|
2019-01-11 15:25:24 +01:00 |
|
Sebastian Krzyszkowiak
|
9006427278
|
clean up a duplicated framebuffer of the loading gamestate
|
2019-01-11 12:28:08 +01:00 |
|
Sebastian Krzyszkowiak
|
8c7068b48d
|
PrintConsole: use emscripten_log; don't use printf on Android and Emscripten; unify outputs
|
2019-01-10 02:32:23 +01:00 |
|
Sebastian Krzyszkowiak
|
db096e7e97
|
GetDataFilePath: add "maemo5" directory handling similar to what's already done for android
|
2018-12-18 13:19:16 +01:00 |
|
Sebastian Krzyszkowiak
|
df1790d242
|
doxygen tweaks
|
2018-12-16 15:15:38 +01:00 |
|
Sebastian Krzyszkowiak
|
09e6b321b6
|
streamline the ability to access internal fields a bit
|
2018-12-15 05:29:32 +01:00 |
|
Sebastian Krzyszkowiak
|
b9b231a438
|
put debug config into public config struct
|
2018-12-15 01:09:44 +01:00 |
|
Sebastian Krzyszkowiak
|
ce66ba8060
|
reorganize Game structure, deprecate access to _priv fields
|
2018-12-15 00:59:34 +01:00 |
|
Sebastian Krzyszkowiak
|
d8f975300d
|
PrintConsole/DrawConsole: guard console data usage with mutexes
|
2018-12-14 02:18:05 +01:00 |
|
Sebastian Krzyszkowiak
|
4f438400fb
|
TestDataFilePath: accomodate also QtCreator's build directories
|
2018-12-13 03:56:23 +01:00 |
|
Sebastian Krzyszkowiak
|
f1933fc7ba
|
GetDataFilePath: support launching straight from the build directory
|
2018-12-11 01:20:57 +01:00 |
|
Sebastian Krzyszkowiak
|
ee058b439a
|
more warnings fixed
|
2018-12-11 00:54:43 +01:00 |
|
Sebastian Krzyszkowiak
|
5fcb55591c
|
fix cppcheck warnings
|
2018-12-11 00:26:51 +01:00 |
|
Sebastian Krzyszkowiak
|
f82dc24a88
|
don't use warning suppression on Maemo
"#pragma GCC diagnostic not allowed inside functions"
|
2018-12-08 06:27:51 +01:00 |
|
Sebastian Krzyszkowiak
|
178b45968d
|
utils: fix DrawCentered* function to take float for bitmap position
|
2018-12-02 03:16:12 +01:00 |
|
Sebastian Krzyszkowiak
|
2179d6cdc2
|
synchronize with the main thread on BSoD
|
2018-12-02 00:26:33 +01:00 |
|
Sebastian Krzyszkowiak
|
a961845698
|
code model, clang-tidy related tweaks and fixes
|
2018-11-30 04:20:35 +01:00 |
|
Sebastian Krzyszkowiak
|
c8ee56fc2c
|
utils: add StrToLower and StrToUpper functions
|
2018-11-30 02:45:39 +01:00 |
|
Sebastian Krzyszkowiak
|
9611be3267
|
add ClearToColor util for clearing whole target bitmap, not just the clipping rectangle
Clearing the clipping rectangle can be very costly, while clearing a whole texture is often free.
|
2018-11-27 02:50:16 +01:00 |
|
Sebastian Krzyszkowiak
|
9ecd29a7c3
|
include allegro_color and platform specific headers already in libsuperderpy.h, clean up
|
2018-11-26 01:40:19 +01:00 |
|
Sebastian Krzyszkowiak
|
6c59ef1049
|
add support for routing the loading gamestate through compositor
|
2018-11-22 04:53:51 +01:00 |
|
Sebastian Krzyszkowiak
|
7f7c522b3c
|
make SetFramebufferAsTarget work also for the loading gamestate
|
2018-11-22 03:40:41 +01:00 |
|
Sebastian Krzyszkowiak
|
f922ffe997
|
android: log into logcat
|
2018-11-02 06:07:49 +01:00 |
|
Sebastian Krzyszkowiak
|
d20b81d104
|
update clang-tidy diagnostics
|
2018-10-10 21:37:54 +02:00 |
|
Sebastian Krzyszkowiak
|
7d4575308d
|
add config switches for various debug options
|
2018-08-09 00:05:25 +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
|
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
|
98eaf73f8c
|
utils: add PunchNumber utility
|
2018-07-18 01:49:19 +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
|
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
|
a29c7b4d2c
|
fix clang-tidy issues
|
2018-07-04 19:08:39 +02:00 |
|
Sebastian Krzyszkowiak
|
c2f6aa73cd
|
utils: add Sign function
|
2018-07-03 04:22:30 +02:00 |
|