build both tty NetHack.exe and gui NetHackW.exe
Changes to be committed: modified: include/config.h modified: include/extern.h modified: include/flag.h modified: include/global.h modified: include/ntconf.h modified: include/wintty.h modified: src/cmd.c modified: src/files.c modified: src/options.c modified: sys/share/pcmain.c modified: sys/share/pcsys.c modified: sys/share/pcunix.c modified: sys/winnt/Makefile.gcc modified: sys/winnt/Makefile.msc modified: sys/winnt/nttty.c new file: sys/winnt/stubs.c modified: sys/winnt/winnt.c modified: util/makedefs.c modified: win/tty/wintty.c Adjust the code and the command line Makefile so that you no longer have to choose whether to build the tty version NetHack.exe, or the gui version NetHackW.exe. Both will now be built in a single 'nmake install' pass.
This commit is contained in:
10
src/cmd.c
10
src/cmd.c
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.5 cmd.c $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
||||
/* NetHack 3.5 cmd.c $NHDT-Date: 1429675557 2015/04/22 04:05:57 $ $NHDT-Branch: win32-x64-working $:$NHDT-Revision: 1.187 $ */
|
||||
/* NetHack 3.5 cmd.c $Date: 2013/03/16 01:44:28 $ $Revision: 1.162 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -3718,10 +3718,8 @@ dotravel(VOID_ARGS)
|
||||
}
|
||||
|
||||
#ifdef PORT_DEBUG
|
||||
# ifdef WIN32CON
|
||||
extern void NDECL(win32con_debug_keystrokes);
|
||||
extern void NDECL(win32con_handler_info);
|
||||
# endif
|
||||
|
||||
int
|
||||
wiz_port_debug()
|
||||
@@ -3735,9 +3733,9 @@ wiz_port_debug()
|
||||
char *menutext;
|
||||
void NDECL((*fn));
|
||||
} menu_selections[] = {
|
||||
#ifdef WIN32CON
|
||||
{"test win32 keystrokes", win32con_debug_keystrokes},
|
||||
{"show keystroke handler information", win32con_handler_info},
|
||||
#ifdef WIN32
|
||||
{"test win32 keystrokes (tty only)", win32con_debug_keystrokes},
|
||||
{"show keystroke handler information (tty only)", win32con_handler_info},
|
||||
#endif
|
||||
{(char *)0, (void NDECL((*)))0} /* array terminator */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user