mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-30 02:48:14 +03:00
4eb5a256fdeda12412786f39752771016e5f2db7
Sprites are now rendered directly, rather than being blitted to a master surface which is then copied to a texture. Every sprite now carries an SDL_Texture in addition to an SDL_Surface (we need both, since SDL_Texture doesn't give read-access to the pixel data). All of the image-manipulation code is now in sdl_draw.c, and the DrawGraph_* functions are now wrappers. Some games (Daibanchou at least) use an API other than SACT2/DrawGraph, so these operations should be generic to avoid duplication.
xsystem4
xsystem4 is an implementation of AliceSoft's System 4 game engine for unix-like operating systems.
NOTE: This is a work in progress. Very little is implemented so far.
Building
xsystem4 uses the meson build system.
mkdir build
meson build
ninja -C build
Running
You will need to create an AIN file using the System 4 SDK compiler. Then simply pass it to the system4 executable.
build/system4 ???.ain
Languages
C
96.5%
GLSL
2.7%
Meson
0.3%
CMake
0.2%
Scheme
0.2%