kichikuou b42032c9f8 ReignEngine: Implement basic lighting
This implements a Phong shading with ambient, diffuse and specular
components, using up to three directional lights and one specular light.

The light calculation is made to match the "high quality" 3D mode of
Toushin Toshi 3.
2022-07-09 14:36:44 +09:00
2020-09-04 20:33:47 -07:00
2022-07-09 14:36:44 +09:00
2021-05-01 19:50:09 +09:00
2022-03-20 14:35:49 +09:00
2019-10-06 19:35:36 -07:00
2020-08-10 15:51:33 -07:00
2022-05-08 16:11:25 -07:00
2019-10-20 21:26:51 -07:00

xsystem4

xsystem4 is an implementation of AliceSoft's System 4 game engine for unix-like operating systems.

Compatiblity

See the game compatibility table for a list of games that can be played on xsystem4.

Building

First install the dependencies (corresponding Debian package in parentheses):

  • chibi-scheme [optional, for debugger]
  • bison (bison)
  • cglm (libcglm-dev) [optional, fetched by meson if not available]
  • flex (flex)
  • freetype (libfreetype-dev)
  • glew (libglew-dev)
  • meson (meson)
  • libffi (libffi-dev)
  • libpng (libpng-dev)
  • libsndfile (libsndfile-dev)
  • libturbojpeg (libturbojpeg0-dev)
  • libwebp (libwebp-dev)
  • SDL2 (libsdl2-dev)
  • zlib (zlib1g-dev)

Then fetch the git submodules,

git submodule init
git submodule update

(Alternatively, pass --recurse-submodules when cloning this repository)

Then build the xsystem4 executable with meson,

mkdir build
meson build
ninja -C build

Finally install it to your system (optional),

ninja -C build install

Running

You can run a game by passing the path to its game directory to the xsystem4 executable,

build/src/xsystem4 /path/to/game_directory

Alternatively, run xsystem4 from within the game directory,

cd /path/to/game_directory
xsystem4
S
Description
No description provided
Readme
24 MiB
Languages
C 96.5%
GLSL 2.7%
Meson 0.3%
CMake 0.2%
Scheme 0.2%