1:1 source port of the engine and game code; Windows build and system layer; docs. No game files or SDK headers.

This commit is contained in:
CRTkafa 2026-10-22 16:30:40 +08:00
parent c3b032a45a
commit 0ecb47e9cb
3871 changed files with 91080 additions and 1640063 deletions

5
tools/port/build_shim.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/zsh
# usage: tools/port/build_shim.sh NAME SRC... -> parity-out/libshim_NAME.dylib (port sources + port/tests/shim_NAME.cpp)
R=${0:A:h:h:h}
N=$1; shift
clang++ -std=c++17 -DNDEBUG -DBOOST_NO_AUTO_PTR -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR -O0 -w -shared -fPIC -I$R/port/include "$@" $R/port/tests/shim_$N.cpp -o $R/parity-out/libshim_$N.dylib