summaryrefslogtreecommitdiffhomepage
path: root/compile
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-04-25 04:24:52 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-04-25 04:24:52 +0100
commit117f3ad6ae3fb6df54bc553bd1efbab080d39606 (patch)
tree4afff34653060dd8a15110a10ac4055451f0e448 /compile
parent9d1fea271bd823b6dc98feb61992bbe64b95a188 (diff)
Add engine_no_focus_sleep backport, fix codegen
Default gamedata values actually work the way they're supposed to now.
Diffstat (limited to 'compile')
-rwxr-xr-xcompile3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile b/compile
index fdeb843..76dc638 100755
--- a/compile
+++ b/compile
@@ -47,6 +47,7 @@ src="\
gameinfo.c
hook.c
kv.c
+ nosleep.c
sst.c
x86.c"
if [ "$dbg" = 1 ]; then src="$src \
@@ -59,7 +60,7 @@ $HOSTCC -O2 -fuse-ld=lld $warnings -D_FILE_OFFSET_BITS=64 -o .build/codegen \
$HOSTCC -O2 -fuse-ld=lld $warnings -D_FILE_OFFSET_BITS=64 -o .build/mkgamedata \
src/build/mkgamedata.c src/kv.c
.build/codegen `for s in $src; do echo "src/$s"; done`
-.build/mkgamedata gamedata/gamelib.kv gamedata/engine.kv
+.build/mkgamedata gamedata/engine.kv gamedata/gamelib.kv gamedata/inputsystem.kv
for s in $src; do cc "$s"; done
$CC -shared -fpic -fuse-ld=lld -O0 -w -o .build/libtier0.so src/stubs/tier0.c
$CC -shared -fpic -fuse-ld=lld -O0 -w -o .build/libvstdlib.so src/stubs/vstdlib.c