kichikuou
541cd22e56
Debugger: Support more ways to specify breakpoint locations
...
- `break function` sets a breakpoint to the entry of `function`, which
is either a global function or a local function in current page.
- `break number` sets a breakpoint to the specified line in current
file.
2021-07-24 17:47:26 +09:00
kichikuou
d82175c9f5
Debugger: Add quit command
2021-07-24 17:27:13 +09:00
kichikuou
21e43b5cc7
Debugger: Support FUNC debug information
...
It is used to print function names in backtrace.
2021-07-24 17:27:10 +09:00
BEN ENGLISCH
5283a0aa5d
Left/right select first/last menu items
2021-07-21 08:32:03 +09:00
BEN ENGLISCH
91d30c9b13
Fix mouse warping by translating coords
2021-07-21 08:32:03 +09:00
BEN ENGLISCH
f66ebff002
Add integerscale option
2021-07-21 08:32:03 +09:00
BEN ENGLISCH
98e1355461
Fix midi_pause()
2021-07-21 08:32:03 +09:00
kichikuou
35b1b12ab6
Linux CI: Build with PortMidi
2021-07-19 18:59:49 +09:00
BEN ENGLISCH
1e2ea9821c
Add PortMidi MIDI implementation
2021-07-19 09:09:23 +09:00
kichikuou
e5fab0f198
Add source-level debugger
...
If -debug option is specified, xsystem35 enables built-in debugger. It
optionally loads debug information from *SA.ALD.symbols file (generated
by xsys35c), and drops into a debugger REPL.
Currently the debugger supports:
- Simple breakpoints
- Backtrace
- Single-step execution (step into / step over)
- Printing variables
Also, when the debugger is enabled SIGINT breaks execution and enters a
REPL.
2021-07-18 22:55:22 +09:00
kichikuou
2e2fbbaa1b
Refactor main loop
2021-07-17 22:12:16 +09:00
kichikuou
fb44e5b1e3
Add a hack to improve Rance4 map navigation
...
Fixes #23 .
This is quite hacky but I couldn't find any cleaner solutions.
2021-07-16 14:35:00 +09:00
kichikuou
6690687d0f
emscripten CI: Use standard setup-emsdk way to cache
2021-07-14 18:01:23 +09:00
kichikuou
26c9f663ca
Update emscripten to 2.0.25
2021-07-14 17:46:29 +09:00
kichikuou
d5a7040b54
Fix SU command
...
This fixes a bug in various games where waiting for sound effects to
finish was not working.
`SU var1, var2:` should set var1 to 1 if sound is playing. Before this
fix, it was set to the return value of mus_pcm_get_playposition(), which
is usually 0 (OK).
2021-07-13 21:29:58 +09:00
kichikuou
3280d6073b
Android: migrate from jcenter to mavenCentral
2021-06-25 21:14:40 +09:00
kichikuou
ca09dc7413
Treat font load failure as a fatal error
2021-06-19 16:29:47 +09:00
kichikuou
cc60fdfb7d
Android: Allow specifying custom fonts in .xsys35rc
...
Now custom font files specified in .xsys35rc (as relative paths from the
ZIP root) can be loaded correctly.
This fixes #20 for Android.
2021-06-03 18:58:29 +09:00
kichikuou
ac703b3448
Android CI: downgrade CMake to 3.19
...
To workaround build error with NullPointerException
(https://github.com/actions/virtual-environments/issues/3078 ).
2021-05-09 22:16:17 +09:00
kichikuou
2c6a66af8f
Android: Update build instructions to use CommandLine Tools 4.0
2021-05-09 22:05:54 +09:00
kichikuou
fdcc3de352
Add a hack to trick LHG command error check in Diabolique
...
This fixes the issue where "HDD is full or CD is not inserted" error
message is displayed in Diabolique.
2021-05-09 15:00:16 +09:00
kichikuou
dda7d7f077
Update emscripten to 2.0.15
2021-03-18 15:50:05 +09:00
kichikuou
a159e7cb24
Show error instead of SEGV when System39.ini is missing
...
See #18 .
2021-03-08 09:38:46 +09:00
kichikuou
785f46be2a
Android Build: Update SDL2_ttf and SDL2_mixer
2021-02-22 08:45:46 +09:00
kichikuou
7ca3f2527e
GTK: Stop loading custom resource file
2021-01-31 13:03:33 +09:00
kichikuou
f6221a04ba
GTK: Migrate off of deprecated functions
2021-01-31 13:02:14 +09:00
kichikuou
7069343e57
GTK: Crash fix
...
It seems SDL2 must be initialized before initializing GTK.
2021-01-31 13:00:48 +09:00
kichikuou
9be7b0ab68
Migrate from GTK 2 to GTK 3
2021-01-31 12:59:05 +09:00
kichikuou
8779763615
GTK: Do not use deprecated symbols
2021-01-31 12:58:21 +09:00
kichikuou
869e2e34dd
emscripten: Enable DLL modules
...
And remove the ENABLE_MODULES build option.
2021-01-24 14:50:06 +09:00
kichikuou
c0daba25a5
Implement ShPort.OutputMessageBox
2021-01-24 11:59:40 +09:00
kichikuou
9775c4569d
Implement ShPort.InputListNum
...
This function is used only in hidden contents (map editor of Alice in
Kaeru nyo Land and unit editor of Daiakuji).
This implementation just calls menu_inputnumber(), while the original
ShPort.DLL shows a listbox.
2021-01-24 11:59:39 +09:00
kichikuou
21444ac1c0
NIGHTDLL: Fix a function signature mismatch
2021-01-24 11:59:34 +09:00
kichikuou
d61ce9a18e
SACT/NIGHTDLL: Check nact->is_quit flag in wait loops
2021-01-24 11:43:23 +09:00
kichikuou
04c3e22339
Remove setRect() and setOffset() macros
2021-01-23 23:07:12 +09:00
kichikuou
92f8120e4a
Change the interpretation of color value in drawing commands
...
Before this, color values above 255 were directly used as the pixel
color. After this, its lower 8 bits are used as the palette index. The
new behavior matches System 3.9.
2021-01-23 23:07:12 +09:00
kichikuou
3613358b7b
Fix an endian bug introduced by 4e2d81cf
2021-01-23 23:07:05 +09:00
kichikuou
fc6651642d
sdl_floodFill: Support 16-bit/32-bit color modes
2021-01-23 16:31:13 +09:00
kichikuou
0b15fa3506
Rewrite flood-fill routine
2021-01-23 14:58:36 +09:00
kichikuou
2f8dd2d6a5
Remove unused antialiase.c
2021-01-17 21:57:49 +09:00
kichikuou
4e2d81cf47
Use SDL byte-swapping macros
2021-01-17 21:35:27 +09:00
kichikuou
29c85aad36
emscripten: Remove EXPORTED_FUNCTIONS build option
2021-01-17 14:16:37 +09:00
kichikuou
cd77cbfbf1
Remove ags_regionContains()
2021-01-09 13:43:24 +09:00
kichikuou
e18bb6cb75
Make MyRectangle an alias of SDL_Rect
2021-01-09 13:43:21 +09:00
kichikuou
34e2d60ab4
Refactor s39ain_init()
...
Now strings in S39AIN struct are not copied with strdup(), but just
point inside the buffer where System39.ain is read.
2021-01-03 16:43:59 +09:00
kichikuou
8894dd40fa
Windows: Do not let save dialog change working directory
2021-01-03 15:45:24 +09:00
kichikuou
2529a5b61b
Android: Update SDL2 to 2.0.14
2021-01-01 12:34:37 +09:00
kichikuou
ca41501f6d
Improve rendering of fonts with descenders
...
- ags_drawString() returns a bounding box of the text so that callers
can update the screen appropriately.
- Use total font height (not only ascent) for vertical positioning.
2020-12-31 12:57:17 +09:00
kichikuou
36a0e01dcd
Windows: Add "Save Screenshot" menu command
2020-12-31 10:56:50 +09:00
kichikuou
81906641e1
Disable message wait (teletype effect) when skipping messages
2020-12-29 12:07:40 +09:00