32 Commits
Author SHA1 Message Date
kichikuou a627a8ea3d Add VM variable storage type
Define a dedicated `vmvar_t` type for values stored in variable pages
and propagate it through interfaces that expose those values. Keep the
type as int for now so this commit does not change runtime behavior.
This separates VM storage from ordinary int buffers and makes a later
conversion to 16-bit storage mechanically checkable.
2026-07-17 08:48:10 +09:00
kichikuou 4a5cd4a1c1 dDemo/tDemo: Fix .alk filename case sensitivity
Instead of hardcoding "dDEMO.alk" / "tDEMO.alk", use the actual filename
stored in nact->files.alk[0] from the directory scan. This fixes loading
failures on case-sensitive filesystems where the actual file may be
named "dDemo.alk" or "tDemo.alk".

Also update gameresource.c to store .alk files without a numeric suffix
at index 0 (these games have only one .alk file).
2026-03-15 11:13:08 +09:00
kichikuou dc17b78365 Move miscellaneous low-level functions to system.[ch] 2025-06-11 09:23:44 +09:00
kichikuou 9a01d28075 Move gfx_* functions from sdl_core.h to gfx.h 2025-06-11 09:22:36 +09:00
kichikuou 945dbd7722 Rename graphics functions from sdl_* to gfx_*
And rename sdl_{video,draw,image}.c to gfx_{video,draw,image}.c.
2025-06-10 15:00:27 +09:00
kichikuou 6665416683 Refactor NightDemonDemo and tDemo to use SDL_Surface 2025-02-19 13:21:17 +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 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 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 d1712ab7b4 Remove newline character from debug print macro calls
Now "\n" is appended by the macros.
2022-09-02 20:37:26 +09:00
kichikuou 9a1f1c77a6 Static link DLL modules
We only support a fixed set of modules, so dynamic linking isn't really
necessary. This paves the way for running System3.9 games on more
platforms.

NIGHTDLL is temporarily disabled, because many symbols conflict with the
SACT module.
2020-06-04 19:56:05 +09:00
kichikuou fe189e61c0 Remove Autotools files 2019-07-27 22:58:55 +09:00
kichikuou 9b058eaac4 Enable all modules 2019-07-27 10:09:27 +09:00
kichikuou cda6189ae7 Update autotools files 2018-12-28 23:13:45 +09:00
kichikuou 4050985701 Use foreign strictness 2017-05-28 11:13:49 +09:00
kichikuou b8b6474561 SDL_mixer pcm backend 2017-03-19 13:28:01 +09:00
kichikuou 7c4cadc805 Drop OSS / SunAudio / ALSA / ESD 2017-03-18 23:53:28 +09:00
kichikuou 8fe37f2281 Remove client/server music module 2017-03-18 23:53:21 +09:00
kichikuou baeb11c98c In-process music module 2017-02-26 18:24:23 +09:00
kichikuou 2cbb67e459 Readd pkg.m4 2017-02-19 10:18:29 +09:00
kichikuou 245bc1212c Remove glib dependency 2017-02-18 18:16:32 +09:00
kichikuou 674b8b4f9f Switch to SDL2 2017-02-12 14:48:33 +09:00
kichikuou f1b0b399fa Convert EUC to utf-8 2017-02-11 19:03:05 +09:00
kichikuou 2b4b6a9c22 Drop ALSA 0.5 support 2017-02-09 21:18:55 +09:00
kichikuou 72d33d75db Drop gtk1 support 2017-02-08 20:49:43 +09:00
kichikuou 3d2382012f Drop glib1 support 2017-02-07 21:36:26 +09:00
kichikuou 3ddde55842 Drop freetype1 support 2017-02-07 09:58:08 +09:00
kichikuou 1d6a284ed1 Fix automake warnings 2017-02-07 00:08:23 +09:00
kichikuou 484afc96a5 Update macros/ 2017-02-06 23:37:07 +09:00
kichikuou 83781b9385 Update autotools files 2017-02-06 23:37:00 +09:00
kichikuou e607c9c2ee Import xsystem35-1.7.3-pre5 2014-04-26 18:40:24 +09:00