From 374ae0fbc44db36d9abb6b5b1fe065bc3949e201 Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Thu, 17 Nov 2022 14:34:47 -0300 Subject: 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. --- compile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compile') 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 -- cgit v1.2.3