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
adf362ea57
Rename sdl_effect_* to effect_*
2025-06-11 09:23:44 +09:00
kichikuou
b5bf439b8e
Remove graphics.h
2025-06-11 09:23:42 +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
f053f25397
Make webp_extract() return SDL_Surface instead of cgdata
...
This eliminates unnecessary RGBA -> RGB + alpha plane -> RGBA
conversion.
2025-02-21 09:14:02 +09:00
kichikuou
f673708a3f
Remove depth field from surface_t
2025-02-21 09:12:07 +09:00
kichikuou
aab63adac2
Refactor image drawing functions
2025-02-21 09:10:55 +09:00
kichikuou
6f09a999d2
Gpx, ShGraph: Remove unused 16bpp surface support
2025-02-19 15:59:39 +09:00
kichikuou
2ed44dab6d
Move surface and graphic functions from modules/lib to modules/Gpx
...
Except for gr_blend_alpha_map(), which is used by oujimisc.
2025-02-19 14:57:40 +09:00
kichikuou
a8f46453d8
Remove redundant fields from surface_t
2025-02-19 14:03:01 +09:00
kichikuou
e711d5786e
Make agsurface_t backed by SDL_Surface
...
This adds `sdl_surface` field to agsurface_t. `agsurface->pixel` is now
set to `agsurfae->sdl_surface->pixels`.
Note that the `sdl_surface` field does not have alpha; transparent
surfaces have a separate alpha plane in `agsurface->alpha`.
2025-02-16 13:13:13 +09:00
kichikuou
7f645d6bd1
Refactor function return types in modules/
2025-02-03 09:24:45 +09:00
kichikuou
d14b42c146
Replace boolean/TRUE/FALSE with bool/true/false
2025-02-02 10:02:08 +09:00
kichikuou
e800a23e1d
Implement Gpx functions for Ore no Shita de Agake
2025-01-07 15:52:44 +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
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
9706f516f9
Add reset functions for DLL modules
2022-06-26 17:25:43 +09:00
kichikuou
933cf5b6a3
Remove old ags_fader()
...
And rename ags_fade2() to ags_runEffect().
2022-01-31 21:44:29 +09:00
kichikuou
49e707e40e
Fix default duration of Gpx.EffectCopy
2022-01-22 09:27:44 +09:00
kichikuou
d35a24f142
sdl_effect: Implement linear blur effects
...
Now Gpx and NIGHTDLL are fully migrated to sdl_effect.
2022-01-17 17:41:13 +09:00
kichikuou
d945dfe77d
sdl_effect: Implement EFFECT_CROSSFADE_{DOWN,UP,LR,RL}
2022-01-17 11:23:22 +09:00
kichikuou
a224d89233
Rename sdl_fader to sdl_effect
2022-01-17 09:47:39 +09:00
kichikuou
bc97e4c826
sdl_fader: Implement blind effects
2022-01-16 22:05:53 +09:00
kichikuou
c4d74d659a
sdl_fader: Add fade in/out and white in/out effects
...
This replaces the existing three separate implementations (CE command,
Gpx, and NIGHTDLL) of these effects with the new one implemented in
sdl_fader.
2022-01-16 15:48:58 +09:00
kichikuou
4daaa5ede5
Use sdl_fader in Gpx.EffectCopy
2022-01-16 11:04:25 +09:00
kichikuou
c31da0fe10
Merge counter.c into cmdz.c
2021-11-16 09:10:07 +09:00
kichikuou
ff9710426f
Remove internal time counters
2021-11-14 22:12:11 +09:00
kichikuou
bc06099e01
Show message box on fatal error
...
Now sys_error() shows error message using a SDL message box, so that
user can see the message on Windows / Android.
2021-10-26 21:41:34 +09:00
kichikuou
ebb249cd47
Remove 15bpp surface operations
...
These were used only with X11 backend.
2020-10-04 16:01:48 +09:00
kichikuou
417baec290
Remove ags_sync()
2020-10-01 22:16:50 +09:00
kichikuou
c9ec20dcc8
Remove no field of agsurface_t
2020-09-21 13:24:12 +09:00
kichikuou
15fb122148
Remove agsurface.has_{pixel,alpha} fields
2020-08-30 10:26:55 +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
8c31e7a2ec
Rename imput.[ch] to input.[ch]
2019-12-24 17:40:02 +09:00
kichikuou
fe189e61c0
Remove Autotools files
2019-07-27 22:58:55 +09:00
kichikuou
ab924e8955
Enable more modules
2019-07-27 10:09:27 +09:00
kichikuou
13c77cd890
Revive modules support
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
e6af440a23
Fix missing includes
2017-02-19 12:35:53 +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