visual studio mods for tribute, sysconf
Changes to be committed: modified: win/win32/mhmenu.h modified: win/win32/vs2013/NetHack.vcxproj modified: win/win32/vs2013/NetHackW.vcxproj modified: win/win32/vs2013/dlb_main.vcxproj
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#define MENU_TYPE_TEXT 1
|
||||
#define MENU_TYPE_MENU 2
|
||||
|
||||
extern COLORREF nhcolor_to_RGB (int c);
|
||||
HWND mswin_init_menu_window ( int type );
|
||||
int mswin_menu_window_select_menu (HWND hwnd, int how, MENU_ITEM_P ** selected, BOOL activate);
|
||||
void mswin_menu_window_size (HWND hwnd, LPSIZE sz);
|
||||
|
||||
@@ -136,6 +136,7 @@
|
||||
copy ..\dat\nhdat ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
@@ -192,6 +193,7 @@
|
||||
copy ..\dat\nhdat ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
@@ -241,6 +243,7 @@
|
||||
copy ..\dat\license ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
@@ -290,6 +293,7 @@
|
||||
copy ..\dat\license ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
@@ -478,4 +482,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -135,13 +135,14 @@
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Install exe</Message>
|
||||
<Command>copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\binary
|
||||
copy ..\dat\license ..\binary
|
||||
if exist tiles.bmp copy tiles.bmp ..\binary
|
||||
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
<Command>copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
@@ -196,13 +197,14 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Install exe</Message>
|
||||
<Command>copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\binary
|
||||
copy ..\dat\license ..\binary
|
||||
if exist tiles.bmp copy tiles.bmp ..\binary
|
||||
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
<Command>copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
@@ -255,15 +257,16 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Install exe</Message>
|
||||
<Command>if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\binary
|
||||
copy ..\dat\license ..\binary
|
||||
copy ..\dat\symbols ..\binary
|
||||
if exist tiles.bmp copy tiles.bmp ..\binary
|
||||
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
<Command>if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\binary
|
||||
copy ..\dat\license ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
@@ -313,15 +316,16 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Install exe</Message>
|
||||
<Command>if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\binary
|
||||
copy ..\dat\license ..\binary
|
||||
copy ..\dat\symbols ..\binary
|
||||
if exist tiles.bmp copy tiles.bmp ..\binary
|
||||
if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
<Command>if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
copy $(OutDir)NetHackW.exe ..\binary
|
||||
copy ..\dat\nhdat ..\binary
|
||||
copy ..\dat\license ..\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 exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt
|
||||
if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt
|
||||
copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
@@ -1786,4 +1790,4 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -123,32 +123,33 @@
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Packaging via DLB</Message>
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo tribute >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
@@ -193,32 +194,33 @@ if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Packaging via DLB</Message>
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo tribute >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
@@ -266,32 +268,33 @@ if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Packaging via dlb</Message>
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo tribute >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
@@ -337,32 +340,33 @@ if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
</Bscmake>
|
||||
<PostBuildEvent>
|
||||
<Message>Packaging via dlb</Message>
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
<Command>echo chdir ..\dat
|
||||
chdir ..\dat
|
||||
chdir
|
||||
echo data >dlb.lst
|
||||
echo oracles >>dlb.lst
|
||||
if exist options echo options >>dlb.lst
|
||||
if exist ttyoptions echo ttyoptions >>dlb.lst
|
||||
if exist guioptions echo guioptions >>dlb.lst
|
||||
if NOT exist porthelp copy ..\sys\winnt\porthelp porthelp
|
||||
if exist porthelp echo porthelp >>dlb.lst
|
||||
echo quest.dat >>dlb.lst
|
||||
echo rumors >>dlb.lst
|
||||
echo tribute >>dlb.lst
|
||||
echo help >>dlb.lst
|
||||
echo hh >>dlb.lst
|
||||
echo cmdhelp >>dlb.lst
|
||||
echo history >>dlb.lst
|
||||
echo opthelp >>dlb.lst
|
||||
echo wizhelp >>dlb.lst
|
||||
echo dungeon >>dlb.lst
|
||||
echo license >>dlb.lst
|
||||
for %%N in (*.lev) do echo %%N >>dlb.lst
|
||||
..\util\dlb_main.exe cIf dlb.lst nhdat
|
||||
echo chdir ..\build
|
||||
chdir ..\build
|
||||
echo if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||
</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
Reference in New Issue
Block a user