summaryrefslogtreecommitdiffhomepage
path: root/compile.bat
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2021-11-27 05:25:55 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2021-12-26 23:58:00 +0000
commit7672d873478a67de599d2f701b4cc8ddc047ae01 (patch)
tree291172861b21476b6c6059817adcf920204ed3c6 /compile.bat
parenteb6fc1676401bc71419db2239e350ae24f63ae4e (diff)
Unhide useful commands and allow cheats in lobbies
This is done through a new "fixes" file which will probably become one of those silly dumping grounds that every project has to have somewhere to put random miscellaneous crap in. These are mainly hidden in L4D2 but they just get unilaterally unhidden if they exist, just to be sure they're accessible. As a bonus, it turns out that unhiding a single cvar also allows us to set sv_cheats 1 in Left 4 Dead 2, bringing an end to the need to port- forward a listen server for co-op practice.
Diffstat (limited to 'compile.bat')
-rw-r--r--compile.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile.bat b/compile.bat
index 4fce747..06596b0 100644
--- a/compile.bat
+++ b/compile.bat
@@ -24,7 +24,7 @@ clang -municode -O2 -fuse-ld=lld %warnings% -D_CRT_SECURE_NO_WARNINGS -ladvapi32
-o .build/codegen.exe src/build/codegen.c src/build/cmeta.c src/os.c || exit /b
clang -municode -O2 -fuse-ld=lld %warnings% -D_CRT_SECURE_NO_WARNINGS -ladvapi32 ^
-o .build/mkgamedata.exe src/build/mkgamedata.c src/kv.c src/os.c || exit /b
-.build\codegen.exe src/con_.c src/demorec.c src/dbg.c src/gamedata.c ^
+.build\codegen.exe src/con_.c src/demorec.c src/dbg.c src/fixes.c src/gamedata.c ^
src/gameinfo.c src/hook.c src/kv.c src/os.c src/sst.c src/udis86.c || exit /b
.build\mkgamedata.exe gamedata/engine.kv gamedata/gamelib.kv || exit /b
:: llvm-rc doesn't preprocess, looks like it might later:
@@ -39,6 +39,7 @@ call :cc src/con_.c || exit /b
call :cc src/demorec.c || exit /b
call :cc src/dbg.c || exit /b
call :cc src/extmalloc.c || exit /b
+call :cc src/fixes.c || exit /b
call :cc src/gamedata.c || exit /b
call :cc src/gameinfo.c || exit /b
call :cc src/hook.c || exit /b