Browse Source

compile.bat in release mode. Remove BOM from tripmine.cpp (#284)

hlfixed
Roman Chistokhodov 2 years ago committed by GitHub
parent
commit
6648265594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      cl_dll/compile.bat
  2. 5
      dlls/compile.bat
  3. 2
      dlls/tripmine.cpp

5
cl_dll/compile.bat

@ -71,12 +71,11 @@ set SOURCES=../dlls/crossbow.cpp ^
view.cpp ^ view.cpp ^
scoreboard.cpp ^ scoreboard.cpp ^
MOTD.cpp MOTD.cpp
set DEFINES=/DCLIENT_DLL /DCLIENT_WEAPONS /Dsnprintf=_snprintf /DNO_VOICEGAMEMGR /DGOLDSOURCE_SUPPORT set DEFINES=/DCLIENT_DLL /DCLIENT_WEAPONS /Dsnprintf=_snprintf /DNO_VOICEGAMEMGR /DGOLDSOURCE_SUPPORT /DNDEBUG
set LIBS=user32.lib Winmm.lib set LIBS=user32.lib Winmm.lib
set OUTNAME=client.dll set OUTNAME=client.dll
set DEBUG=/debug
cl %DEFINES% %LIBS% %SOURCES% %INCLUDES% -o %OUTNAME% /link /dll /out:%OUTNAME% %DEBUG% cl %DEFINES% %LIBS% %SOURCES% %INCLUDES% -o %OUTNAME% /link /dll /out:%OUTNAME% /release
echo -- Compile done. Cleaning... echo -- Compile done. Cleaning...

5
dlls/compile.bat

@ -108,12 +108,11 @@ set SOURCES=agrunt.cpp ^
xen.cpp ^ xen.cpp ^
zombie.cpp ^ zombie.cpp ^
../pm_shared/pm_debug.c ../pm_shared/pm_math.c ../pm_shared/pm_shared.c ../pm_shared/pm_debug.c ../pm_shared/pm_math.c ../pm_shared/pm_shared.c
set DEFINES=/DCLIENT_WEAPONS /Dsnprintf=_snprintf /DNO_VOICEGAMEMGR set DEFINES=/DCLIENT_WEAPONS /Dsnprintf=_snprintf /DNO_VOICEGAMEMGR /DNDEBUG
set LIBS=user32.lib set LIBS=user32.lib
set OUTNAME=hl.dll set OUTNAME=hl.dll
set DEBUG=/debug
cl %DEFINES% %LIBS% %SOURCES% %INCLUDES% -o %OUTNAME% /link /dll /out:%OUTNAME% %DEBUG% /def:".\hl.def" cl %DEFINES% %LIBS% %SOURCES% %INCLUDES% -o %OUTNAME% /link /dll /out:%OUTNAME% /release /def:".\hl.def"
echo -- Compile done. Cleaning... echo -- Compile done. Cleaning...

2
dlls/tripmine.cpp

@ -1,4 +1,4 @@
/*** /***
* *
* Copyright (c) 1996-2002, Valve LLC. All rights reserved. * Copyright (c) 1996-2002, Valve LLC. All rights reserved.
* *

Loading…
Cancel
Save