kichikuou 426cdaa836 Fix compatibility issues around maximum index of array variables
The second argument of DC command specifies the maximum index of the new
array. That means, `DC _,n,_:` allocates an array of size n+1 (a[0] to
a[n]).

This patch makes sure various D commands work with a[n], and a[n] is
correctly saved and loaded.

Now loadSysVar() does not shrink array variables using the data count in
the save file, so that files saved by old xsystem35 binary can be safely
loaded. This also matches the behavior of System3.9.
2020-06-27 13:16:22 +09:00
2020-06-07 14:31:31 +09:00
2017-02-11 19:03:05 +09:00
2019-08-25 14:30:54 +09:00
2017-02-11 19:03:05 +09:00
2019-08-25 11:37:30 +09:00
2019-12-31 15:16:49 +09:00
2020-06-14 14:16:19 +09:00
2020-06-14 14:16:19 +09:00
2014-04-26 18:40:24 +09:00
2017-02-10 22:39:52 +09:00
2020-06-14 14:16:19 +09:00
2017-02-11 19:03:05 +09:00
2017-02-11 19:03:05 +09:00

xsytem35-sdl2

アリスソフトのゲームエンジン System3.x のフリー実装である xsystem35 を SDL2 に対応して、emscripten でコンパイルできるようにしたものです。

ビルド方法

Linux

cmake が必要です。

$ mkdir -p out/debug
$ cd out/debug
$ cmake -DCMAKE_BUILD_TYPE=Debug ../../
$ make && make install

cmake の実行でエラーになる場合は必要なライブラリをインストールしてください。

グラフィックスシステムとして X11 と SDL2 が使用可能です。両方存在する場合は X11 が優先されますが、cmake のオプションに -DENABLE_X11=NO を指定すると SDL2 が使われます。

MacOS

Homebrew が必要です。

$ brew install cmake pkg-config sdl2 sdl2_mixer freetype libjpeg
$ mkdir -p out/debug
$ cd out/debug
$ cmake -DCMAKE_BUILD_TYPE=Debug ../../
$ make && make install

Windows

MSYS2 が必要です。

$ pacman -S cmake mingw-w64-x86_64-cmake mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-SDL2_mixer mingw-w64-x86_64-libjpeg-turbo
$ mkdir -p out/debug
$ cd out/debug
$ cmake -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug ../../
$ make

Emscripten

$ mkdir -p out/wasm
$ cd out/wasm
$ emcmake cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../../
$ make

実行するには、鬼畜王 on Webのリポジトリをチェックアウトして、docsディレクトリに out/xsystem35.* をすべてコピーしてください。

Android

android/README.md を参照してください。

S
Description
No description provided
Readme
16 MiB
Languages
C 83.2%
Java 10.6%
Kotlin 5%
CMake 1.1%