kichikuou
bc5d72b6fe
Refactor cali.c
2025-02-02 09:00:24 +09:00
kichikuou
03f9b36ff0
Fix palette issue in DALK intro
...
The intro screen of DALK works as follows:
1. load CG 304 to (0,0)-(639, 399) using palette 16-31
2. load CG 305 to (0,400)-(639,799) using palette 16-31
3. CE (copy with effect) from (0,400)-(639,799) to (0,0)-(639, 399)
Step 2 destroys the palette range of CG 304, so before the copy the
pixels in (0,0)-(639,399) have incorrect colors when displayed with the
latest palette.
To avoid this problem, we need create the "old texture" of sdl_effect
from sdl_display instead of sdl_dib.
2025-01-23 14:35:00 +09:00
kichikuou
afb9f96a1a
Improve midi.portmidi.c
...
One MIDI thread now handles multiple playbacks.
2025-01-15 11:10:09 +09:00
kichikuou
28e685818c
Remove gre_Blend() and gre_BlendScreen()
2025-01-10 09:23:08 +09:00
kichikuou
51eca5c8c0
Version 2.14.0
v2.14.0
2025-01-09 10:31:50 +09:00
kichikuou
1699fbda6c
Update game_compatibility.md
...
Ore no Shita de Agake and Rakuen Yuki are now supported.
Fixes #63 .
2025-01-09 10:21:42 +09:00
kichikuou
abbe8b9be1
Add warning for missing .ALD files
...
This warns when the link table has an entry but the contents cannot be
read.
For example, Atlach-Nacha installs only GA.ALD on the hard drive and
read GB.ALD directly from the CD-ROM. This warning message prompts the
user to copy GB.ALD to the game directory.
2025-01-09 09:24:50 +09:00
kichikuou
10735b8be6
Windows: Add application manifest to set ActiveCodePage to UTF-8
...
This will set the process code page to UTF-8 on Windows 10 version 1903
or above, allowing Japanese file names to be handled correctly even if
the system locale is not Japanese.
2025-01-09 08:58:14 +09:00
kichikuou
e9d8a9d1a6
Refactor: Remove sdl_videodev and its accessor macros
2025-01-09 08:26:53 +09:00
kichikuou
780d30c01f
Fix lnkIsLink
...
If the link table indicates the existence of an entry, but the volume
containing that entry is missing, this command returns 1.
2025-01-08 16:15:37 +09:00
kichikuou
d6adb3241c
Add sdl_showMessageBox and replace menu_msgbox_open
2025-01-08 11:24:49 +09:00
kichikuou
3594fc19dc
Fix slot game speed in Persiom
2025-01-08 10:54:56 +09:00
kichikuou
883f538709
Fix SACT.QueryTextPos
...
It should return screen coordinates, not sprite-local coordinates.
2025-01-08 10:04:31 +09:00
kichikuou
c280fc719b
Implement SACT.PeekKey and SACT.MessagePeek
...
Used in Rakuen Yuki.
2025-01-08 10:04:28 +09:00
kichikuou
7da9e64ab6
Fix speed of slot game in Ore no Shita de Agake
2025-01-07 16:16:01 +09:00
kichikuou
bba602ab04
Scheduler: Yield based on scenario address
...
Now it yields execution when the device state is checked multiple times
from the same scenario address.
2025-01-07 16:15:59 +09:00
kichikuou
78dc226d13
Add scheduler.c
...
It consolidates VM throttling logic that was scattered in various
places.
2025-01-07 15:52:48 +09:00
kichikuou
a2792d502e
Implement mathSetClipWindow and mathClip
...
Used in Ore no Shita de Agake.
2025-01-07 15:52:47 +09:00
kichikuou
e800a23e1d
Implement Gpx functions for Ore no Shita de Agake
2025-01-07 15:52:44 +09:00
kichikuou
e731b4ec95
Implement ShCalc functions for Ore no Shita de Agake
2025-01-07 15:41:53 +09:00
kichikuou
dde697d3b4
Implement S3xMusic HLL
...
Used in Ore no Shita de Agake.
Since the musbgm_* interface does not allow multiple channels, this
implementation uses musbgm_* for channel 0 and muspcm_* for channel 1.
2025-01-07 15:41:43 +09:00
kichikuou
c4d4f85ae4
Use consistent message format in sys_message()
2025-01-06 14:26:47 +09:00
kichikuou
84e3666a66
Rename DEBUG_COMMAND{,_YET} to TRACE{,_UNIMPLEMENTED}
...
And now TRACE_UNIMPLEMENTED is not ignored in release build.
2025-01-06 14:14:10 +09:00
kichikuou
c2f11ecfbe
Fix Gpx.IsSurface()
...
Used in Ore no Shita de Agake.
2025-01-05 12:59:07 +09:00
kichikuou
85d69aa5f0
Output debug messages by ZD command at log level 2
2025-01-05 12:46:37 +09:00
kichikuou
7beb558140
Fix compiler warnings about unused results
2024-12-30 15:47:31 +09:00
kichikuou
49126c506d
debug_symbol: Fix warning message format
2024-12-26 08:37:14 +09:00
kichikuou
4c57c98e67
Update bug report template
2024-12-26 08:36:08 +09:00
kichikuou
e464d92164
Fix buffer overrun in stretch functions
...
Fixes #61 .
2024-12-09 20:31:23 +09:00
kichikuou
b30fd71e4b
Version 2.13.0
v2.13.0
2024-12-07 08:23:49 +09:00
kichikuou
99ad91306b
Emscripten: Use texthook suppression list
2024-12-06 13:11:09 +09:00
kichikuou
ed96f26cea
Add texthook_suppress option
...
For suppressing text hook on specified scenario pages.
2024-12-06 09:24:08 +09:00
kichikuou
e6f71190ed
Add texthook option
...
`-texthook print` prints text to console, and `-texthook copy`
automatically copies text to clipboard (for use with text hooker tools).
On Windows, copy mode can be toggled from the menu bar.
2024-12-04 16:34:12 +09:00
kichikuou
8219feee6d
Windows: Redirect stderr to console
...
So that WARNING messages are printed on the console.
2024-12-04 11:43:59 +09:00
kichikuou
bc8a85e046
Version 2.12.1
v2.12.1
2024-12-02 10:42:58 +09:00
kichikuou
67f62f02e6
MSYS build: Static link portmidi
...
Fixes #60 .
2024-12-02 10:12:20 +09:00
kichikuou
471c65973b
emscripten: Do not use mmap for ALDs
...
To save memory, as ALD files are now stored as regular files in memfs.
2024-11-28 10:23:21 +09:00
kichikuou
5ff7149dc1
Fix a compiler warning
2024-11-28 10:21:18 +09:00
kichikuou
80988e52cf
emscripten: Restore a hack to asyncify send_agsevent() callers
...
It was inadvertently removed in commit 61ad428 .
2024-11-27 09:12:39 +09:00
kichikuou
ade76adda6
Version 2.12.0
v2.12.0
2024-11-26 20:49:17 +09:00
kichikuou
53d0e8ffef
NightDemonDemo, tDemo: refresh screen when frame rate < 30
2024-11-25 17:30:15 +09:00
kichikuou
b2e14bd19a
Implement tDemo module
...
Fixes #59 .
2024-11-25 16:35:05 +09:00
kichikuou
9c73a34c35
Version 2.11.7
v2.11.7
2024-11-12 08:57:54 +09:00
kichikuou
36e1dc152b
Fix crash when canceling menu with two-finger touch
...
Fixes #58 .
It was a regression by commit eeeab6e .
2024-11-12 08:55:36 +09:00
kichikuou
f786db5a50
Android: Upgrade SDL to 2.30.9
2024-11-12 08:51:36 +09:00
kichikuou
c515b21afb
Refactor ags_eSpriteCopyArea()
2024-09-01 21:44:11 +09:00
kichikuou
d3db3fa83e
sdl_effect: Implement EFFECT_PAN_IN_* and EFFECT_SKIP_LINE_*
...
This also fixes incorrect behavior of `CD 1` and `CD 2`.
2024-09-01 14:57:59 +09:00
kichikuou
86068b0ab9
Prefer single precision float
2024-09-01 08:25:34 +09:00
kichikuou
de4f3ebb0d
sdl_effect: Implement EFFECT_RASTER_BLEND (CD 5)
...
Used in Mugen Houyou's title logo.
2024-08-31 22:00:07 +09:00
kichikuou
187a3ced35
Separate ags_eSpriteCopyArea() from ags_eCopyArea()
2024-08-31 16:10:42 +09:00