kichikuou
7b8acd6e05
Use lowercase s[a-z].asd in Android and Emscripten
...
To make sure that save files created in older versions can be loaded.
2024-04-11 09:10:39 +09:00
kichikuou
1b13e331e4
emscripten: Enable msgskip in initGameResourceFromDir()
...
This is in preparation to stop using xsystem35.gr in Kichikuou on Web,
without changing the current behavior.
2024-04-11 09:00:42 +09:00
kichikuou
16e7d3baf1
Add -savedir option
...
It allows specifying a save directory without writing a game resource
file.
2024-04-10 14:37:21 +09:00
kichikuou
6d70439dff
Change how save file names are determined when no .gr file is specified
...
If `?sleep.asd` already exist, use them. Otherwise use `*s?.asd` as in
System3x.exe.
2023-03-18 09:51:51 +09:00
kichikuou
bc06099e01
Show message box on fatal error
...
Now sys_error() shows error message using a SDL message box, so that
user can see the message on Windows / Android.
2021-10-26 21:41:34 +09:00
kichikuou
a159e7cb24
Show error instead of SEGV when System39.ini is missing
...
See #18 .
2021-03-08 09:38:46 +09:00
kichikuou
4b002c676c
Support skip-seen-messages feature in pre-system3.9 games
...
This adds functionality equivalent to the MsgSkip module, for older
games. It is enabled if "MsgSkip" file is specified in the game resource
file.
Since messages in pre-system3.9 games don't have IDs, it uses a Bloom
filter to test whether a message has been already seen or not.
2020-12-23 14:08:02 +09:00
kichikuou
07f8f8a5f8
initGameResourceFromDir: Stop prepending CWD to filenames
2020-07-25 14:48:41 +09:00
kichikuou
b4c729a1f6
initGameResourceFromDir: Detect non-{ald,ain} files too
...
Now BGI, WAI and other files can be used without writing a .gr file.
2020-07-12 12:09:01 +09:00
kichikuou
daf5098530
Add test for initGameResourceFromDir
2020-07-12 11:46:39 +09:00
kichikuou
3d70d00bce
Add unit test for gameresource.c
2020-07-11 19:12:45 +09:00
kichikuou
f2fbf54c32
Move registerGameFiles to xsystem35.c
2020-07-11 18:34:27 +09:00
kichikuou
b4d2c0832e
Clean up gameresource.c
2020-07-11 18:34:24 +09:00
kichikuou
d777b18b55
Game Resource: Allow file names containing spaces
2020-07-11 18:23:39 +09:00
kichikuou
7b3efd9aaa
Move *.gr reader code to gameresource.c
2020-07-11 18:22:05 +09:00