Commit Graph
23 Commits
Author SHA1 Message Date
kichikuou 387c5febf2 Remove tchar.h shim 2020-02-16 15:57:05 +09:00
kichikuou 487bd49745 CD-DA BGM playback support with SDL_mixer
This adds -playlist command line option to specify a "playlist" file
which lists music files to be played instead of CD audio tracks.
The format of playlist file is the same as xsystem35's.
2020-02-15 17:27:37 +09:00
kichikuou 2d0619a19a Android: Store saved files under game-id/ subdirectory
This is to prevent overwriting saved files of other games, since System3
uses common save file names regardless of the game.
2020-02-10 13:09:07 +09:00
kichikuou 8615df6e12 Add -game option
This overrides the title detection by CRC. For example,

  system3 -game rance41

forces system3 to work in Rance 4.1 mode. See nact_crc32.cpp for
possible flag values. This is useful when running patched games.
2020-02-10 12:14:18 +09:00
kichikuou 55e6dde4f8 Android: Fix screen issues
- Create window as fullscreen
- Redraw screen after task resume
2020-02-09 21:47:07 +09:00
kichikuou f4ff96ac62 Android: Fix launcher to work with system3 files
Unlike xsystem35, directory structure in ZIP is not preserved.
2020-02-09 21:47:07 +09:00
kichikuou 358ea7b1a9 Android: Add simple launcher
This adds a minimal launcher activity for the android app, which does
the followings:

- Opens a file chooser to let user select a zip file
- Extracts the zip into the app's internal storage
- Launches the SDL activity
2019-12-31 21:17:39 +09:00
kichikuou e3c812da3a Android: Load fonts from assets
Now fonts/ directory is bundled in APK as assets. TTF_OpenFont() can
open files in Android assets, but cannot handle the "./" path prefix.
2019-12-31 21:17:36 +09:00
kichikuou 874f6bae5b Bundle MTLc3m.ttf 2019-12-27 14:57:54 +09:00
kichikuou e417118713 Add -fontfile option 2019-08-18 18:31:26 +09:00
kichikuou 8354b95413 Emscripten: set window title via xsystem35 shell 2019-07-29 08:47:52 +09:00
kichikuou 06dc8981c1 Don't let SDL handle the visibilitychange event 2019-05-13 22:31:05 +09:00
kichikuou 4b9556713a Add workaround for emscripten-ports/SDL2 #41 2017-05-03 17:41:03 +09:00
kichikuou 9e77696d2a Title format expected by the shell 2017-05-03 14:35:20 +09:00
kichikuou 4ae927ff5b Notify window size to the shell 2017-05-01 14:59:52 +09:00
kichikuou f680fb3e76 Add savedir option 2017-04-30 15:52:22 +09:00
kichikuou f35990d1a4 Prepend g_root in FILEIO 2017-04-30 15:05:03 +09:00
kichikuou 37b030b596 Implement text antialias 2017-04-30 11:37:27 +09:00
kichikuou 5a5c9b8e52 Call SDL_Quit() 2016-04-16 13:42:37 +09:00
kichikuou d0abebdf24 get_title returns UTF-8 string 2016-04-02 21:41:46 +09:00
kichikuou e988478d4d Remove global HINSTANCE 2016-04-02 21:31:28 +09:00
kichikuou 67557bb2bd Read files from current directory 2016-04-02 18:08:31 +09:00
kichikuou b716e76734 SDL2 port 2016-04-02 17:06:57 +09:00