Commit Graph
370 Commits
Author SHA1 Message Date
kichikuou bcb653ca14 Emscripten: Stop audio on reset 2023-09-27 20:24:31 +09:00
kichikuou ad23d428cc Y 255,0 should return the value of RND to the system 2023-09-27 16:50:25 +09:00
kichikuou 759a5eab5d Emscripten: Restart game instead of exiting
The same behavior as xsystem35.
2023-09-27 16:48:16 +09:00
kichikuou 30ca8b714b Reorganize flags for exit and restart
Pure refactoring, no user-visible changes.
2023-09-27 16:41:05 +09:00
kichikuou 093f4cf507 Improve documentations
With the help of ChatGPT.
2023-08-29 12:03:34 +09:00
kichikuou 6e03140a5c Android: Sign apk only when keystore file exists 2023-08-28 11:04:01 +09:00
kichikuou fc80af62e0 Android: Update command line build instructions 2023-08-28 10:26:00 +09:00
kichikuou 3e11ba1b44 Update emscripten to 3.1.44 2023-08-06 21:54:42 +09:00
kichikuou f1e4c2501f Android/Windows: Upgrade SDL to 2.28.2 2023-08-06 21:33:43 +09:00
kichikuou 04873d875a emscripten: Add simulate_right_button() 2023-05-04 11:25:09 +09:00
kichikuou 6f0f410d98 Android: Use Kotlin coroutine for background installation 2023-04-15 15:44:10 +09:00
kichikuou c719bb1ec6 Android: Stop using deprecated ProgressDialog 2023-04-15 11:42:57 +09:00
kichikuou 7b7394e5fe Fix use-of-uninitialized-value for text_font_maxsize
This fixes https://github.com/kichikuou/system3-sdl2/issues/25.
2023-04-15 09:29:18 +09:00
kichikuou c3556c5213 Replace sprintf_s with snprintf 2023-04-15 09:16:14 +09:00
kichikuou f1455c2c8a Bump version to 1.0.0 v1.0.0 2023-04-09 18:38:26 +09:00
kichikuou 0171433618 Update emscripten to 3.1.34 2023-04-09 18:32:33 +09:00
kichikuou 7f6a085f56 Scanline screen effect
It can be activated by the -scanline command line flag, system3.ini, or
the menubar on Windows. Effective especially for games with 200-line
screen mode, such as Little Vampire and Intruder.
2023-04-09 18:23:42 +09:00
kichikuou ec1dfbffcf Use non-square pixels for Gakuen Senki
Stretch 512 horizontal pixels to 582 pixels. This is the same pixel
aspect ratio used by WebMSX.

Also set SDL_HINT_RENDER_SCALE_QUALITY to "linear", to improve the
scaling quality.
2023-04-09 18:23:39 +09:00
kichikuou 24224e0d2b Merge some changes from SysEng 0.7 (for Gakuen Senki port) 2023-04-09 15:17:33 +09:00
kichikuou 32f4c0f945 Improve anti-aliasing quality of non-white text
By presetting palette.
2023-04-06 21:17:51 +09:00
kichikuou 6d6d5ca829 Reset RenderDrawColor after changing it for fading
Otherwise, the next SDL_RenderClear() will fill the screen with that
color, including areas outside the viewport.
2023-03-25 16:13:55 +09:00
kichikuou 431be235d6 Android: Add support for PCM sound
Now android/mako.cpp depends on SDL_mixer, and CD-DA is also played with
SDL_mixer.
2023-03-18 13:49:36 +09:00
kichikuou 236eb0b581 MSVC build: Update SDL2 and SDL2_ttf 2023-03-17 18:56:18 +09:00
kichikuou 2178c98a75 Apply K3 hack to the map area selection of Only You 2023-03-17 18:23:58 +09:00
kichikuou 31dcec6893 Emscripten: Support PCM sound 2023-03-17 15:55:41 +09:00
kichikuou be18e06e09 Fix MAKO::check_music()
This fixes infinite loop in the opening demo of Only You, waiting for
the end of the music.
2023-03-17 15:53:52 +09:00
kichikuou 425ddf3ea8 Bump version to 0.9.0 v0.9.0 2023-03-03 11:14:09 +09:00
kichikuou 36cee9aff8 Treat touches outside the viewport as right-clicks
The old method to simulate right click (two-finger touch) still works.
2023-03-03 10:50:54 +09:00
kichikuou 2c2ea6d28b emscripten: Export _malloc 2023-02-25 15:58:12 +09:00
kichikuou 50120d32ce Update emscripten to 3.1.32 2023-02-25 15:06:26 +09:00
kichikuou 3a13f27dcf Add a hack to improve menu usability in Alice's Cottage 3
Some screens in Alice's Cottage 3 have menus implemented on the script
side. The script does not know the absolute position of the mouse
pointer (cursor movement is done by obtaining the relative movement
distance of the mouse), so the mouse pointer and the selected item were
often misaligned, and the cursor could not be moved by touch operation.

This adds a hack to the K3 command that emulates cursor movements by
absolute mouse pointer location.
2023-02-25 14:29:04 +09:00
kichikuou 6e4a0bacaf Android: Add license notice for ymfm 2023-01-14 11:29:35 +09:00
kichikuou a7983cc24f Android: Upgrade AGP to 7.3.1 2023-01-08 13:51:02 +09:00
kichikuou d3ae3e21d1 Android: Include git revision in version string 2023-01-08 12:59:48 +09:00
kichikuou 52a0e5e139 Android CI: Generate signed apk 2023-01-08 12:03:04 +09:00
kichikuou caebf8fc52 Android: Add activities to display open source notices 2023-01-08 11:48:22 +09:00
kichikuou 05be66eac3 Android: Upgrade SDL and SDL_ttf
- SDL 2.26.1
- SDL_ttf 2.20.1
2022-12-29 15:31:54 +09:00
kichikuou 82e5bde5e2 CI: Update GH actions 2022-11-27 11:21:47 +09:00
kichikuou 487b9307ed Android: Use SDK-bundled CMake 3.22.1 2022-10-29 11:06:37 +09:00
kichikuou 8a196444ad Editorial changes 2022-10-29 08:26:50 +09:00
Adrian Graber a40d750b93 Add documentation for Switch build 2022-10-29 08:25:07 +09:00
Adrian Graber 05ff59cff2 Add Nintendo Switch support
- Bundle resources folder through romfs
- Added Switch-exclusive romfs init/exit code
- Add icon for NRO
- Add Switch-exclusive CMake code for NACP/NRO generation
- Add GitHub Actions Switch workflow
2022-10-29 08:25:07 +09:00
Adrian Graber 76a255619d Log fatal errors through SDL_LogError too 2022-10-29 08:25:07 +09:00
Adrian Graber 361e51085d Add timiditycfg setting 2022-10-29 08:25:07 +09:00
kichikuou bbb51f4912 Always enable GameController, and remove unused USE_JOY code 2022-10-27 20:03:47 +09:00
Adrian Graber 034ab8dd03 Implement GameController through SDL2 2022-10-27 20:02:02 +09:00
kichikuou 65aa76a337 Bump version to 0.8.0 v0.8.0 2022-08-07 21:42:35 +09:00
kichikuou 93b9cc0e1a Show system3-sdl2 version on window title bar 2022-08-07 21:40:41 +09:00
kichikuou ad86883e42 MSVS, Android: Update SDL2 to 2.0.22 2022-08-07 21:32:31 +09:00
kichikuou 0860c2f471 Update emscripten to 3.1.18 2022-08-07 18:14:04 +09:00