Hud compiles and runs as a QVM, so these extra files will come in handy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1633 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
17144eaf9e
commit
e54ecb4a9a
4 changed files with 31 additions and 3 deletions
20
plugins/hud/compile.bat
Normal file
20
plugins/hud/compile.bat
Normal file
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
4
plugins/hud/install.bat
Normal file
4
plugins/hud/install.bat
Normal file
|
@ -0,0 +1,4 @@
|
|||
call ..\paths.bat
|
||||
mkdir %PluginsDir%
|
||||
copy vm\hud.qvm %PluginsDir%
|
||||
pause
|
4
plugins/hud/qwui.q3asm
Normal file
4
plugins/hud/qwui.q3asm
Normal file
|
@ -0,0 +1,4 @@
|
|||
-o "hud"
|
||||
plugin
|
||||
ui_sbar
|
||||
qvm_api
|
Loading…
Reference in a new issue