kichikuou
c8f9880efb
Fix buffer overrun in LE/QE command
2022-08-28 08:43:18 +09:00
kichikuou
d508676c70
Refactoring: Introduce getCaliArray()
...
This replaces global preVar{No,Page,Index} variables.
2022-08-27 16:11:36 +09:00
kichikuou
92506d6a94
Refactor variable page management code
...
Now system variables can be accessed via varPage[0].
2022-08-27 13:22:27 +09:00
kichikuou
0a37920c95
Version 2.5.1
v2.5.1
2022-07-31 16:07:25 +09:00
kichikuou
fa44889047
Fix a bug in sdl_setPalette()
...
It called SDL_SetPaletteColors() with wrong arguments when `first` was
not zero. PP command was affected by this.
2022-07-31 13:53:37 +09:00
kichikuou
cee18a572e
Implement palette shift effect (CD 1001)
...
Used in Toushin Toshi 2.
2022-07-31 12:44:30 +09:00
kichikuou
652d284628
Debugger: Check out-of-bounds array access
...
This prevents the debugger from SEGVing when trying to access a
variable.
2022-07-30 18:14:35 +09:00
kichikuou
d2661e97f1
sdl_effect: Implement EFFECT_CIRCLE_WIPE_{IN,OUT}
2022-07-23 10:57:59 +09:00
kichikuou
0e9afe7c0a
Implement grDrawFillCircle
2022-07-23 09:18:58 +09:00
kichikuou
fbe8af5f7b
Fix command line option name in README.md
2022-07-17 22:22:36 +09:00
kichikuou
0c1f8f8450
Version 2.5.0
v2.5.0
2022-07-17 21:26:48 +09:00
kichikuou
078525e2c2
Reduce console message spam
2022-07-16 21:15:55 +09:00
kichikuou
d4a4022894
Enable ARM Neon support in stb_image
2022-07-16 17:46:26 +09:00
kichikuou
dc89c92139
Switch JPEG decoder to stb_image
...
To enable JPEG support on Android without complicating CMake files.
2022-07-16 17:16:44 +09:00
kichikuou
4f351fc767
Improve warning messages
2022-07-16 16:00:24 +09:00
kichikuou
02ef4a1771
Android: Upgrade SDL2_mixer to 2.6.0
2022-07-10 14:42:57 +09:00
kichikuou
4a20d74f1a
Do not call sdl_getEvent in sdl_getWheelInfo
...
This fixes performance regression in Graymerca.
2022-07-02 15:30:18 +09:00
kichikuou
c9663c5cfc
Version 2.4.0
v2.4.0
2022-07-02 13:53:58 +09:00
kichikuou
5c7e92391c
Fix SEGV in cdrom.android.c
2022-07-02 13:47:59 +09:00
kichikuou
0a15e6490f
Update emscripten to 3.1.15
2022-07-02 12:10:31 +09:00
kichikuou
fe294bd34b
Remove nact->is_message_locked
...
Now sysWinMsgLock and sysWinMsgUnlock are no-op.
2022-07-02 11:59:18 +09:00
kichikuou
e26779a189
SACT: Do not enter backlog mode if sact.version < 120
2022-07-02 11:15:28 +09:00
kichikuou
f9b5fec03d
Implement mouse wheel input
...
This implements iptGetWheelCount and iptClearWheelCount commands, and
wheel events for SACT backlog.
2022-07-02 10:55:40 +09:00
kichikuou
d63e3503e7
Fix SR0 command in System 3.6 and later
...
The behavior of the SR0 command has been changed since System3.6 (?) to
return the track number (2-based) instead of the music number (1-based).
Note that this change is orthogonal to the SR command's format change;
the Japanese unofficial patch expects the new behavior but still uses
the old format (SR,cali,var).
This fixes https://github.com/kichikuou/xsystem35-sdl2/issues/32 .
2022-06-29 18:35:22 +09:00
kichikuou
3dd38959a3
Emscripten: Expose sys_restart() function
...
Also ZZ0 now restarts the game instead of exiting.
2022-06-26 17:25:43 +09:00
kichikuou
f56ec88cda
Make sure nact->is_quit breaks event loops
2022-06-26 17:25:43 +09:00
kichikuou
9706f516f9
Add reset functions for DLL modules
2022-06-26 17:25:43 +09:00
kichikuou
b15690d9b7
Windows: Add "Restart" menu command
...
It resets all VM states and restart the game.
2022-06-26 17:25:39 +09:00
kichikuou
26db7f46f5
Refactoring: Simplify music_midi.c
2022-06-26 16:30:52 +09:00
kichikuou
1cf0dbc7e2
Refactoring: Simplify music_cdrom.c
2022-06-26 16:30:52 +09:00
kichikuou
3f36eeee4c
Refactoring: Remove static variables in cmdb.c
2022-06-26 16:30:52 +09:00
kichikuou
ff62533faf
Add reset functions for audio subsystems
2022-06-26 16:30:48 +09:00
kichikuou
f60b21bc19
Implement grEffectMoveView command
...
It is not used in any AliceSoft games, but used in a third-party game.
2022-06-22 21:37:50 +09:00
kichikuou
8fac291e84
Fix MF command
...
It should return the number of characters from the start index, not from
the beginning of the string.
2022-06-18 22:05:45 +09:00
kichikuou
782a9e5925
Version 2.3.0
v2.3.0
2022-04-08 21:57:16 +09:00
kichikuou
c8f1ef2b9e
Android: Upgrade Kotlin to 1.6.20
2022-04-08 21:57:02 +09:00
kichikuou
6184e93965
Refactoring: Explicitly pass color-key / blending params to ags_drawCg
2022-04-02 22:13:25 +09:00
kichikuou
3377441caf
Simplify CG drawing functions
...
This removes extra buffer copy in some cases.
2022-04-02 22:13:25 +09:00
kichikuou
d243358b48
Use SDL_GetSurfaceColorMod to display CG with custom brightness
2022-04-02 22:13:25 +09:00
kichikuou
9e82445ace
Refactoring: Add depth field to struct cgdata
2022-04-02 22:13:25 +09:00
kichikuou
a6109b6210
Do not convert to 16bpp when decoding JPEG
2022-04-02 22:13:25 +09:00
kichikuou
901a3bb28c
Revamp NightDemonDemo
...
- Fix off-by-one bug in demo number
- Use the jpeg extraction function in src/
- Improve alk archive interface
2022-04-02 22:12:16 +09:00
kichikuou
f1b80d7086
Improve SACT version detection
...
Using game title (set by the MT command) is fragile in translations.
After this, SACT version is determined from the information in the HEL0
section of System39.ain.
2022-03-31 20:54:43 +09:00
kichikuou
f1fb50841c
Debugger: Allow setting multiple breakpoints at a single address
...
This prevents the internal breakpoint from conflicting with regular
breakpoints.
2022-03-19 10:22:55 +09:00
kichikuou
f97259bc30
pcm.sdlmixer.c: Directly map PCM slots to SDL_mixer channels
2022-03-12 14:17:14 +09:00
kichikuou
3eccaa6165
Fix integer overflow in muspcm_{getpos,getwavelen}
2022-03-12 11:09:59 +09:00
kichikuou
42b9d43a70
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 xsystem35-sdl2 will be
automatically converted.
2022-03-11 17:08:16 +09:00
kichikuou
a7800e652c
Update SDL_mixer
...
This fixes "Unrecognized audio format" error in bgm_load().
2022-03-10 21:21:13 +09:00
kichikuou
1c2e395e88
Windows CI: Use msys2/setup-msys2
...
Also update the build environment to windows-latest.
2022-03-06 15:48:09 +09:00
kichikuou
c67198cc0e
emscripten: Load Mincho font on demand in SACT games
2022-03-05 11:52:52 +09:00