kichikuou
3ff022c73e
debugger_dap: Ask frontend to restart xsystem35 on sysReset command
2022-01-01 21:47:14 +09:00
kichikuou
9ad1059ced
Let SACT.WaitKeyMessgae call sys_getInputInfo() while skipping
...
Otherwise it skips messages too fast.
2022-01-01 15:48:16 +09:00
kichikuou
2d026c6122
Handle SDL_JOYHATMOTION event
2021-12-30 09:16:52 +09:00
kichikuou
b68c217554
Android: Get rid of Kotlin warnings
2021-12-22 21:47:26 +09:00
kichikuou
7e09c14660
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:56:57 +09:00
kichikuou
2db403a692
Android: Upgrade SDL to 2.0.18
2021-12-22 13:13:39 +09:00
kichikuou
850fa96933
Android: Upgrade gradle plugins
...
Now it works with CMake 3.20+.
2021-12-21 21:57:03 +09:00
kichikuou
e1e1e5cacc
Use sdl_fader in SACT
2021-12-12 22:21:20 +09:00
kichikuou
d7dd98a8ca
Implement polygon mask effects
...
This implements the hexagram, pentagram, and windmill effects of the CE
command. These were implemented in the (removed) X11 backend, but not in
the SDL backend.
This implementation uses SDL_RenderGeometry() which is added in SDL
2.0.18. If it is not available, these effects will fall back to
crossfade.
2021-12-12 21:39:13 +09:00
kichikuou
f11dbc7400
Explicitly set pixel format of sdl_display
...
This shouldn't have any behavioral changes.
2021-12-12 12:08:07 +09:00
kichikuou
3b52efb752
Remove unused fields in sdl_private_data
2021-12-11 13:53:31 +09:00
kichikuou
93f01efdb5
Update README.md
2021-12-03 12:05:41 +09:00
kichikuou
3012412a5d
Version 2.2.0
v2.2.0
2021-12-03 11:19:51 +09:00
kichikuou
91fa4284c4
Use zero-based indexing for string variables
...
Surprisingly, 0 is a valid index of the string variables (used only in
Ouji-sama Lv1 as far as I know).
The original System 3.x saves str[0] in save files, but we continue to
save from str[1] for save data compatibility.
2021-12-03 10:57:09 +09:00
kichikuou
93d29b5f87
Implement RandMT.GetNoOverlap
2021-12-03 10:57:09 +09:00
kichikuou
b6cdba145f
ags: Initialize alpha plane with 255 (opaque)
...
This fixes an issue in Ouji-sama Lv1 where the background of the map
was not drawn.
2021-12-03 10:57:09 +09:00
kichikuou
38a40e82f3
Implement OujiMisc module
2021-12-03 10:57:06 +09:00
kichikuou
d29a764de2
Fix issues with reading DOS-ish playlist file
...
- Replace backslashes with slashes
- Strip '\r'
2021-11-27 22:43:12 +09:00
kichikuou
0d74454355
Clean up ags.c
2021-11-23 12:56:06 +09:00
kichikuou
1a248ea897
debugger_dap: Add support for warning breakpoints
...
This adds "warning" exception breakpoint filter type. If it is enabled,
execution stops on WARNING() calls.
2021-11-23 12:49:41 +09:00
kichikuou
556b9687ca
Remove instgame script
...
This is not very valuable as .gr file is now optional.
2021-11-23 10:06:13 +09:00
kichikuou
8be63b7f11
Remove some stale docs
2021-11-23 10:03:12 +09:00
kichikuou
8c963f4dcf
Simplify fade in/out code
2021-11-20 09:23:48 +09:00
kichikuou
87316495e8
debugger_dap: Respect noDebug Launch parameter
...
When noDebug: true is set, xsystem35 does not load debug symbols and
does not emit Initialized event.
2021-11-17 20:40:04 +09:00
kichikuou
45b50fe78a
ZT counter: wrap around on 16-bit overflow
...
This behavior matches System 3.9.
2021-11-16 21:37:14 +09:00
kichikuou
c31da0fe10
Merge counter.c into cmdz.c
2021-11-16 09:10:07 +09:00
kichikuou
0d376a3d35
Simplify counter.c
...
This also fixes a compatibility issue of ZT1 and ZT10 when the last
argument isn't zero.
2021-11-15 22:11:04 +09:00
kichikuou
ff9710426f
Remove internal time counters
2021-11-14 22:12:11 +09:00
kichikuou
aa537687c4
Emscripten: Ensure functions in asyncify addlist are not optimized out
...
Also update emscripten version to 2.0.34.
2021-11-14 17:12:47 +09:00
kichikuou
ae30b73333
Add more contents to README.md
2021-11-14 10:27:44 +09:00
kichikuou
28ac087bca
SACT: Improve sprite move animation
...
- Move operation for hidden sprites shouldn't be ignored.
- Move time set by SACT.SetMoveTime shouldn't be reset after move.
This makes Save Lion in Rance 5D animate smoothly.
2021-11-13 18:28:43 +09:00
kichikuou
fc3d66195f
portmidi: Fix SEGV by accessing flags
2021-11-13 14:09:09 +09:00
kichikuou
f7ca54104b
portmidi: Use SDL's thread primitives
2021-11-13 13:54:14 +09:00
kichikuou
d8513d78e4
rawmidi: Use a background thread rather than a subprocess
...
This removes the last usage of fork() in xystem35.
2021-11-13 12:51:14 +09:00
kichikuou
d0ad06e7c5
Move message-queue functions to msgqueue.[ch]
2021-11-13 12:50:34 +09:00
kichikuou
cae31a72d1
Use standard int / bool types in portab.h
2021-11-13 08:16:47 +09:00
kichikuou
1405c8693b
Do not use bool as variable name
2021-11-13 07:43:58 +09:00
kichikuou
5c5a71237c
debugger_dap: Respect stopOnEntry Launch parameter
2021-11-10 21:34:23 +09:00
kichikuou
0a82376cfd
Version 2.1.0
win-2.1.0
2021-11-07 21:30:44 +09:00
kichikuou
e08ba5fb03
Refactor sactcg.c
2021-11-07 21:23:45 +09:00
kichikuou
ca1e47c093
Fix reference counting of SACT CGs
...
This fixes a bug where enemies disappear in Rance 5D battles.
2021-11-07 21:23:45 +09:00
kichikuou
0bbb6fbeae
Add support for conditional breakpoints
2021-11-07 21:23:40 +09:00
kichikuou
f9d753d46a
debugger: Implement cali expression evaluator
...
Now "print" command (CUI) and "evaluate" request (DAP) can use
expressions like "VAR123[VAR12 + VAR23]".
2021-11-07 21:23:35 +09:00
kichikuou
117b81bf86
debugger_dap: Add source location to Output events
...
So that the user can see where in the scenario the warning occurred.
2021-11-06 15:10:01 +09:00
kichikuou
f311ccb15e
webp: Skip 'NULL' chunk
...
When an image is exactly the same as its base image, it has a 4-byte
'NULL' chunk at the end of the file. We simply skip this chunk, without
optimizing the load.
2021-11-06 12:07:07 +09:00
kichikuou
fd4c8fb4d3
debugger_dap: Fail to Initialize if debug symbol file is not available
2021-11-06 12:06:57 +09:00
kichikuou
4832b0ab84
debugger_dap: Emit Output event on sys_message
2021-11-06 09:30:45 +09:00
kichikuou
69f5e8f538
Fix message display of SACT and NIGHTDLL in Unicode mode
2021-11-04 09:28:45 +09:00
kichikuou
7cb8896685
bgm.sdlmixer.c: Allow non-WAV audio formats
...
Ogg is used in the MangaGamer version of Rance 5D.
2021-11-03 21:09:07 +09:00
kichikuou
0ecc4edb43
Add webp CG support
...
Used in the MangaGamer version of Rance 5D.
The logic for the OVER chunk was taken from libsys4.
2021-11-03 21:09:02 +09:00