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.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compile.bat') diff --git a/compile.bat b/compile.bat index 8db2231..97bbb6f 100644 --- a/compile.bat +++ b/compile.bat @@ -78,6 +78,7 @@ setlocal DisableDelayedExpansion :+ gameinfo.c :+ gameserver.c :+ hook.c +:+ hud.c :+ kvsys.c :+ l4dmm.c :+ l4dreset.c @@ -100,7 +101,8 @@ if "%dbg%"=="0" set src=%src% src/wincrt.c %HOSTCC% -fuse-ld=lld -municode -O2 %warnings% -D_CRT_SECURE_NO_WARNINGS -include stdbool.h -ladvapi32 ^ -o .build/mkentprops.exe src/build/mkentprops.c src/kv.c || exit /b .build\codegen.exe%src% || exit /b -.build\mkgamedata.exe gamedata/engine.kv gamedata/gamelib.kv gamedata/inputsystem.kv gamedata/matchmaking.kv || exit /b +.build\mkgamedata.exe gamedata/engine.kv gamedata/gamelib.kv gamedata/inputsystem.kv ^ +gamedata/matchmaking.kv gamedata/vgui2.kv gamedata/vguimatsurface.kv || exit /b .build\mkentprops.exe gamedata/entprops.kv || exit /b llvm-rc /FO .build\dll.res src\dll.rc || exit /b %CC% -fuse-ld=lld -shared -O0 -w -o .build/tier0.dll src/stubs/tier0.c -- cgit v1.2.3