Sebastian Krzyszkowiak
|
df06ff2773
|
android: Mark the activity as exported
This is a requirement in newer API levels.
|
2024-03-04 22:53:14 +01:00 |
|
Sebastian Krzyszkowiak
|
cb010d9e84
|
android: Switch the default target API level to 33
|
2024-03-04 22:53:10 +01:00 |
|
Sebastian Krzyszkowiak
|
566d8d9cd3
|
Add a GitLab CI pipeline
Builds with clang-tidy and runs tests.
|
2023-11-02 07:44:31 +01:00 |
|
Sebastian Krzyszkowiak
|
7be786b88f
|
emscripten: Handle fullscreen toggling manually
Works better than SDL's own handling thanks to our shell.
|
2023-11-02 07:43:43 +01:00 |
|
Sebastian Krzyszkowiak
|
01423ead90
|
emscripten: Add a custom HTML shell file
|
2023-11-02 07:42:49 +01:00 |
|
Sebastian Krzyszkowiak
|
402544546c
|
cmake: Fix EMTERPRETIFY_WHITELIST definition
|
2023-11-02 07:42:22 +01:00 |
|
Sebastian Krzyszkowiak
|
e5ba177910
|
cmake: Enable assertions for Emscripten Debug builds
|
2023-11-02 07:42:01 +01:00 |
|
Sebastian Krzyszkowiak
|
f927cb94e9
|
emscripten: Dispatch resize event on boot
Workarounds invalid hidpi detection on launch.
|
2023-11-02 07:41:08 +01:00 |
|
Sebastian Krzyszkowiak
|
f8213e73fa
|
emscripten: Dispatch hideLoading JS function before starting the mainloop
|
2023-11-02 07:40:39 +01:00 |
|
Sebastian Krzyszkowiak
|
11cd2eb6ce
|
cmake: Set the target version
|
2023-11-02 07:40:02 +01:00 |
|
Sebastian Krzyszkowiak
|
7c8466614c
|
.clang-tidy: Disable a few more checks
|
2023-11-02 07:39:45 +01:00 |
|
Sebastian Krzyszkowiak
|
1d0f4586e7
|
cmake: test: Allow building tests as standalone project
|
2023-11-02 07:39:27 +01:00 |
|
Sebastian Krzyszkowiak
|
f98eb9eb70
|
tests: Return early if initialization fails
|
2023-11-02 07:39:10 +01:00 |
|
Sebastian Krzyszkowiak
|
7131334d6a
|
gamestate: Add GetGamestateName function
|
2023-04-13 04:03:11 +02:00 |
|
Sebastian Krzyszkowiak
|
1d569e9913
|
tests: Fix memory leaks in Character tests
|
2022-07-29 17:08:01 +02:00 |
|
Sebastian Krzyszkowiak
|
67b6a763c3
|
Fix null pointer dereferences found by clang-tidy
|
2022-07-29 17:07:36 +02:00 |
|
Sebastian Krzyszkowiak
|
5cecd78234
|
utils: DrawFullscreen: Initialize variables
Not strictly necessary as they're set by al_get_clipping_rectangle,
but makes clang-tidy happy.
|
2022-07-29 17:07:22 +02:00 |
|
Sebastian Krzyszkowiak
|
a0d497b5b8
|
Update clang-tidy config
|
2022-07-29 17:06:32 +02:00 |
|
Sebastian Krzyszkowiak
|
79400c4705
|
cmake: Use file(COPY ...) to install Android project files
Otherwise gradlew ends up without executable permission.
|
2022-07-28 21:57:57 +02:00 |
|
Sebastian Krzyszkowiak
|
901d43a520
|
Don't install data file overrides of unrelated platforms
|
2022-07-28 21:39:55 +02:00 |
|
Sebastian Krzyszkowiak
|
dd35960724
|
utils: Set <body> background in SetBackgroundColor on Emscripten
|
2022-07-28 21:39:09 +02:00 |
|
Sebastian Krzyszkowiak
|
ca1cbc19b7
|
utils: PopTransform: Guard against negative indexes
|
2022-07-21 08:46:08 +02:00 |
|
Sebastian Krzyszkowiak
|
84c56bb12b
|
character: Allow to set global scale in spritesheet definition
|
2022-07-21 08:46:08 +02:00 |
|
Sebastian Krzyszkowiak
|
015b9dbaff
|
utils: Add DrawFullscreen function
|
2022-07-21 08:46:08 +02:00 |
|
Sebastian Krzyszkowiak
|
6d7f6c6450
|
params: Add an option to not hide system cursor; toggle cursor with fullscreen
|
2022-07-21 06:42:07 +02:00 |
|
Sebastian Krzyszkowiak
|
f68eab53f7
|
libsuperderpy: Always hide cursor on PocketCHIP
|
2022-07-21 06:32:02 +02:00 |
|
Sebastian Krzyszkowiak
|
a710541e4e
|
libsuperderpy: Allow to set custom background color via params
|
2022-07-21 06:02:37 +02:00 |
|
Sebastian Krzyszkowiak
|
73d9dde2a6
|
utils: Add Steam Link override to FindDataFilePath
|
2022-07-21 06:02:37 +02:00 |
|
Sebastian Krzyszkowiak
|
3bf4a88ce6
|
utils: Add Raspberry Pi override to FindDataFilePath
|
2022-07-21 06:02:37 +02:00 |
|
Sebastian Krzyszkowiak
|
9560744930
|
config: Catch exceptions from localStorage usage
localStorage may not be available e.g. in incognito sessions.
|
2022-07-20 23:17:51 +02:00 |
|
Sebastian Krzyszkowiak
|
8e57250047
|
cmake: Define RASPBERRYPI macro on Raspberry Pi builds
|
2022-07-20 06:48:52 +02:00 |
|
Sebastian Krzyszkowiak
|
1e90740241
|
3rdparty: Update Allegro submodule for SDL touch fix
|
2022-07-20 01:45:05 +02:00 |
|
Sebastian Krzyszkowiak
|
e27ebd4618
|
mainloop: Fix up controller sticks and axes also on SDL builds for GNU/Linux
|
2022-07-19 05:04:47 +02:00 |
|
Sebastian Krzyszkowiak
|
7094ce5b95
|
config: Default to windowed 480x273 on PocketCHIP
Fullscreen windows have some issues with its driver.
|
2022-07-19 00:58:58 +02:00 |
|
Sebastian Krzyszkowiak
|
c75ef0b72c
|
Relicense to GNU Lesser General Public License 3.0 or later
|
2022-07-18 19:52:55 +02:00 |
|
Sebastian Krzyszkowiak
|
6ab0746181
|
character: Add missing SYMBOL_EXPORTs
|
2022-07-18 03:02:42 +02:00 |
|
Sebastian Krzyszkowiak
|
8e4dfa3884
|
maths: Provide MIN and MAX macros if not available
|
2022-07-18 02:56:43 +02:00 |
|
Sebastian Krzyszkowiak
|
4eb5903b11
|
DrawConsole: Make sure to reset clipping rectangle before drawing
|
2022-07-18 00:08:34 +02:00 |
|
Sebastian Krzyszkowiak
|
17d994b817
|
character: Add a way to bound character movement
|
2022-07-17 23:46:48 +02:00 |
|
Sebastian Krzyszkowiak
|
a4a9413134
|
internal: Set target bitmap and reset clipping rectangle for PreDraw handler
|
2022-07-17 22:20:39 +02:00 |
|
Sebastian Krzyszkowiak
|
6f03021d9e
|
internal: Improve current_gamestate handling
Make sure that it's set to the loading gamestate when appropriate,
and NULL it afterwards.
|
2022-07-17 19:59:40 +02:00 |
|
Sebastian Krzyszkowiak
|
992d827daf
|
character: Add ability to specify a spritesheet's hitbox area
|
2022-07-17 19:36:56 +02:00 |
|
Sebastian Krzyszkowiak
|
99e49129be
|
gamestates-stub: Fix PreDraw not being included in the stub
|
2022-07-17 05:07:21 +02:00 |
|
Sebastian Krzyszkowiak
|
721f222774
|
character: Handle negative offsets in IsOnCharacter
|
2022-07-17 04:42:35 +02:00 |
|
Sebastian Krzyszkowiak
|
2e6048e14e
|
character: Only use positive offsets when calculating spritesheet size
|
2022-07-17 04:39:44 +02:00 |
|
Sebastian Krzyszkowiak
|
d87d4fd306
|
character: Move spritesheet/frame flipping outside of character transform
This way it doesn't influence child characters.
|
2022-07-17 04:35:28 +02:00 |
|
Sebastian Krzyszkowiak
|
6a8cdc31e6
|
character: Move spritesheet offset handling out of transform matrix
This way it doesn't influence child character's positions.
Also, take offset into account when calculating size.
|
2022-07-17 04:30:22 +02:00 |
|
Sebastian Krzyszkowiak
|
ac2f94f242
|
maths: Add Distance function
|
2022-07-17 03:58:58 +02:00 |
|
Sebastian Krzyszkowiak
|
9dd7960584
|
character: Don't check for frame_count == 1 in AnimateCharacter
If this is needed, there's a bug somewhere that needs to be fixed.
|
2022-07-17 03:58:58 +02:00 |
|
Sebastian Krzyszkowiak
|
8fe925f30d
|
character: Fix handling of one frame spritesheets with bidir
|
2022-07-17 03:58:58 +02:00 |
|