Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.9 KiB

@echo off
@rem "Edited by Roy for HL:Invasion"
@rem "Warning: Completely UNTESTED!"
@rem "Warning: Won't work properly as this mod requires TRUE VGUI! (If you can edit it in - you're more than welcome!)"
echo Setting environment for minimal Visual C++ 6
set INCLUDE=%MSVCDir%\VC98\Include
set LIB=%MSVCDir%\VC98\Lib
set PATH=%MSVCDir%\VC98\Bin;%MSVCDir%\Common\MSDev98\Bin\;%PATH%
echo -- Compiler is MSVC6
set XASH3DSRC=..\..\Xash3D_original
set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public -I../external -I../dlls -I../utils/false_vgui/include
set SOURCES=clientbriquet.cpp ^
clientfog.cpp ^
clientlflammes.cpp ^
ev_hldm.cpp ^
GameStudioModelRenderer.cpp ^
hl/hl_baseentity.cpp ^
hl/hl_events.cpp ^
hl/hl_objects.cpp ^
hl/hl_weapons.cpp ^
../dlls/glock.cpp ^
hud_tank.cpp ^
hudradio.cpp ^
hudrpg.cpp ^
hudzoom.cpp ^
lensflare.cpp ^
nvg.cpp ^
particules.cpp ^
studio_util.cpp ^
StudioModelRenderer.cpp ^
ammo.cpp ^
ammo_secondary.cpp ^
ammohistory.cpp ^
battery.cpp ^
cdll_int.cpp ^
com_weapons.cpp ^
death.cpp ^
demo.cpp ^
entity.cpp ^
ev_common.cpp ^
events.cpp ^
flashlight.cpp ^
geiger.cpp ^
health.cpp ^
hud.cpp ^
hud_msg.cpp ^
hud_redraw.cpp ^
hud_spectator.cpp ^
hud_update.cpp ^
in_camera.cpp ^
input.cpp ^
input_goldsource.cpp ^
input_mouse.cpp ^
input_xash3d.cpp ^
menu.cpp ^
message.cpp ^
overview.cpp ^
parsemsg.cpp ^
parsemsg.h ^
../pm_shared/pm_debug.c ^
../pm_shared/pm_math.c ^
../pm_shared/pm_shared.c ^
saytext.cpp ^
status_icons.cpp ^
statusbar.cpp ^
text_message.cpp ^
train.cpp ^
tri.cpp ^
util.cpp ^
view.cpp
set DEFINES=/DCLIENT_DLL /DCLIENT_WEAPONS /Dsnprintf=_snprintf /DNO_VOICEGAMEMGR /DGOLDSOURCE_SUPPORT
set LIBS=user32.lib Winmm.lib
set OUTNAME=client.dll
set DEBUG=/debug
cl %DEFINES% %LIBS% %SOURCES% %INCLUDES% -o %OUTNAME% /link /dll /out:%OUTNAME% %DEBUG%
echo -- Compile done. Cleaning...
del *.obj *.exp *.lib *.ilk
echo -- Done.