Commit Graph
340 Commits
Author SHA1 Message Date
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
kichikuou 2f2e5f9aa7 Skip 400ms delay after opening menu if mouse movement is disabled
This removes the 400ms delay in NACT::wait_after_open_menu() if
automatic mouse movement is disabled, because there's less risk of
miss-clicking.
2022-08-07 18:12:18 +09:00
kichikuou 2f55371c10 Windows: Add a menu command to control automatic mouse movement 2022-08-07 17:36:13 +09:00
kichikuou b1a2221f9f emscripten: Change build type from MinSizeRel to Release
It generates 2.5x faster code for ymfm.
2022-08-07 15:58:10 +09:00
kichikuou 0c8903920a Switch FM sound emulator to ymfm 2022-08-07 15:55:07 +09:00
kichikuou 2cb0b2a2a2 Reuse SDL_Renderer after VM reset
Otherwise mouse input doesn't work after restart in emscripten port.
2022-06-26 15:00:23 +09:00
kichikuou 578a8bf095 Emscripten: Expose sys_restart() function 2022-06-26 14:56:23 +09:00
Nunuhara Cabbage b2907a9de8 Install font to resource directory 2022-06-04 12:36:52 +09:00
Xanardi 1d52d0d411 Fix MSVC2017 build error 2022-04-23 08:52:48 +09:00
kichikuou 75044b13bf Android: Upgrade Kotlin to 1.6.20 2022-04-09 08:37:49 +09:00
kichikuou e2d6e4a665 Add .git-blame-ingore-revs file
So that GitHub's blame UI will ignore the CRLF->LF change.
2022-04-03 11:47:21 +09:00
kichikuou cc75dd7c94 Convert linebreaks from CRLF to LF 2022-04-03 11:34:48 +09:00
kichikuou 82ce12e82c Android: Fix off-by-one error in playlist.txt
Before this, line k of the playlist file corresponded to track k-1 on
Android. After this, line k corresponds to track k, which is consistent
with other platforms.

Playlists generated in previous versions of system3-sdl2 will be
automatically converted.
2022-03-11 17:05:57 +09:00
kichikuou 8a6a81b334 Windows CI: Use windows-latest image 2022-03-06 15:13:21 +09:00
kichikuou 208b0a1dc8 MSYS2 CI: Use msys2/setup-msys2 2022-03-06 14:39:31 +09:00
kichikuou ea6eff1cdf Update emscripten to 3.1.2 2022-01-30 12:07:42 +09:00
kichikuou 08de113b8f MSVC build: Upgrade SDL and SDL_ttf
- SDL 2.0.20
- SDL_ttf 2.0.18
2022-01-22 10:02:11 +09:00
kichikuou 1fa9112023 Android: Upgrade SDL and SDL_ttf
- SDL 2.0.20
- SDL_ttf 2.0.18
2022-01-22 09:34:51 +09:00
kichikuou a1fcc33053 Android: Stop using deprecated ListActivity 2022-01-03 17:36:08 +09:00
kichikuou 260ad57ea2 Android: Get rid of Kotlin warnings 2021-12-22 21:47:05 +09:00
kichikuou b7634e9366 Android: Update build instructions
Require CMake 3.20+, because after upgrading the Android Gradle plugin
build with CMake <3.20 fails with the following error:

  Execution failed for task ':app:buildCMakeDebug'.
  > Expected output file at (...)obj/armeabi-v7a/libSDL2.so for target
  SDL2 but there was none
2021-12-22 14:59:48 +09:00
kichikuou 70277c7c51 Android: Upgrade SDL to 2.0.18 2021-12-22 13:40:52 +09:00
kichikuou 6015f53b76 Android: Upgrade gradle plugins
Now it works with CMake 3.20+.
2021-12-22 13:21:59 +09:00
kichikuou 80ea44e3c6 Fix issues with reading system3.ini and playlist made on Windows
- Replace backslashes in pathnames with slashes
- Strip '\r' in playlist
2021-11-27 13:23:11 +09:00
kichikuou dc471399e5 Rewrite fade in / fade out implementation
Before this change, fade in and fade out was implemented using a
16-steps dithering pattern.

Now fading uses alpha-blending. It behaves like the PC98 version, where
fading was done by palette animation.

This reduces `sizeof(AGS)` by 1.2MB.
2021-11-20 17:09:17 +09:00
kichikuou 8ee2e952f9 Update emscripten to 2.0.31 2021-10-14 20:58:54 +09:00
kichikuou 6e7df30af7 Add system3.ini.example and update README.md 2021-09-26 10:52:57 +09:00
kichikuou 643eb02448 Add COPYING.txt file in MSVC build artifact windows-0.7.0 2021-09-20 09:22:58 +09:00
kichikuou c9e0d7afad Android: Bump version to 0.7.0 android-0.7.0 2021-09-19 22:46:04 +09:00
kichikuou ef8253c252 MSVC build: Update SDL2 to 2.0.16 2021-09-19 13:59:02 +09:00
kichikuou f8b0cd382e Android: Update SDL2 to 2.0.16 2021-09-19 13:50:46 +09:00