summaryrefslogtreecommitdiffhomepage
path: root/compile
diff options
context:
space:
mode:
authorMatthew Wozniak <sirtomato999@gmail.com>2022-11-17 14:34:47 -0300
committerMichael Smith <mikesmiffy128@gmail.com>2023-12-19 16:29:08 +0000
commit374ae0fbc44db36d9abb6b5b1fe065bc3949e201 (patch)
tree04b1a66a5898bdd420c9cd523cc40a0062511aef /compile
parente3d7cc9c80159849289a8bab03eca088b758941b (diff)
Add VGUI HUD overlay drawing feature
Currently only supports Orange Box and Left 4 Dead branches. There's quite a large amount of gamedata involved in making this work, and figuring it out for the likes of Portal 2 doesn't seem like a major priority at the moment.
Diffstat (limited to 'compile')
-rwxr-xr-xcompile3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile b/compile
index c7014e8..abdd5a7 100755
--- a/compile
+++ b/compile
@@ -71,6 +71,7 @@ src="\
gameinfo.c
gameserver.c
hook.c
+ hud.c
kvsys.c
l4dmm.c
l4dreset.c
@@ -92,7 +93,7 @@ $HOSTCC -O2 -fuse-ld=lld $warnings -D_FILE_OFFSET_BITS=64 -include stdbool.h \
-o .build/mkentprops src/build/mkentprops.c src/kv.c
.build/codegen `for s in $src; do echo "src/$s"; done`
.build/mkgamedata gamedata/engine.kv gamedata/gamelib.kv gamedata/inputsystem.kv \
- gamedata/matchmaking.kv
+gamedata/matchmaking.kv gamedata/vgui2.kv gamedata/vguimatsurface.kv
.build/mkentprops gamedata/entprops.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