Subversion Repositories nw_plus

Compare Revisions

Regard whitespace Rev 15 → Rev 16

/nw_plus/NW_Mapster32.bat
10,12 → 10,12
set mapster32dir=%cd%
if "%debug%"=="1" echo DEBUG: Mapster32 Directory: "%mapster32dir%"
 
if exist nwinter_hrp set nwhrpdir=%cd%
if exist nwinter\ set nwhrpdir=%cd%
:nwdircheck
cd nw_plus
set nwdir=%cd%
if exist nwinter_hrp set nwhrpdir=%cd%
if exist nw_plus goto nwdircheck
if exist nwinter\ set nwhrpdir=%cd%
if exist nw_plus\ goto nwdircheck
if "%debug%"=="1" echo DEBUG: NW+ Directory: "%nwdir%".
if "%debug%"=="1" echo DEBUG: NWHRP Directory: "%nwhrpdir%".
 
24,7 → 24,15
if exist duke3d_hrp.zip set hrp=-gduke3d_hrp.zip
if exist hrp_update.zip set hrpu=-ghrp_update.zip
 
set args=-j"%nwdir%" -j"%nwhrpdir%" -hnwinter.def -gnwinter.grp %hrp% %hrpu% %*
type "%mapster32dir%\names.h" > "%mapster32dir%\NWNames.h"
echo. >> "%mapster32dir%\NWNames.h"
type "%nwdir%\NWNames.def" >> "%mapster32dir%\NWNames.h"
 
set args=
if exist "%nwdir%" set args=%args% -j"%nwdir:\=/%"
if exist "%nwhrpdir%" set args=%args% -j"%nwhrpdir:\=/%"
set args=%args% -namesfile NWNames.h -hnwinter.def -gnwinter.grp %hrp% %hrpu% %*
 
set exe=mapster32
if "%debug%"=="1" set exe=mapster32.debug