Browse Source

Update compile.bat files for old msvc. Patch for #101

opforfixed
Roman Chistokhodov 5 years ago
parent
commit
7ad7133267
  1. 13
      cl_dll/compile.bat
  2. 2
      dlls/client.cpp
  3. 50
      dlls/compile.bat
  4. 2
      dlls/gearbox/ctf_items.cpp

13
cl_dll/compile.bat

@ -7,7 +7,7 @@ set PATH=%MSVCDir%\VC98\Bin;%MSVCDir%\Common\MSDev98\Bin\;%PATH%
echo -- Compiler is MSVC6 echo -- Compiler is MSVC6
set XASH3DSRC=..\..\Xash3D_original 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 INCLUDES=-I. -I../common -I../engine -I../pm_shared -I../game_shared -I../public -I../external -I../dlls -I../dlls/gearbox -Igearbox -I../utils/false_vgui/include
set SOURCES=../dlls/crossbow.cpp ^ set SOURCES=../dlls/crossbow.cpp ^
../dlls/crowbar.cpp ^ ../dlls/crowbar.cpp ^
../dlls/egon.cpp ^ ../dlls/egon.cpp ^
@ -22,11 +22,22 @@ set SOURCES=../dlls/crossbow.cpp ^
../dlls/squeakgrenade.cpp ^ ../dlls/squeakgrenade.cpp ^
../dlls/tripmine.cpp ^ ../dlls/tripmine.cpp ^
../dlls/glock.cpp ^ ../dlls/glock.cpp ^
../dlls/gearbox/displacer.cpp ^
../dlls/gearbox/knife.cpp ^
../dlls/gearbox/eagle.cpp ^
../dlls/gearbox/grapple.cpp ^
../dlls/gearbox/m249.cpp ^
../dlls/gearbox/penguin.cpp ^
../dlls/gearbox/pipewrench.cpp ^
../dlls/gearbox/shockrifle.cpp ^
../dlls/gearbox/sniperrifle.cpp ^
../dlls/gearbox/sporelauncher.cpp ^
ev_hldm.cpp ^ ev_hldm.cpp ^
hl/hl_baseentity.cpp ^ hl/hl_baseentity.cpp ^
hl/hl_events.cpp ^ hl/hl_events.cpp ^
hl/hl_objects.cpp ^ hl/hl_objects.cpp ^
hl/hl_weapons.cpp ^ hl/hl_weapons.cpp ^
gearbox/hud_nightvision.cpp ^
ammo.cpp ^ ammo.cpp ^
ammo_secondary.cpp ^ ammo_secondary.cpp ^
ammohistory.cpp ^ ammohistory.cpp ^

2
dlls/client.cpp

@ -45,7 +45,7 @@ extern DLL_GLOBAL BOOL g_fGameOver;
extern DLL_GLOBAL int g_iSkillLevel; extern DLL_GLOBAL int g_iSkillLevel;
extern DLL_GLOBAL ULONG g_ulFrameCount; extern DLL_GLOBAL ULONG g_ulFrameCount;
char *GetTeamName( int team ); const char *GetTeamName( int team );
extern void CopyToBodyQue( entvars_t* pev ); extern void CopyToBodyQue( entvars_t* pev );
extern int giPrecacheGrunt; extern int giPrecacheGrunt;

50
dlls/compile.bat

@ -7,8 +7,54 @@ set PATH=%MSVCDir%\VC98\Bin;%MSVCDir%\Common\MSDev98\Bin\;%PATH%
echo -- Compiler is MSVC6 echo -- Compiler is MSVC6
set XASH3DSRC=..\..\Xash3D_original set XASH3DSRC=..\..\Xash3D_original
set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public set INCLUDES=-I. -I../common -I../engine -I../pm_shared -I../game_shared -I../public -Igearbox
set SOURCES=agrunt.cpp ^ set SOURCES=gearbox/blkop_apache.cpp ^
gearbox/blkop_osprey.cpp ^
gearbox/cleansuit_scientist.cpp ^
gearbox/ctf_gamerules.cpp ^
gearbox/ctf_items.cpp ^
gearbox/ctf_powerups.cpp ^
gearbox/displacer.cpp ^
gearbox/drillsergeant.cpp ^
gearbox/eagle.cpp ^
gearbox/fgrunt.cpp ^
gearbox/func_tank_of.cpp ^
gearbox/gearbox_effects.cpp ^
gearbox/gearbox_triggers.cpp ^
gearbox/gearbox_utils.cpp ^
gearbox/generic_items.cpp ^
gearbox/geneworm.cpp ^
gearbox/gonome.cpp ^
gearbox/grapple_tonguetip.cpp ^
gearbox/grapple.cpp ^
gearbox/houndeye_dead.cpp ^
gearbox/islave_dead.cpp ^
gearbox/knife.cpp ^
gearbox/loader.cpp ^
gearbox/m249.cpp ^
gearbox/massn.cpp ^
gearbox/nuclearbomb.cpp ^
gearbox/op4mortar.cpp ^
gearbox/otis.cpp ^
gearbox/penguin.cpp ^
gearbox/pipewrench.cpp ^
gearbox/pitdrone.cpp ^
gearbox/pitworm.cpp ^
gearbox/recruit.cpp ^
gearbox/ropes.cpp ^
gearbox/shock.cpp ^
gearbox/shockrifle.cpp ^
gearbox/shockroach.cpp ^
gearbox/skeleton.cpp ^
gearbox/sniperrifle.cpp ^
gearbox/spore_ammo.cpp ^
gearbox/sporegrenade.cpp ^
gearbox/sporelauncher.cpp ^
gearbox/strooper.cpp ^
gearbox/voltigore.cpp ^
gearbox/zombie_barney.cpp ^
gearbox/zombie_soldier.cpp ^
agrunt.cpp ^
airtank.cpp ^ airtank.cpp ^
aflock.cpp ^ aflock.cpp ^
animating.cpp ^ animating.cpp ^

2
dlls/gearbox/ctf_items.cpp

@ -34,7 +34,7 @@ This contains the Flag entity information for the Half-Life : Opposing force CTF
extern int gmsgCTFMsgs; extern int gmsgCTFMsgs;
extern char* GetTeamName(int team); extern const char* GetTeamName(int team);
/***************************************************** /*****************************************************

Loading…
Cancel
Save