windows visual studio 2013 build updates

This commit is contained in:
nhmall
2016-01-01 22:01:25 -05:00
parent adcb7dc202
commit 14ce76a159
7 changed files with 194 additions and 152 deletions

View File

@@ -806,14 +806,6 @@ $(INCL)\vis_tab.h: $(U)makedefs.exe
$(SRC)\vis_tab.c: $(U)makedefs.exe $(SRC)\vis_tab.c: $(U)makedefs.exe
$(U)makedefs -z $(U)makedefs -z
$(DAT)\engrave: $(DAT)\engrave.txt $(U)makedefs.exe
..\util\makedefs -s
$(DAT)\epitaph: $(DAT)\epitaph.txt $(U)makedefs.exe
..\util\makedefs -s
$(DAT)\bogusmon: $(DAT)\bogusmon.txt $(U)makedefs.exe
..\util\makedefs -s
#========================================== #==========================================
# uudecode utility and uuencoded targets # uudecode utility and uuencoded targets
#========================================== #==========================================
@@ -1269,6 +1261,15 @@ $(DAT)\quest.dat: $(O)utility.tag $(DAT)\quest.txt
$(DAT)\oracles: $(O)utility.tag $(DAT)\oracles.txt $(DAT)\oracles: $(O)utility.tag $(DAT)\oracles.txt
$(U)makedefs -h $(U)makedefs -h
$(DAT)\engrave: $(DAT)\engrave.txt $(U)makedefs.exe
$(U)makedefs -s
$(DAT)\epitaph: $(DAT)\epitaph.txt $(U)makedefs.exe
$(U)makedefs -s
$(DAT)\bogusmon: $(DAT)\bogusmon.txt $(U)makedefs.exe
$(U)makedefs -s
$(DAT)\dungeon: $(O)utility.tag $(DAT)\dungeon.def $(DAT)\dungeon: $(O)utility.tag $(DAT)\dungeon.def
$(U)makedefs -e $(U)makedefs -e
cd $(DAT) cd $(DAT)

3
win/win32/record.uu Normal file
View File

@@ -0,0 +1,3 @@
begin 600 record.
`
end

View File

@@ -135,11 +135,11 @@
copy $(OutDir)NetHack.exe ..\binary copy $(OutDir)NetHack.exe ..\binary
copy ..\dat\nhdat ..\binary copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary copy ..\dat\license ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@@ -192,11 +192,11 @@
copy $(OutDir)NetHack.exe ..\binary copy $(OutDir)NetHack.exe ..\binary
copy ..\dat\nhdat ..\binary copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary copy ..\dat\license ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@@ -242,11 +242,11 @@
copy ..\dat\nhdat ..\binary copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary copy ..\dat\symbols ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@@ -292,11 +292,11 @@
copy ..\dat\nhdat ..\binary copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary copy ..\dat\symbols ..\binary
if exist tiles.bmp copy tiles.bmp ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>

View File

@@ -138,10 +138,12 @@
<Command>copy $(OutDir)NetHackW.exe ..\binary <Command>copy $(OutDir)NetHackW.exe ..\binary
copy ..\dat\nhdat ..\binary copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@@ -199,10 +201,12 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
<Command>copy $(OutDir)NetHackW.exe ..\binary <Command>copy $(OutDir)NetHackW.exe ..\binary
copy ..\dat\nhdat ..\binary copy ..\dat\nhdat ..\binary
copy ..\dat\license ..\binary copy ..\dat\license ..\binary
copy ..\dat\symbols ..\binary
if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@@ -264,6 +268,7 @@ if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@@ -322,6 +327,7 @@ if NOT exist ..\binary\sysconf copy ..\sys\winnt\sysconf ..\binary\sysconf
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
if NOT exist ..\binary\record copy ..\win\win32\record ..\binary\record
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>

View File

@@ -135,6 +135,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst echo hh &gt;&gt;dlb.lst
@@ -206,6 +209,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst echo hh &gt;&gt;dlb.lst
@@ -280,6 +286,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst echo hh &gt;&gt;dlb.lst
@@ -352,6 +361,9 @@ if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
if exist porthelp echo porthelp &gt;&gt;dlb.lst if exist porthelp echo porthelp &gt;&gt;dlb.lst
echo quest.dat &gt;&gt;dlb.lst echo quest.dat &gt;&gt;dlb.lst
echo rumors &gt;&gt;dlb.lst echo rumors &gt;&gt;dlb.lst
echo engrave &gt;&gt;dlb.lst
echo epitaph &gt;&gt;dlb.lst
echo bogusmon &gt;&gt;dlb.lst
echo tribute &gt;&gt;dlb.lst echo tribute &gt;&gt;dlb.lst
echo help &gt;&gt;dlb.lst echo help &gt;&gt;dlb.lst
echo hh &gt;&gt;dlb.lst echo hh &gt;&gt;dlb.lst

View File

@@ -145,6 +145,9 @@ echo ..\util\makedefs.exe -d
echo Generating rumors echo Generating rumors
echo ..\util\makedefs.exe -r echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r ..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests echo Generating quests
echo ..\util\makedefs.exe -q echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q ..\util\makedefs.exe -q
@@ -223,6 +226,9 @@ echo ..\util\makedefs.exe -d
echo Generating rumors echo Generating rumors
echo ..\util\makedefs.exe -r echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r ..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests echo Generating quests
echo ..\util\makedefs.exe -q echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q ..\util\makedefs.exe -q
@@ -304,6 +310,9 @@ echo ..\util\makedefs.exe -d
echo Generating rumors echo Generating rumors
echo ..\util\makedefs.exe -r echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r ..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests echo Generating quests
echo ..\util\makedefs.exe -q echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q ..\util\makedefs.exe -q
@@ -383,6 +392,9 @@ echo ..\util\makedefs.exe -d
echo Generating rumors echo Generating rumors
echo ..\util\makedefs.exe -r echo ..\util\makedefs.exe -r
..\util\makedefs.exe -r ..\util\makedefs.exe -r
echo Generating ..\dat\engrave, ..\dat\epitaph, ..\dat\bogusmon
echo ..\util\makedefs.exe -s
..\util\makedefs.exe -s
echo Generating quests echo Generating quests
echo ..\util\makedefs.exe -q echo ..\util\makedefs.exe -q
..\util\makedefs.exe -q ..\util\makedefs.exe -q

View File

@@ -139,6 +139,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu ..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp) echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu ..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary chdir ..\..\binary
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
@@ -200,6 +202,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu ..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp) echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu ..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary chdir ..\..\binary
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
@@ -264,6 +268,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu ..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp) echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu ..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary chdir ..\..\binary
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
@@ -326,6 +332,8 @@ echo decoding splash (splash.uu to splash.bmp)
..\..\util\uudecode.exe splash.uu ..\..\util\uudecode.exe splash.uu
echo decoding tombstone (rip.uu to rip.bmp) echo decoding tombstone (rip.uu to rip.bmp)
..\..\util\uudecode.exe rip.uu ..\..\util\uudecode.exe rip.uu
echo decoding record (record.uu to record.)
..\..\util\uudecode.exe record.uu
chdir ..\..\binary chdir ..\..\binary
</Command> </Command>
</PostBuildEvent> </PostBuildEvent>