diff --git a/plugins/hud/compile.bat b/plugins/hud/compile.bat new file mode 100644 index 000000000..0168997e0 --- /dev/null +++ b/plugins/hud/compile.bat @@ -0,0 +1,20 @@ +@echo off +call ..\paths.bat + +del vm\*.asm +rmdir vm +mkdir vm +cd vm +lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../ui_sbar.c +if errorlevel 1 goto end +lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../../plugin.c +if errorlevel 1 goto end +lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g ../../qvm_api.c +if errorlevel 1 goto end +q3asm -f ../qwui + +:end + +cd .. + +pause \ No newline at end of file diff --git a/plugins/hud/hud.dsp b/plugins/hud/hud.dsp index c5714948d..11cd32809 100644 --- a/plugins/hud/hud.dsp +++ b/plugins/hud/hud.dsp @@ -43,7 +43,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HUD_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HUD_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HUD_EXPORTS" /FR /YX /FD /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x809 /d "NDEBUG" @@ -66,7 +66,7 @@ LINK32=link.exe # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug" # PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 +# PROP Ignore_Export_Lib 1 # PROP Target_Dir "" # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HUD_EXPORTS" /YX /FD /GZ /c # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HUD_EXPORTS" /FR /YX /FD /GZ /c @@ -79,7 +79,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"D:\Quake\id1\plugins/hudx86.dll" /pdbtype:sept +# ADD LINK32 kernel32.lib /nologo /dll /debug /machine:I386 /out:"D:\Quake\id1\plugins/hudx86.dll" /pdbtype:sept !ENDIF diff --git a/plugins/hud/install.bat b/plugins/hud/install.bat new file mode 100644 index 000000000..8f8c3aa26 --- /dev/null +++ b/plugins/hud/install.bat @@ -0,0 +1,4 @@ +call ..\paths.bat +mkdir %PluginsDir% +copy vm\hud.qvm %PluginsDir% +pause \ No newline at end of file diff --git a/plugins/hud/qwui.q3asm b/plugins/hud/qwui.q3asm new file mode 100644 index 000000000..60a151834 --- /dev/null +++ b/plugins/hud/qwui.q3asm @@ -0,0 +1,4 @@ +-o "hud" +plugin +ui_sbar +qvm_api \ No newline at end of file