kichikuou
ea77d594bf
Make Encoding::fromUtf8() and Encoding::toUtf8() return std::string
2025-01-02 11:57:56 +09:00
kichikuou
6800258113
NACT: Add warnings for unimplemented Y commands
2025-01-02 10:54:21 +09:00
kichikuou
0309388097
Make ERROR() an alias of sys_error()
...
Now it shows a message box and exits.
2025-01-02 10:28:16 +09:00
kichikuou
ddc790b268
Add error message when game files not found
2024-12-31 22:05:04 +09:00
kichikuou
320f790fb3
Version 1.3.0
v1.3.0
2024-12-28 16:27:21 +09:00
kichikuou
ff530981ff
Update README
2024-12-28 14:32:47 +09:00
kichikuou
0841f36dfc
Fix debugger on Windows
2024-12-28 14:09:57 +09:00
kichikuou
2b61798f99
CMake: FetchContent() nlohmann-json in MSVC build
2024-12-28 14:09:57 +09:00
kichikuou
1fd72a28eb
ci: install nlohmann-json
2024-12-28 14:09:57 +09:00
kichikuou
64b3e2a284
dabugger: Add support for custom DAP messages for palette changes
...
This implements "xsystem35.palette" custom request and
"xsystem35.paletteChanged" custom event, introduced in
kichikuou/xsystem35-sdl2@4b15f45 .
2024-12-28 14:09:57 +09:00
kichikuou
909140f3bc
Add support for Debug Adapter Protocol
2024-12-28 14:09:56 +09:00
kichikuou
8883bd5d68
Add command line debugger
2024-12-28 14:09:53 +09:00
kichikuou
d6e3cb8415
Scenario: Label / page calls share a single call stack
...
This allows the debugger to present a linear backtrace.
It's still possible to return from the other call type.
2024-12-27 16:08:58 +09:00
kichikuou
a13719d84c
AGS: Fix a bug in GAIJI.DAT loading code
...
There was a bug in the JIS to Shift_JIS conversion code, causing out-of-
range access to the gaiji array. Since the conversion was not necessary
in the first place, the indexes to the array are now calculated directly
from JIS code points.
2024-12-27 14:47:20 +09:00
kichikuou
2498669da3
NACT: Refactor data structure for menu
2024-12-24 13:46:47 +09:00
kichikuou
b08b9f80f2
Add some helper functions to GameId
2024-12-24 12:22:10 +09:00
kichikuou
bb1573ec6d
NACT: Factor out load/save functions
2024-12-24 12:19:13 +09:00
kichikuou
57fad54420
NACT: Make some command functions non-virtual
2024-12-24 12:19:10 +09:00
kichikuou
78da768d92
Version 1.2.1
v1.2.1
2024-12-21 16:26:45 +09:00
kichikuou
a7d4e32273
Set RND after save / load
...
`L [1-26]` should set RND to 0 after load, and `Q [1-26]` should set RND
to 1 after save. This behavior is used by the following games:
ayumi_fd, prog_fd, funnybee_cd, funnybee_fd, onlyyou, prog_cd, ayumi_cd,
yakata3_cd, otome, hashirionna2
Especially in hashirionna2, not setting RND breaks the control flow.
2024-12-21 16:14:35 +09:00
kichikuou
eae1951646
Intruder: Fix Z2 command
...
* `Z 2, 0:` clears the graphic screen.
* `Z 2, 1:` restores the screen by loading the background image, but
with a transparent color so that the preceding G command can be seen.
Fixes #31 .
2024-12-21 13:43:50 +09:00
kichikuou
daeef22a29
AGS: Introduce Palette type
2024-12-21 09:55:29 +09:00
kichikuou
b1c917b89a
Refactor NACT::message() to take first command byte
2024-12-20 14:16:55 +09:00
kichikuou
24c6041915
Encoding: Refactor mblen() to accept first byte instead of pointer
2024-12-20 13:59:30 +09:00
kichikuou
b000fecf92
Remove unused NACT_Sys[12]::cali2()
2024-12-18 13:51:26 +09:00
kichikuou
f356d268df
Scenario: Refactor address handling
2024-12-18 13:50:46 +09:00
kichikuou
f8acad01d8
Move TexthookMode enum to config.h
2024-12-14 10:22:38 +09:00
kichikuou
989b6a844d
System3: L 101-126 returns 255 if save file does not exist
...
This fixes an issue in Hashiri Onna II where "Data Load" appears in the
start menu even though there is no save. (#32 )
2024-12-11 17:00:14 +09:00
kichikuou
eab5eb075d
Fix out-of-bounds memory access in text rendering
...
This fixes SEGV in Hashiri Onna II when custom font is used. (#32 )
2024-12-11 16:30:42 +09:00
kichikuou
07a049e05e
NACT: Initialize members in class declaration
2024-12-11 14:03:58 +09:00
kichikuou
4930154d45
Expose g_nact
2024-12-11 14:03:55 +09:00
kichikuou
e791af2a1e
Refactor window creation logic
2024-12-11 10:43:32 +09:00
kichikuou
9173742ffb
Introduce GameId class
2024-12-11 10:43:28 +09:00
kichikuou
930fdfab4e
Fix MSVS build
2024-12-10 22:08:19 +09:00
kichikuou
e4cf322420
Add GitHub issue template
2024-12-10 22:00:12 +09:00
kichikuou
e77a6b8bb5
Rename skip_string to skip_syseng_string for consistency
2024-12-10 09:15:26 +09:00
kichikuou
4ec1a12daa
Add Scenario::unknown_command() for error reporting
2024-12-10 09:12:55 +09:00
kichikuou
ffa3a364ce
NACT: Make cmd_{label,page}_{jump,call} methods non-virtual
2024-12-10 08:42:36 +09:00
kichikuou
d10ae21ff4
Move call stacks from NACT to Scenario
2024-12-10 08:35:23 +09:00
kichikuou
e79f24d8b9
Replace NACT::fatal() with global sys_error()
2024-12-10 07:54:56 +09:00
kichikuou
5483d1932f
Introduce Scenario class
2024-12-09 14:44:37 +09:00
kichikuou
8303f7c770
Refactor FILEIO
2024-12-08 15:06:00 +09:00
kichikuou
48d780add6
Introduce Dri class
...
It caches the link table.
2024-12-08 13:39:23 +09:00
kichikuou
f26ce11fd9
README: Update note for toushin_hint
2024-12-08 13:35:17 +09:00
kichikuou
a7c44e2953
Version 1.2.0
v1.2.0
2024-12-06 15:28:43 +09:00
kichikuou
8b4b33d538
Emscripten: Use texthook suppression list
2024-12-06 13:15:00 +09:00
kichikuou
0b04f5f334
Add texthook_suppress option
...
For suppressing text hook on specified scenario pages.
2024-12-06 10:24:36 +09:00
kichikuou
1e7a59f9cd
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:33:50 +09:00
kichikuou
8da92f6856
README: Add notes column to game ID table for additional information
2024-12-03 11:32:46 +09:00
kichikuou
578e0b72bc
System2: Fix parsing of V command
...
The command is still unimplemented though.
2024-12-03 11:17:48 +09:00