Merge branch 'win32-x64-working'
This commit is contained in:
@@ -48,5 +48,7 @@ Makefile.gcc-orig
|
|||||||
*.suo
|
*.suo
|
||||||
*.pdb
|
*.pdb
|
||||||
*.ilk
|
*.ilk
|
||||||
|
# VS2013 extension to auto-whine about questionable code generates these
|
||||||
|
*.lastcodeanalysissucceeded
|
||||||
# Win32-specific ignores end
|
# Win32-specific ignores end
|
||||||
|
|
||||||
|
|||||||
@@ -907,6 +907,8 @@ when commands (D, A, object identify) mix object class filtering with BUCX
|
|||||||
filtering, take the intersection rather than the union (so ?B picks
|
filtering, take the intersection rather than the union (so ?B picks
|
||||||
blessed scrolls rather than all scrolls plus blessed everything)
|
blessed scrolls rather than all scrolls plus blessed everything)
|
||||||
bmask is stored with the objects on the Plane of Water to prevent segfault
|
bmask is stored with the objects on the Plane of Water to prevent segfault
|
||||||
|
engraving on drawbridge with wand of digging should produce appropriate
|
||||||
|
message instead of referring to gravel
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
@@ -1144,6 +1146,9 @@ win32gui: menu option to add/remove windows captions
|
|||||||
win32gui: support for saving/restoring message history
|
win32gui: support for saving/restoring message history
|
||||||
win32gui: added menu options "Copy ASCII Screenshot To Clipboard" and "Save
|
win32gui: added menu options "Copy ASCII Screenshot To Clipboard" and "Save
|
||||||
ASCII Screenshot To File"
|
ASCII Screenshot To File"
|
||||||
|
win32gui, win32tty: add support for looking for sysconf in %COMMONPROGRAMFILES%
|
||||||
|
first and for user config file in %USERPROFILE% (improves support for
|
||||||
|
multi-login Windows environments)
|
||||||
win32tty: support for 'selectsaved' option for menu of existing save files
|
win32tty: support for 'selectsaved' option for menu of existing save files
|
||||||
to choose from at game startup
|
to choose from at game startup
|
||||||
tty: add window port routines for saving/restoring message history
|
tty: add window port routines for saving/restoring message history
|
||||||
|
|||||||
@@ -109,9 +109,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MSWIN_GRAPHICS
|
#ifdef MSWIN_GRAPHICS
|
||||||
# ifdef TTY_GRAPHICS
|
|
||||||
# undef TTY_GRAPHICS
|
|
||||||
# endif
|
|
||||||
# ifndef DEFAULT_WINDOW_SYS
|
# ifndef DEFAULT_WINDOW_SYS
|
||||||
# define DEFAULT_WINDOW_SYS "mswin"
|
# define DEFAULT_WINDOW_SYS "mswin"
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
+3
-3
@@ -756,7 +756,7 @@ E int FDECL(nhclose, (int));
|
|||||||
E void NDECL(really_close);
|
E void NDECL(really_close);
|
||||||
#endif
|
#endif
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
E boolean FDECL(showdebug, (const char *));
|
E boolean FDECL(debugcore, (const char *, boolean));
|
||||||
#endif
|
#endif
|
||||||
E boolean FDECL(read_tribute, (const char *,const char *,int));
|
E boolean FDECL(read_tribute, (const char *,const char *,int));
|
||||||
|
|
||||||
@@ -1509,10 +1509,10 @@ E void FDECL(regex_free, (struct nhregex *));
|
|||||||
|
|
||||||
/* ### nttty.c ### */
|
/* ### nttty.c ### */
|
||||||
|
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
E void NDECL(get_scr_size);
|
E void NDECL(get_scr_size);
|
||||||
E int NDECL(nttty_kbhit);
|
E int NDECL(nttty_kbhit);
|
||||||
E void NDECL(nttty_open);
|
E void FDECL(nttty_open,(int));
|
||||||
E void NDECL(nttty_rubout);
|
E void NDECL(nttty_rubout);
|
||||||
E int NDECL(tgetch);
|
E int NDECL(tgetch);
|
||||||
E int FDECL(ntposkey,(int *, int *, int *));
|
E int FDECL(ntposkey,(int *, int *, int *));
|
||||||
|
|||||||
+1
-1
@@ -306,7 +306,7 @@ struct instance_flags {
|
|||||||
struct autopickup_exception *autopickup_exceptions[2];
|
struct autopickup_exception *autopickup_exceptions[2];
|
||||||
#define AP_LEAVE 0
|
#define AP_LEAVE 0
|
||||||
#define AP_GRAB 1
|
#define AP_GRAB 1
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
#define MAX_ALTKEYHANDLER 25
|
#define MAX_ALTKEYHANDLER 25
|
||||||
char altkeyhandler[MAX_ALTKEYHANDLER];
|
char altkeyhandler[MAX_ALTKEYHANDLER];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
+1
-8
@@ -197,13 +197,6 @@ typedef uchar nhsym;
|
|||||||
# endif
|
# endif
|
||||||
# ifdef WIN32
|
# ifdef WIN32
|
||||||
# define PORT_ID "Windows"
|
# define PORT_ID "Windows"
|
||||||
# ifndef PORT_SUB_ID
|
|
||||||
# ifdef MSWIN_GRAPHICS
|
|
||||||
# define PORT_SUB_ID "graphical"
|
|
||||||
# else
|
|
||||||
# define PORT_SUB_ID "tty"
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -234,7 +227,7 @@ typedef uchar nhsym;
|
|||||||
# define EXIT_FAILURE 1
|
# define EXIT_FAILURE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(X11_GRAPHICS) || defined(QT_GRAPHICS) || defined(GNOME_GRAPHICS) || defined(MSWIN_GRAPHICS)
|
#if defined(X11_GRAPHICS) || defined(QT_GRAPHICS) || defined(GNOME_GRAPHICS) || defined(WIN32)
|
||||||
# ifndef USE_TILES
|
# ifndef USE_TILES
|
||||||
# define USE_TILES /* glyph2tile[] will be available */
|
# define USE_TILES /* glyph2tile[] will be available */
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
+27
-12
@@ -34,19 +34,34 @@ extern unsigned nhUse_dummy;
|
|||||||
*/
|
*/
|
||||||
/* [DEBUG shouldn't be defined unless you know what you're doing...] */
|
/* [DEBUG shouldn't be defined unless you know what you're doing...] */
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
# define ifdebug(stmt) do { if (showdebug(__FILE__)) stmt; } while (0)
|
# define showdebug(file) debugcore(file, TRUE)
|
||||||
|
# define explicitdebug(file) debugcore(file, FALSE)
|
||||||
|
# define ifdebug(stmt) do { if (showdebug(__FILE__)) stmt; } while (0)
|
||||||
|
# ifdef _MSC_VER
|
||||||
|
/* if we have microsoft's C runtime we can use these instead */
|
||||||
|
# include <crtdbg.h>
|
||||||
|
# define crtdebug(stmt) do { if (showdebug(__FILE__)) stmt; \
|
||||||
|
_RPT0(_CRT_WARN,"\n"); } while (0)
|
||||||
|
# define debugpline0(str) crtdebug(_RPT0(_CRT_WARN,str))
|
||||||
|
# define debugpline1(fmt,arg) crtdebug(_RPT1(_CRT_WARN,fmt,arg))
|
||||||
|
# define debugpline2(fmt,a1,a2) crtdebug(_RPT2(_CRT_WARN,fmt,a1,a2))
|
||||||
|
# define debugpline3(fmt,a1,a2,a3) crtdebug(_RPT3(_CRT_WARN,fmt,a1,a2,a3))
|
||||||
|
# define debugpline4(fmt,a1,a2,a3,a4) crtdebug(_RPT4(_CRT_WARN,fmt,a1,a2,a3,a4))
|
||||||
|
# else
|
||||||
/* these don't require compiler support for C99 variadic macros */
|
/* these don't require compiler support for C99 variadic macros */
|
||||||
# define debugpline0(str) ifdebug(pline(str))
|
# define debugpline0(str) ifdebug(pline(str))
|
||||||
# define debugpline1(fmt,arg) ifdebug(pline(fmt,arg))
|
# define debugpline1(fmt,arg) ifdebug(pline(fmt,arg))
|
||||||
# define debugpline2(fmt,a1,a2) ifdebug(pline(fmt,a1,a2))
|
# define debugpline2(fmt,a1,a2) ifdebug(pline(fmt,a1,a2))
|
||||||
# define debugpline3(fmt,a1,a2,a3) ifdebug(pline(fmt,a1,a2,a3))
|
# define debugpline3(fmt,a1,a2,a3) ifdebug(pline(fmt,a1,a2,a3))
|
||||||
# define debugpline4(fmt,a1,a2,a3,a4) ifdebug(pline(fmt,a1,a2,a3,a4))
|
# define debugpline4(fmt,a1,a2,a3,a4) ifdebug(pline(fmt,a1,a2,a3,a4))
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# define debugpline0(str) /*empty*/
|
# define debugpline0(str) /*empty*/
|
||||||
# define debugpline1(fmt,arg) /*empty*/
|
# define debugpline1(fmt,arg) /*empty*/
|
||||||
# define debugpline2(fmt,a1,a2) /*empty*/
|
# define debugpline2(fmt,a1,a2) /*empty*/
|
||||||
# define debugpline3(fmt,a1,a2,a3) /*empty*/
|
# define debugpline3(fmt,a1,a2,a3) /*empty*/
|
||||||
# define debugpline4(fmt,a1,a2,a3,a4) /*empty*/
|
# define debugpline4(fmt,a1,a2,a3,a4) /*empty*/
|
||||||
#endif /*DEBUG*/
|
#endif /*DEBUG*/
|
||||||
|
|
||||||
#endif /* LINT_H */
|
#endif /* LINT_H */
|
||||||
|
|
||||||
|
|||||||
+6
-16
@@ -14,9 +14,8 @@
|
|||||||
|
|
||||||
#define EXEPATH /* Allow .exe location to be used as HACKDIR */
|
#define EXEPATH /* Allow .exe location to be used as HACKDIR */
|
||||||
#define TRADITIONAL_GLYPHMAP /* Store glyph mappings at level change time */
|
#define TRADITIONAL_GLYPHMAP /* Store glyph mappings at level change time */
|
||||||
#ifdef WIN32CON
|
|
||||||
#define LAN_FEATURES /* Include code for lan-aware features. Untested in 3.4.0*/
|
#define LAN_FEATURES /* Include code for lan-aware features. Untested in 3.4.0*/
|
||||||
#endif
|
|
||||||
|
|
||||||
#define PC_LOCKING /* Prevent overwrites of aborted or in-progress games */
|
#define PC_LOCKING /* Prevent overwrites of aborted or in-progress games */
|
||||||
/* without first receiving confirmation. */
|
/* without first receiving confirmation. */
|
||||||
@@ -30,10 +29,8 @@
|
|||||||
|
|
||||||
#define USER_SOUNDS
|
#define USER_SOUNDS
|
||||||
|
|
||||||
#ifdef WIN32CON
|
/*#define CHANGE_COLOR*/ /* allow palette changes */
|
||||||
#define CHANGE_COLOR /* allow palette changes in win32 console */
|
|
||||||
#define SELECTSAVED /* Provide menu of saved games to choose from at start */
|
#define SELECTSAVED /* Provide menu of saved games to choose from at start */
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* -----------------------------------------------------------------
|
* -----------------------------------------------------------------
|
||||||
@@ -57,18 +54,12 @@
|
|||||||
#ifdef OPTIONS_USED
|
#ifdef OPTIONS_USED
|
||||||
#undef OPTIONS_USED
|
#undef OPTIONS_USED
|
||||||
#endif
|
#endif
|
||||||
#ifdef MSWIN_GRAPHICS
|
#define OPTIONS_USED "options"
|
||||||
#define OPTIONS_USED "guioptions"
|
|
||||||
#else
|
|
||||||
#define OPTIONS_USED "ttyoptions"
|
|
||||||
#endif
|
|
||||||
#define OPTIONS_FILE OPTIONS_USED
|
#define OPTIONS_FILE OPTIONS_USED
|
||||||
|
|
||||||
#define PORT_HELP "porthelp"
|
#define PORT_HELP "porthelp"
|
||||||
|
|
||||||
#ifdef WIN32CON
|
|
||||||
#define PORT_DEBUG /* include ability to debug international keyboard issues */
|
#define PORT_DEBUG /* include ability to debug international keyboard issues */
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SAFERHANGUP /* Define SAFERHANGUP to delay hangup processing
|
#define SAFERHANGUP /* Define SAFERHANGUP to delay hangup processing
|
||||||
* until the main command loop. 'safer' because it
|
* until the main command loop. 'safer' because it
|
||||||
@@ -102,6 +93,9 @@ extern void FDECL(interject, (int));
|
|||||||
#pragma warning(disable:4996) /* VC8 deprecation warnings */
|
#pragma warning(disable:4996) /* VC8 deprecation warnings */
|
||||||
#pragma warning(disable:4142) /* benign redefinition */
|
#pragma warning(disable:4142) /* benign redefinition */
|
||||||
#pragma warning(disable:4267) /* conversion from 'size_t' to XX */
|
#pragma warning(disable:4267) /* conversion from 'size_t' to XX */
|
||||||
|
# if (_MSC_VER > 1600)
|
||||||
|
#pragma warning(disable:4459) /* hide global declaration */
|
||||||
|
# endif /* _MSC_VER > 1600 */
|
||||||
# endif /* _MSC_VER > 1000 */
|
# endif /* _MSC_VER > 1000 */
|
||||||
#pragma warning(disable:4761) /* integral size mismatch in arg; conv supp*/
|
#pragma warning(disable:4761) /* integral size mismatch in arg; conv supp*/
|
||||||
# ifdef YYPREFIX
|
# ifdef YYPREFIX
|
||||||
@@ -197,13 +191,11 @@ extern char hackdir[];
|
|||||||
#define getuid() 1
|
#define getuid() 1
|
||||||
#define getlogin() ((char *)0)
|
#define getlogin() ((char *)0)
|
||||||
extern void NDECL(win32_abort);
|
extern void NDECL(win32_abort);
|
||||||
#ifdef WIN32CON
|
|
||||||
extern void FDECL(nttty_preference_update, (const char *));
|
extern void FDECL(nttty_preference_update, (const char *));
|
||||||
extern void NDECL(toggle_mouse_support);
|
extern void NDECL(toggle_mouse_support);
|
||||||
extern void FDECL(map_subkeyvalue, (char *));
|
extern void FDECL(map_subkeyvalue, (char *));
|
||||||
extern void NDECL(load_keyboard_handler);
|
extern void NDECL(load_keyboard_handler);
|
||||||
extern void NDECL(raw_clear_screen);
|
extern void NDECL(raw_clear_screen);
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#ifndef __BORLANDC__
|
#ifndef __BORLANDC__
|
||||||
@@ -235,7 +227,6 @@ int _RTLENTRY _EXPFUNC read (int __handle, void _FAR *__buf, unsigned __len);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int FDECL(set_win32_option, (const char *, const char *));
|
extern int FDECL(set_win32_option, (const char *, const char *));
|
||||||
#ifdef WIN32CON
|
|
||||||
#define LEFTBUTTON FROM_LEFT_1ST_BUTTON_PRESSED
|
#define LEFTBUTTON FROM_LEFT_1ST_BUTTON_PRESSED
|
||||||
#define RIGHTBUTTON RIGHTMOST_BUTTON_PRESSED
|
#define RIGHTBUTTON RIGHTMOST_BUTTON_PRESSED
|
||||||
#define MIDBUTTON FROM_LEFT_2ND_BUTTON_PRESSED
|
#define MIDBUTTON FROM_LEFT_2ND_BUTTON_PRESSED
|
||||||
@@ -243,6 +234,5 @@ extern int FDECL(set_win32_option, (const char *, const char *));
|
|||||||
#ifdef CHANGE_COLOR
|
#ifdef CHANGE_COLOR
|
||||||
extern int FDECL(alternative_palette, (char *));
|
extern int FDECL(alternative_palette, (char *));
|
||||||
#endif
|
#endif
|
||||||
#endif /* WIN32CON */
|
|
||||||
|
|
||||||
#endif /* NTCONF_H */
|
#endif /* NTCONF_H */
|
||||||
|
|||||||
+3
-3
@@ -241,15 +241,15 @@ E int FDECL(term_putc, (int c));
|
|||||||
E int FDECL(term_flush, (void *desc));
|
E int FDECL(term_flush, (void *desc));
|
||||||
E int FDECL(term_puts, (const char *str));
|
E int FDECL(term_puts, (const char *str));
|
||||||
# endif /* MAC */
|
# endif /* MAC */
|
||||||
# if defined(MSDOS) || defined(WIN32CON)
|
# if defined(MSDOS) || defined(WIN32)
|
||||||
# if defined(SCREEN_BIOS) || defined(SCREEN_DJGPPFAST) || defined(WIN32CON)
|
# if defined(SCREEN_BIOS) || defined(SCREEN_DJGPPFAST) || defined(WIN32)
|
||||||
# undef putchar
|
# undef putchar
|
||||||
# undef putc
|
# undef putc
|
||||||
# undef puts
|
# undef puts
|
||||||
# define putchar(x) xputc(x) /* these are in video.c, nttty.c */
|
# define putchar(x) xputc(x) /* these are in video.c, nttty.c */
|
||||||
# define putc(x) xputc(x)
|
# define putc(x) xputc(x)
|
||||||
# define puts(x) xputs(x)
|
# define puts(x) xputs(x)
|
||||||
# endif/*SCREEN_BIOS || SCREEN_DJGPPFAST || WIN32CON */
|
# endif/*SCREEN_BIOS || SCREEN_DJGPPFAST || WIN32 */
|
||||||
# ifdef POSITIONBAR
|
# ifdef POSITIONBAR
|
||||||
E void FDECL(video_update_positionbar, (char *));
|
E void FDECL(video_update_positionbar, (char *));
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
@@ -61,9 +61,14 @@ boolean resuming;
|
|||||||
set_wear((struct obj *)0); /* for side-effects of worn starting gear */
|
set_wear((struct obj *)0); /* for side-effects of worn starting gear */
|
||||||
(void) pickup(1); /* autopickup at initial location */
|
(void) pickup(1); /* autopickup at initial location */
|
||||||
} else { /* restore old game */
|
} else { /* restore old game */
|
||||||
|
#ifndef WIN32
|
||||||
update_inventory(); /* for perm_invent */
|
update_inventory(); /* for perm_invent */
|
||||||
|
#endif
|
||||||
read_engr_at(u.ux, u.uy); /* subset of pickup() */
|
read_engr_at(u.ux, u.uy); /* subset of pickup() */
|
||||||
}
|
}
|
||||||
|
#ifdef WIN32
|
||||||
|
update_inventory(); /* for perm_invent */
|
||||||
|
#endif
|
||||||
|
|
||||||
(void) encumber_msg(); /* in case they auto-picked up something */
|
(void) encumber_msg(); /* in case they auto-picked up something */
|
||||||
if (defer_see_monsters) {
|
if (defer_see_monsters) {
|
||||||
|
|||||||
+1
-1
@@ -926,7 +926,7 @@ assign_hilite(sa,sb,sc,sd)
|
|||||||
char *sa, *sb, *sc, *sd;
|
char *sa, *sb, *sc, *sd;
|
||||||
{
|
{
|
||||||
char *tmp, *how;
|
char *tmp, *how;
|
||||||
int i, dt, idx = -1;
|
int i = -1, dt = -1, idx = -1;
|
||||||
int coloridx[2] = {-1, -1};
|
int coloridx[2] = {-1, -1};
|
||||||
boolean inverse[2] = {FALSE, FALSE};
|
boolean inverse[2] = {FALSE, FALSE};
|
||||||
boolean bold[2] = {FALSE, FALSE};
|
boolean bold[2] = {FALSE, FALSE};
|
||||||
|
|||||||
@@ -3745,10 +3745,8 @@ dotravel(VOID_ARGS)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PORT_DEBUG
|
#ifdef PORT_DEBUG
|
||||||
# ifdef WIN32CON
|
|
||||||
extern void NDECL(win32con_debug_keystrokes);
|
extern void NDECL(win32con_debug_keystrokes);
|
||||||
extern void NDECL(win32con_handler_info);
|
extern void NDECL(win32con_handler_info);
|
||||||
# endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
wiz_port_debug()
|
wiz_port_debug()
|
||||||
@@ -3762,9 +3760,9 @@ wiz_port_debug()
|
|||||||
char *menutext;
|
char *menutext;
|
||||||
void NDECL((*fn));
|
void NDECL((*fn));
|
||||||
} menu_selections[] = {
|
} menu_selections[] = {
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
{"test win32 keystrokes", win32con_debug_keystrokes},
|
{"test win32 keystrokes (tty only)", win32con_debug_keystrokes},
|
||||||
{"show keystroke handler information", win32con_handler_info},
|
{"show keystroke handler information (tty only)", win32con_handler_info},
|
||||||
#endif
|
#endif
|
||||||
{(char *)0, (void NDECL((*)))0} /* array terminator */
|
{(char *)0, (void NDECL((*)))0} /* array terminator */
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -81,7 +81,7 @@ dumpit()
|
|||||||
s_level *x;
|
s_level *x;
|
||||||
branch *br;
|
branch *br;
|
||||||
|
|
||||||
if (!showdebug(__FILE__)) return;
|
if (!explicitdebug(__FILE__)) return;
|
||||||
|
|
||||||
for(i = 0; i < n_dgns; i++) {
|
for(i = 0; i < n_dgns; i++) {
|
||||||
fprintf(stderr, "\n#%d \"%s\" (%s):\n", i,
|
fprintf(stderr, "\n#%d \"%s\" (%s):\n", i,
|
||||||
|
|||||||
+11
-5
@@ -1068,7 +1068,7 @@ get_saved_games()
|
|||||||
#if defined(SELECTSAVED)
|
#if defined(SELECTSAVED)
|
||||||
int n, j = 0;
|
int n, j = 0;
|
||||||
char **result = 0;
|
char **result = 0;
|
||||||
# ifdef WIN32CON
|
# ifdef WIN32
|
||||||
{
|
{
|
||||||
char *foundfile;
|
char *foundfile;
|
||||||
const char *fq_save;
|
const char *fq_save;
|
||||||
@@ -3256,11 +3256,16 @@ assure_syscf_file() {
|
|||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
/* used by debugpline() to decide whether to issue a message
|
/* used by debugpline() to decide whether to issue a message
|
||||||
from a partiular source file; caller passes __FILE__ and we check
|
* from a partiular source file; caller passes __FILE__ and we check
|
||||||
whether it is in the source file list supplied by SYSCF's DEBUGFILES */
|
* whether it is in the source file list supplied by SYSCF's DEBUGFILES
|
||||||
|
*
|
||||||
|
* pass FALSE to override wildcard matching; useful for files
|
||||||
|
* like dungeon.c and questpgr.c, which generate a ridiculous amount of
|
||||||
|
* output if DEBUG is defined and effectively block the use of a wildcard */
|
||||||
boolean
|
boolean
|
||||||
showdebug(filename)
|
debugcore(filename, wildcards)
|
||||||
const char *filename;
|
const char *filename;
|
||||||
|
boolean wildcards;
|
||||||
{
|
{
|
||||||
const char *debugfiles, *p;
|
const char *debugfiles, *p;
|
||||||
|
|
||||||
@@ -3303,7 +3308,7 @@ const char *filename;
|
|||||||
* attempt a wildcard match against each element, but that would be
|
* attempt a wildcard match against each element, but that would be
|
||||||
* overkill for the intended usage.]
|
* overkill for the intended usage.]
|
||||||
*/
|
*/
|
||||||
if (pmatch(debugfiles, filename))
|
if (wildcards && pmatch(debugfiles, filename))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
/* check whether filename is an element of the list */
|
/* check whether filename is an element of the list */
|
||||||
@@ -3316,6 +3321,7 @@ const char *filename;
|
|||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /*DEBUG*/
|
#endif /*DEBUG*/
|
||||||
|
|
||||||
/* ---------- BEGIN TRIBUTE ----------- */
|
/* ---------- BEGIN TRIBUTE ----------- */
|
||||||
|
|||||||
+1
-1
@@ -1130,7 +1130,7 @@ domove()
|
|||||||
register struct monst *mtmp;
|
register struct monst *mtmp;
|
||||||
register struct rm *tmpr;
|
register struct rm *tmpr;
|
||||||
register xchar x,y;
|
register xchar x,y;
|
||||||
struct trap *trap = (struct trap *)0;
|
struct trap *trap = NULL;
|
||||||
int wtcap;
|
int wtcap;
|
||||||
boolean on_ice;
|
boolean on_ice;
|
||||||
xchar chainx, chainy, ballx, bally; /* ball&chain new positions */
|
xchar chainx, chainy, ballx, bally; /* ball&chain new positions */
|
||||||
|
|||||||
@@ -939,6 +939,8 @@ struct obj *otmp;
|
|||||||
{
|
{
|
||||||
int otyp = otmp->otyp, newload = otmp->owt;
|
int otyp = otmp->otyp, newload = otmp->owt;
|
||||||
struct permonst *mdat = mtmp->data;
|
struct permonst *mdat = mtmp->data;
|
||||||
|
short nattk = 0;
|
||||||
|
boolean glomper = FALSE;
|
||||||
|
|
||||||
if (notake(mdat)) return FALSE; /* can't carry anything */
|
if (notake(mdat)) return FALSE; /* can't carry anything */
|
||||||
|
|
||||||
@@ -951,6 +953,21 @@ struct obj *otmp;
|
|||||||
(otyp != BELL_OF_OPENING || !is_covetous(mdat)))
|
(otyp != BELL_OF_OPENING || !is_covetous(mdat)))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
/* monsters without hands can't pick up multiple objects at once
|
||||||
|
* unless they have an engulfing attack
|
||||||
|
*
|
||||||
|
* ...dragons, of course, can always carry gold pieces somehow */
|
||||||
|
if (otmp->quan > 1) {
|
||||||
|
for (nattk = 0; nattk < NATTK; nattk++)
|
||||||
|
glomper = (glomper || mtmp->data->mattk[nattk].aatyp == AT_ENGL);
|
||||||
|
|
||||||
|
if ((mtmp->data->mflags1 & M1_NOHANDS) && !glomper
|
||||||
|
&& (!(mtmp->data->mlet == S_DRAGON
|
||||||
|
&& otmp->oclass == COIN_CLASS))) {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Steeds don't pick up stuff (to avoid shop abuse) */
|
/* Steeds don't pick up stuff (to avoid shop abuse) */
|
||||||
if (mtmp == u.usteed) return (FALSE);
|
if (mtmp == u.usteed) return (FALSE);
|
||||||
if (mtmp->isshk) return(TRUE); /* no limit */
|
if (mtmp->isshk) return(TRUE); /* no limit */
|
||||||
|
|||||||
+9
-9
@@ -207,7 +207,7 @@ static struct Bool_Opt
|
|||||||
{"toptenwin",&iflags.toptenwin, FALSE, SET_IN_GAME},
|
{"toptenwin",&iflags.toptenwin, FALSE, SET_IN_GAME},
|
||||||
{"travel", &flags.travelcmd, TRUE, SET_IN_GAME},
|
{"travel", &flags.travelcmd, TRUE, SET_IN_GAME},
|
||||||
{"use_darkgray", &iflags.wc2_darkgray, TRUE, SET_IN_FILE},
|
{"use_darkgray", &iflags.wc2_darkgray, TRUE, SET_IN_FILE},
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
{"use_inverse", &iflags.wc_inverse, TRUE, SET_IN_GAME}, /*WC*/
|
{"use_inverse", &iflags.wc_inverse, TRUE, SET_IN_GAME}, /*WC*/
|
||||||
#else
|
#else
|
||||||
{"use_inverse", &iflags.wc_inverse, FALSE, SET_IN_GAME}, /*WC*/
|
{"use_inverse", &iflags.wc_inverse, FALSE, SET_IN_GAME}, /*WC*/
|
||||||
@@ -312,7 +312,7 @@ static struct Comp_Opt
|
|||||||
MAXOCLASSES, SET_IN_GAME },
|
MAXOCLASSES, SET_IN_GAME },
|
||||||
#ifdef CHANGE_COLOR
|
#ifdef CHANGE_COLOR
|
||||||
{ "palette",
|
{ "palette",
|
||||||
# ifndef WIN32CON
|
# ifndef WIN32
|
||||||
"palette (00c/880/-fff is blue/yellow/reverse white)",
|
"palette (00c/880/-fff is blue/yellow/reverse white)",
|
||||||
15 , SET_IN_GAME },
|
15 , SET_IN_GAME },
|
||||||
# else
|
# else
|
||||||
@@ -373,7 +373,7 @@ static struct Comp_Opt
|
|||||||
{ "videoshades", "gray shades to map to black/gray/white",
|
{ "videoshades", "gray shades to map to black/gray/white",
|
||||||
32, DISP_IN_GAME },
|
32, DISP_IN_GAME },
|
||||||
#endif
|
#endif
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
{"subkeyvalue", "override keystroke value", 7, SET_IN_FILE},
|
{"subkeyvalue", "override keystroke value", 7, SET_IN_FILE},
|
||||||
#endif
|
#endif
|
||||||
{ "windowcolors", "the foreground/background colors of windows", /*WC*/
|
{ "windowcolors", "the foreground/background colors of windows", /*WC*/
|
||||||
@@ -1872,7 +1872,7 @@ boolean tinitial, tfrom_file;
|
|||||||
) {
|
) {
|
||||||
int color_number, color_incr;
|
int color_number, color_incr;
|
||||||
|
|
||||||
# ifndef WIN32CON
|
# ifndef WIN32
|
||||||
if (duplicate) complain_about_duplicate(opts,1);
|
if (duplicate) complain_about_duplicate(opts,1);
|
||||||
# endif
|
# endif
|
||||||
# ifdef MAC
|
# ifdef MAC
|
||||||
@@ -1894,7 +1894,7 @@ boolean tinitial, tfrom_file;
|
|||||||
# ifdef MAC
|
# ifdef MAC
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
op = string_for_opt(opts, TRUE);
|
op = string_for_opt(opts, TRUE);
|
||||||
if (!alternative_palette(op))
|
if (!alternative_palette(op))
|
||||||
badoption(opts);
|
badoption(opts);
|
||||||
@@ -1940,7 +1940,7 @@ boolean tinitial, tfrom_file;
|
|||||||
color_number += color_incr;
|
color_number += color_incr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# endif /* !WIN32CON */
|
# endif /* !WIN32 */
|
||||||
if (!initial) {
|
if (!initial) {
|
||||||
need_redraw = TRUE;
|
need_redraw = TRUE;
|
||||||
}
|
}
|
||||||
@@ -2061,7 +2061,7 @@ goodfruit:
|
|||||||
if (duplicate) complain_about_duplicate(opts,1);
|
if (duplicate) complain_about_duplicate(opts,1);
|
||||||
if (negated) bad_negation(fullname, FALSE);
|
if (negated) bad_negation(fullname, FALSE);
|
||||||
else if ((op = string_for_opt(opts, negated))) {
|
else if ((op = string_for_opt(opts, negated))) {
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
(void)strncpy(iflags.altkeyhandler, op, MAX_ALTKEYHANDLER - 5);
|
(void)strncpy(iflags.altkeyhandler, op, MAX_ALTKEYHANDLER - 5);
|
||||||
load_keyboard_handler();
|
load_keyboard_handler();
|
||||||
#endif
|
#endif
|
||||||
@@ -2619,7 +2619,7 @@ goodfruit:
|
|||||||
/* no duplicate complaint here */
|
/* no duplicate complaint here */
|
||||||
if (negated) bad_negation(fullname, FALSE);
|
if (negated) bad_negation(fullname, FALSE);
|
||||||
else {
|
else {
|
||||||
#if defined(WIN32CON)
|
#if defined(WIN32)
|
||||||
op = string_for_opt(opts, 0);
|
op = string_for_opt(opts, 0);
|
||||||
map_subkeyvalue(op);
|
map_subkeyvalue(op);
|
||||||
#endif
|
#endif
|
||||||
@@ -3972,7 +3972,7 @@ char *buf;
|
|||||||
defopt);
|
defopt);
|
||||||
else if (!strcmp(optname,"align"))
|
else if (!strcmp(optname,"align"))
|
||||||
Sprintf(buf, "%s", rolestring(flags.initalign, aligns, adj));
|
Sprintf(buf, "%s", rolestring(flags.initalign, aligns, adj));
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
else if (!strcmp(optname,"altkeyhandler"))
|
else if (!strcmp(optname,"altkeyhandler"))
|
||||||
Sprintf(buf, "%s", iflags.altkeyhandler[0] ?
|
Sprintf(buf, "%s", iflags.altkeyhandler[0] ?
|
||||||
iflags.altkeyhandler : "default");
|
iflags.altkeyhandler : "default");
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ dump_qtlist() /* dump the character msg list to check appearance */
|
|||||||
{
|
{
|
||||||
struct qtmsg *msg;
|
struct qtmsg *msg;
|
||||||
|
|
||||||
if (!showdebug(__FILE__)) return;
|
if (!explicitdebug(__FILE__)) return;
|
||||||
|
|
||||||
for (msg = qt_list.chrole; msg->msgnum > 0; msg++) {
|
for (msg = qt_list.chrole; msg->msgnum > 0; msg++) {
|
||||||
pline("msgnum %d: delivery %c",
|
pline("msgnum %d: delivery %c",
|
||||||
|
|||||||
+8
-8
@@ -2320,14 +2320,14 @@ create_particular()
|
|||||||
pline1(thats_enough_tries);
|
pline1(thats_enough_tries);
|
||||||
} else {
|
} else {
|
||||||
if (!randmonst) {
|
if (!randmonst) {
|
||||||
firstchoice = which;
|
firstchoice = which;
|
||||||
if (cant_revive(&which, FALSE, (struct obj *)0)) {
|
if (cant_revive(&which, FALSE, (struct obj *)0)) {
|
||||||
/* wizard mode can override handling of special monsters */
|
/* wizard mode can override handling of special monsters */
|
||||||
Sprintf(buf, "Creating %s instead; force %s?",
|
Sprintf(buf, "Creating %s instead; force %s?",
|
||||||
mons[which].mname, mons[firstchoice].mname);
|
mons[which].mname, mons[firstchoice].mname);
|
||||||
if (yn(buf) == 'y') which = firstchoice;
|
if (yn(buf) == 'y') which = firstchoice;
|
||||||
}
|
}
|
||||||
whichpm = &mons[which];
|
whichpm = &mons[which];
|
||||||
}
|
}
|
||||||
for (i = 0; i <= multi; i++) {
|
for (i = 0; i <= multi; i++) {
|
||||||
if (monclass != MAXMCLASSES)
|
if (monclass != MAXMCLASSES)
|
||||||
|
|||||||
@@ -385,6 +385,10 @@ opvar_free_x(ov)
|
|||||||
Free(ov);
|
Free(ov);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Borland doesn't know __FUNCTION__ */
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#define __FUNCTION__ __FUNC__
|
||||||
|
#endif
|
||||||
#define opvar_free(ov) { if (ov) { opvar_free_x(ov); ov = NULL; } else impossible("opvar_free(), %s", __FUNCTION__); }
|
#define opvar_free(ov) { if (ov) { opvar_free_x(ov); ov = NULL; } else impossible("opvar_free(), %s", __FUNCTION__); }
|
||||||
|
|
||||||
struct opvar *
|
struct opvar *
|
||||||
|
|||||||
+80
-11
@@ -56,6 +56,8 @@ extern void FDECL(nethack_exit,(int));
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
extern boolean getreturn_enabled; /* from sys/share/pcsys.c */
|
extern boolean getreturn_enabled; /* from sys/share/pcsys.c */
|
||||||
extern int redirect_stdout; /* from sys/share/pcsys.c */
|
extern int redirect_stdout; /* from sys/share/pcsys.c */
|
||||||
|
char *NDECL(exename);
|
||||||
|
char default_window_sys[] = "mswin";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MSWIN_GRAPHICS)
|
#if defined(MSWIN_GRAPHICS)
|
||||||
@@ -80,7 +82,7 @@ unsigned _stklen = STKSIZ;
|
|||||||
* to help MinGW decide which entry point to choose. If both main and
|
* to help MinGW decide which entry point to choose. If both main and
|
||||||
* WinMain exist, the resulting executable won't work correctly.
|
* WinMain exist, the resulting executable won't work correctly.
|
||||||
*/
|
*/
|
||||||
#ifndef MSWIN_GRAPHICS
|
#ifndef __MINGW32__
|
||||||
int
|
int
|
||||||
main(argc,argv)
|
main(argc,argv)
|
||||||
int argc;
|
int argc;
|
||||||
@@ -89,6 +91,10 @@ char *argv[];
|
|||||||
boolean resuming;
|
boolean resuming;
|
||||||
|
|
||||||
sys_early_init();
|
sys_early_init();
|
||||||
|
#ifdef WIN32
|
||||||
|
Strcpy(default_window_sys, "tty");
|
||||||
|
#endif
|
||||||
|
|
||||||
resuming = pcmain(argc,argv);
|
resuming = pcmain(argc,argv);
|
||||||
#ifdef LAN_FEATURES
|
#ifdef LAN_FEATURES
|
||||||
init_lan_features();
|
init_lan_features();
|
||||||
@@ -98,7 +104,7 @@ char *argv[];
|
|||||||
/*NOTREACHED*/
|
/*NOTREACHED*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /*MSWIN_GRAPHICS*/
|
#endif
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
pcmain(argc,argv)
|
pcmain(argc,argv)
|
||||||
@@ -119,6 +125,17 @@ char *argv[];
|
|||||||
#endif
|
#endif
|
||||||
boolean resuming = FALSE; /* assume new game */
|
boolean resuming = FALSE; /* assume new game */
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
/* set these appropriately for VS debugging */
|
||||||
|
_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_DEBUG);
|
||||||
|
_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_DEBUG); /* | _CRTDBG_MODE_FILE);*/
|
||||||
|
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
|
||||||
|
/*| _CRTDBG_MODE_FILE | _CRTDBG_MODE_WNDW);*/
|
||||||
|
/* use STDERR by default
|
||||||
|
_CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDERR);
|
||||||
|
_CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__BORLANDC__) && !defined(_WIN32)
|
#if defined(__BORLANDC__) && !defined(_WIN32)
|
||||||
startup();
|
startup();
|
||||||
#endif
|
#endif
|
||||||
@@ -132,7 +149,11 @@ char *argv[];
|
|||||||
#endif
|
#endif
|
||||||
hname = "NetHack"; /* used for syntax messages */
|
hname = "NetHack"; /* used for syntax messages */
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
choose_windows(DEFAULT_WINDOW_SYS);
|
choose_windows(DEFAULT_WINDOW_SYS);
|
||||||
|
#else
|
||||||
|
choose_windows(default_window_sys);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(AMIGA) && !defined(GNUDOS)
|
#if !defined(AMIGA) && !defined(GNUDOS)
|
||||||
/* Save current directory and make sure it gets restored when
|
/* Save current directory and make sure it gets restored when
|
||||||
@@ -207,7 +228,7 @@ char *argv[];
|
|||||||
# endif
|
# endif
|
||||||
ami_wininit_data();
|
ami_wininit_data();
|
||||||
#endif
|
#endif
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
save_getreturn_status = getreturn_enabled;
|
save_getreturn_status = getreturn_enabled;
|
||||||
raw_clear_screen();
|
raw_clear_screen();
|
||||||
getreturn_enabled = TRUE;
|
getreturn_enabled = TRUE;
|
||||||
@@ -257,16 +278,14 @@ char *argv[];
|
|||||||
* may do a prscore().
|
* may do a prscore().
|
||||||
*/
|
*/
|
||||||
if (!strncmp(argv[1], "-s", 2)) {
|
if (!strncmp(argv[1], "-s", 2)) {
|
||||||
#if defined(MSWIN_GRAPHICS) || defined(WIN32CON)
|
#if defined(WIN32)
|
||||||
int sfd = (int)_fileno(stdout);
|
int sfd = (int)_fileno(stdout);
|
||||||
redirect_stdout = (sfd >= 0) ? !isatty(sfd) : 0;
|
redirect_stdout = (sfd >= 0) ? !isatty(sfd) : 0;
|
||||||
|
|
||||||
# ifdef MSWIN_GRAPHICS
|
|
||||||
if (!redirect_stdout) {
|
if (!redirect_stdout) {
|
||||||
raw_printf("-s is not supported for the Graphical Interface\n");
|
raw_printf("-s is not supported for the Graphical Interface\n");
|
||||||
nethack_exit(EXIT_SUCCESS);
|
nethack_exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CHDIR) && !defined(NOCWD_ASSUMPTIONS)
|
#if defined(CHDIR) && !defined(NOCWD_ASSUMPTIONS)
|
||||||
@@ -326,11 +345,22 @@ char *argv[];
|
|||||||
chdirx(hackdir,1);
|
chdirx(hackdir,1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MSDOS
|
#if defined(MSDOS) || defined (WIN32)
|
||||||
/* We do this early for MSDOS because there are several
|
/* In 3.6.0, several ports process options before they init
|
||||||
* display/tile related options that affect init_nhwindows()
|
* the window port. This allows settings that impact window
|
||||||
|
* ports to be specified or read from the sys or user config files.
|
||||||
*/
|
*/
|
||||||
process_options(argc, argv);
|
process_options(argc, argv);
|
||||||
|
|
||||||
|
# ifdef WIN32
|
||||||
|
/*
|
||||||
|
if (!strncmpi(windowprocs.name, "mswin", 5))
|
||||||
|
NHWinMainInit();
|
||||||
|
else
|
||||||
|
*/
|
||||||
|
if (!strncmpi(windowprocs.name, "tty", 3))
|
||||||
|
nttty_open(1);
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MSDOS) || defined(WIN32)
|
#if defined(MSDOS) || defined(WIN32)
|
||||||
@@ -343,14 +373,14 @@ char *argv[];
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MSDOS
|
#if defined(MSDOS) || defined(WIN32)
|
||||||
init_nhwindows(&argc,argv);
|
init_nhwindows(&argc,argv);
|
||||||
#else
|
#else
|
||||||
init_nhwindows(&argc,argv);
|
init_nhwindows(&argc,argv);
|
||||||
process_options(argc, argv);
|
process_options(argc, argv);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
toggle_mouse_support(); /* must come after process_options */
|
toggle_mouse_support(); /* must come after process_options */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -627,6 +657,19 @@ char *argv[];
|
|||||||
case 'l':
|
case 'l':
|
||||||
bigscreen = -1;
|
bigscreen = -1;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
#ifdef WIN32
|
||||||
|
case 'w': /* windowtype */
|
||||||
|
if (strncmpi(&argv[0][2],"tty", 3)) {
|
||||||
|
nttty_open(1);
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
else {
|
||||||
|
NHWinMainInit();
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
choose_windows(&argv[0][2]);
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
case '@':
|
case '@':
|
||||||
flags.randomall = 1;
|
flags.randomall = 1;
|
||||||
@@ -741,6 +784,32 @@ authorize_wizard_mode()
|
|||||||
#define PATH_SEPARATOR '\\'
|
#define PATH_SEPARATOR '\\'
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
static char exenamebuf[PATHLEN];
|
||||||
|
|
||||||
|
char *
|
||||||
|
exename()
|
||||||
|
{
|
||||||
|
int bsize = PATHLEN;
|
||||||
|
char *tmp = exenamebuf, *tmp2;
|
||||||
|
|
||||||
|
# ifdef UNICODE
|
||||||
|
{
|
||||||
|
TCHAR wbuf[PATHLEN * 4];
|
||||||
|
GetModuleFileName((HANDLE)0, wbuf, PATHLEN * 4);
|
||||||
|
WideCharToMultiByte(CP_ACP, 0, wbuf, -1, tmp, bsize, NULL, NULL);
|
||||||
|
}
|
||||||
|
# else
|
||||||
|
*(tmp + GetModuleFileName((HANDLE)0, tmp, bsize)) = '\0';
|
||||||
|
# endif
|
||||||
|
tmp2 = strrchr(tmp, PATH_SEPARATOR);
|
||||||
|
if (tmp2) *tmp2 = '\0';
|
||||||
|
tmp2++;
|
||||||
|
return tmp2;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define EXEPATHBUFSZ 256
|
#define EXEPATHBUFSZ 256
|
||||||
char exepathbuf[EXEPATHBUFSZ];
|
char exepathbuf[EXEPATHBUFSZ];
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -54,7 +54,7 @@ STATIC_DCL boolean NDECL(comspec_exists);
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
extern int GUILaunched; /* from nttty.c */
|
extern int GUILaunched; /* from nttty.c */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -411,7 +411,7 @@ const char *str;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef WIN32CON
|
#ifndef WIN32
|
||||||
void
|
void
|
||||||
msmsg VA_DECL(const char *, fmt)
|
msmsg VA_DECL(const char *, fmt)
|
||||||
VA_START(fmt);
|
VA_START(fmt);
|
||||||
@@ -529,7 +529,7 @@ STATIC_OVL void msexit()
|
|||||||
restore_colors();
|
restore_colors();
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
/* Only if we started from the GUI, not the command prompt,
|
/* Only if we started from the GUI, not the command prompt,
|
||||||
* we need to get one last return, so the score board does
|
* we need to get one last return, so the score board does
|
||||||
* not vanish instantly after being created.
|
* not vanish instantly after being created.
|
||||||
|
|||||||
+6
-4
@@ -192,8 +192,9 @@ getlock()
|
|||||||
if(c == 'y' || c == 'Y')
|
if(c == 'y' || c == 'Y')
|
||||||
# ifndef SELF_RECOVER
|
# ifndef SELF_RECOVER
|
||||||
if(eraseoldlocks()) {
|
if(eraseoldlocks()) {
|
||||||
# if defined(WIN32CON)
|
# if defined(WIN32)
|
||||||
clear_screen(); /* display gets fouled up otherwise */
|
if (!strncmpi(windowprocs.name, "tty", 3))
|
||||||
|
clear_screen(); /* display gets fouled up otherwise */
|
||||||
# endif
|
# endif
|
||||||
goto gotlock;
|
goto gotlock;
|
||||||
} else {
|
} else {
|
||||||
@@ -205,8 +206,9 @@ getlock()
|
|||||||
}
|
}
|
||||||
# else /*SELF_RECOVER*/
|
# else /*SELF_RECOVER*/
|
||||||
if(recover_savefile()) {
|
if(recover_savefile()) {
|
||||||
# if defined(WIN32CON)
|
# if defined(WIN32)
|
||||||
clear_screen(); /* display gets fouled up otherwise */
|
if (!strncmpi(windowprocs.name, "tty", 3))
|
||||||
|
clear_screen(); /* display gets fouled up otherwise */
|
||||||
# endif
|
# endif
|
||||||
goto gotlock;
|
goto gotlock;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -14,6 +14,11 @@ WIZARDS=root games
|
|||||||
# Uses the same syntax as the WIZARDS option above.
|
# Uses the same syntax as the WIZARDS option above.
|
||||||
#SHELLERS=
|
#SHELLERS=
|
||||||
|
|
||||||
|
# Show debugging information originating from these source files.
|
||||||
|
# Use '*' for all, or list source files separated by spaces.
|
||||||
|
# Only available if game has been compiled with DEBUG.
|
||||||
|
#DEBUGFILES=*
|
||||||
|
|
||||||
# Users allowed to use #exploremode. Same syntax as WIZARDS above.
|
# Users allowed to use #exploremode. Same syntax as WIZARDS above.
|
||||||
EXPLORERS=*
|
EXPLORERS=*
|
||||||
|
|
||||||
|
|||||||
+258
-176
@@ -1,7 +1,8 @@
|
|||||||
# NetHack 3.6 Makefile.bcc $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
# NetHack 3.6 Makefile.bcc $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
||||||
# NetHack 3.6 Makefile.bcc $Date: 2011/10/11 02:37:22 $ $Revision: 1.46 $
|
# NetHack 3.6 Makefile.bcc $Date: 2011/10/11 02:37:22 $ $Revision: 1.46 $
|
||||||
# Copyright (c) NetHack PC Development Team 1993-2010
|
# Copyright (c) NetHack PC Development Team 1993-2015
|
||||||
#
|
#
|
||||||
|
#==============================================================================
|
||||||
#
|
#
|
||||||
# IMPORTANT NOTE: This Makefile has not been tested for 3.5.x.
|
# IMPORTANT NOTE: This Makefile has not been tested for 3.5.x.
|
||||||
#
|
#
|
||||||
@@ -14,15 +15,15 @@
|
|||||||
# If you don't have this compiler, you can get it at:
|
# If you don't have this compiler, you can get it at:
|
||||||
# http://www.borland.com/bcppbuilder/freecompiler/
|
# http://www.borland.com/bcppbuilder/freecompiler/
|
||||||
#
|
#
|
||||||
# This makefile is set up to assume the directories are extracted at the
|
#==============================================================================
|
||||||
# root, but this can be changed by modifying the bccroot and related
|
|
||||||
# variables.
|
|
||||||
#
|
#
|
||||||
# This is used for building two versions of NetHack:
|
# This is used for building two versions of NetHack:
|
||||||
|
#
|
||||||
# A tty port utilizing the Win32 Console I/O subsystem, Console
|
# A tty port utilizing the Win32 Console I/O subsystem, Console
|
||||||
# NetHack;
|
# NetHack.exe
|
||||||
|
#
|
||||||
# A Win32 native port built on the Windows API, Graphical NetHack or
|
# A Win32 native port built on the Windows API, Graphical NetHack or
|
||||||
# NetHackW.
|
# NetHackW.exe
|
||||||
#
|
#
|
||||||
# In addition to your C compiler,
|
# In addition to your C compiler,
|
||||||
#
|
#
|
||||||
@@ -31,32 +32,64 @@
|
|||||||
# .y yacc (such as bison)
|
# .y yacc (such as bison)
|
||||||
# .l lex (such as flex)
|
# .l lex (such as flex)
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# If you have any questions read the sys/winnt/Install.nt file included
|
# If you have any questions read the sys/winnt/Install.nt file included
|
||||||
# with the distribution.
|
# with the distribution.
|
||||||
#
|
|
||||||
# --
|
|
||||||
# Yitzhak Sapir
|
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
# Do not delete the following 3 lines.
|
|
||||||
#
|
#
|
||||||
TARGETOS=BOTH
|
TARGETOS=BOTH
|
||||||
APPVER=4.0
|
APPVER=5.0
|
||||||
|
|
||||||
bccbin = $(MAKEDIR)
|
bccbin = $(MAKEDIR)
|
||||||
bccroot = $(MAKEDIR)\..
|
bccroot = $(MAKEDIR)\..
|
||||||
bccinc = $(bccroot)\include
|
bccinc = $(bccroot)\include
|
||||||
bcclib = $(bccroot)\lib
|
bcclib = $(bccroot)\lib
|
||||||
|
|
||||||
!IFNDEF APPVER
|
#==============================================================================
|
||||||
APPVER = 4.0
|
# BUILD DECISIONS SECTION
|
||||||
!ENDIF
|
#
|
||||||
|
# There are currently only 3 decisions that you have to make.
|
||||||
|
# 1. 32-bit or 64-bit?
|
||||||
|
# 2. Where do you want your build to end up?
|
||||||
|
# 3. Do you want debug information in the executable?
|
||||||
|
#
|
||||||
|
#---------------------------------------------------------------
|
||||||
|
#==============================================================================
|
||||||
|
# 1. 32-bit or 64-bit? (comment/uncomment appropriate TARGET_CPU line)
|
||||||
|
#
|
||||||
|
# TODO
|
||||||
|
#---------------------------------------------------------------
|
||||||
|
# 2. Where do you want the game to be built (which folder)?
|
||||||
|
#
|
||||||
|
GAMEDIR = ..\binary # Game directory
|
||||||
|
|
||||||
|
#
|
||||||
|
#---------------------------------------------------------------
|
||||||
|
# 3. Do you want debug information in the executable?
|
||||||
|
#
|
||||||
|
|
||||||
|
DEBUGINFO = Y
|
||||||
|
|
||||||
|
#==============================================================================
|
||||||
|
# This marks the end of the BUILD DECISIONS section.
|
||||||
|
#==============================================================================
|
||||||
|
#
|
||||||
|
#===============================================
|
||||||
|
#======= End of Modification Section ===========
|
||||||
|
#===============================================
|
||||||
|
#
|
||||||
|
################################################
|
||||||
|
# #
|
||||||
|
# Nothing below here should have to be changed.#
|
||||||
|
# #
|
||||||
|
################################################
|
||||||
|
|
||||||
|
#
|
||||||
|
#==============================================================================
|
||||||
# Graphical interface
|
# Graphical interface
|
||||||
# Set to Y for a graphical version
|
# Set to Y for a graphical version
|
||||||
# Set to anything else (or undefine) for a tty version
|
# Set to anything else (or undefine) for a tty version
|
||||||
|
|
||||||
#GRAPHICAL = Y
|
GRAPHICAL = Y
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
# Set to Y for Debug support (to produce full map files, listing files, and debug information)
|
# Set to Y for Debug support (to produce full map files, listing files, and debug information)
|
||||||
@@ -96,16 +129,12 @@ startobjg = $(startobj)
|
|||||||
!ENDIF
|
!ENDIF
|
||||||
libsmt = $(bcclib)\cw32mt.lib $(bcclib)\import32.lib
|
libsmt = $(bcclib)\cw32mt.lib $(bcclib)\import32.lib
|
||||||
|
|
||||||
#
|
|
||||||
# Set the gamedir according to your preference.
|
|
||||||
# It must be present prior to compilation.
|
|
||||||
|
|
||||||
!IF "$(GRAPHICAL)" == "Y"
|
!IF "$(GRAPHICAL)" == "Y"
|
||||||
GAME = NetHackW # Game Name
|
GAME = NetHackW # Game Name
|
||||||
!ELSE
|
!ELSE
|
||||||
GAME = NetHack # Game Name
|
GAME = NetHack # Game Name
|
||||||
!ENDIF
|
!ENDIF
|
||||||
GAMEDIR = ..\binary # Game directory
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Source directories. Makedefs hardcodes these, don't change them.
|
# Source directories. Makedefs hardcodes these, don't change them.
|
||||||
@@ -202,14 +231,6 @@ RANDOM = $(OBJ)\random.o
|
|||||||
|
|
||||||
PRECOMPHEAD = N # set to Y if you want to use precomp. headers
|
PRECOMPHEAD = N # set to Y if you want to use precomp. headers
|
||||||
|
|
||||||
#===============================================
|
|
||||||
#======= End of Modification Section ===========
|
|
||||||
#===============================================
|
|
||||||
################################################
|
|
||||||
# #
|
|
||||||
# Nothing below here should have to be changed.#
|
|
||||||
# #
|
|
||||||
################################################
|
|
||||||
|
|
||||||
!IF "$(GRAPHICAL)" == "Y"
|
!IF "$(GRAPHICAL)" == "Y"
|
||||||
WINPORT = $(O)tile.o $(O)mhaskyn.o $(O)mhdlg.o \
|
WINPORT = $(O)tile.o $(O)mhaskyn.o $(O)mhdlg.o \
|
||||||
@@ -279,14 +300,159 @@ CFLAGS = $(CFLAGSBASE) $(WINPFLAG) $(DLBFLG)
|
|||||||
NHLFLAGS1 = /Gn /v /m /s /Gz /q /c
|
NHLFLAGS1 = /Gn /v /m /s /Gz /q /c
|
||||||
lflags = $(LFLAGSBASE) $(NHLFLAGS1)
|
lflags = $(LFLAGSBASE) $(NHLFLAGS1)
|
||||||
|
|
||||||
GAMEFILE = $(FDIR)\$(GAME).exe # whole thing
|
|
||||||
|
|
||||||
! IF ("$(USE_DLB)"=="Y")
|
! IF ("$(USE_DLB)"=="Y")
|
||||||
DLB = nhdat
|
DLB = nhdat
|
||||||
! ELSE
|
! ELSE
|
||||||
DLB =
|
DLB =
|
||||||
! ENDIF
|
! ENDIF
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
#================ MACROS ==================
|
||||||
|
#==========================================
|
||||||
|
# This section creates shorthand macros for many objects
|
||||||
|
# referenced later on in the Makefile.
|
||||||
|
#
|
||||||
|
|
||||||
|
DEFFILE = $(NTSYS)\$(GAME).def
|
||||||
|
|
||||||
|
#
|
||||||
|
# Shorten up the location for some files
|
||||||
|
#
|
||||||
|
|
||||||
|
O = $(OBJ)^\
|
||||||
|
|
||||||
|
U = $(UTIL)^\
|
||||||
|
|
||||||
|
#
|
||||||
|
# Utility Objects.
|
||||||
|
#
|
||||||
|
|
||||||
|
MAKESRC = $(U)makedefs.c
|
||||||
|
|
||||||
|
SPLEVSRC = $(U)lev_yacc.c $(U)lev_$(LEX).c $(U)lev_main.c $(U)panic.c
|
||||||
|
|
||||||
|
DGNCOMPSRC = $(U)dgn_yacc.c $(U)dgn_$(LEX).c $(U)dgn_main.c
|
||||||
|
|
||||||
|
MAKEOBJS = $(O)makedefs.o $(O)monst.o $(O)objects.o
|
||||||
|
|
||||||
|
SPLEVOBJS = $(O)lev_yacc.o $(O)lev_$(LEX).o $(O)lev_main.o \
|
||||||
|
$(O)alloc.o $(O)decl.o $(O)drawing.o \
|
||||||
|
$(O)monst.o $(O)objects.o $(O)panic.o
|
||||||
|
|
||||||
|
DGNCOMPOBJS = $(O)dgn_yacc.o $(O)dgn_$(LEX).o $(O)dgn_main.o \
|
||||||
|
$(O)alloc.o $(O)panic.o
|
||||||
|
|
||||||
|
RECOVOBJS = $(O)recover.o
|
||||||
|
|
||||||
|
TILEFILES = $(WSHR)\monsters.txt $(WSHR)\objects.txt $(WSHR)\other.txt
|
||||||
|
|
||||||
|
#
|
||||||
|
# These are not invoked during a normal game build in 3.4
|
||||||
|
#
|
||||||
|
TEXT_IO = $(O)tiletext.o $(O)tiletxt.o $(O)drawing.o \
|
||||||
|
$(O)decl.o $(O)monst.o $(O)objects.o
|
||||||
|
|
||||||
|
GIFREADERS = $(O)gifread.o $(O)alloc.o $(O)panic.o
|
||||||
|
|
||||||
|
PPMWRITERS = $(O)ppmwrite.o $(O)alloc.o $(O)panic.o
|
||||||
|
|
||||||
|
#
|
||||||
|
# Object files for the game itself.
|
||||||
|
#
|
||||||
|
|
||||||
|
VOBJ01 = $(O)allmain.o $(O)alloc.o $(O)apply.o $(O)artifact.o
|
||||||
|
VOBJ02 = $(O)attrib.o $(O)ball.o $(O)bones.o $(O)botl.o
|
||||||
|
VOBJ03 = $(O)cmd.o $(O)dbridge.o $(O)decl.o $(O)detect.o
|
||||||
|
VOBJ04 = $(O)dig.o $(O)display.o $(O)do.o $(O)do_name.o
|
||||||
|
VOBJ05 = $(O)do_wear.o $(O)dog.o $(O)dogmove.o $(O)dokick.o
|
||||||
|
VOBJ06 = $(O)dothrow.o $(O)drawing.o $(O)dungeon.o $(O)eat.o
|
||||||
|
VOBJ07 = $(O)end.o $(O)engrave.o $(O)exper.o $(O)explode.o
|
||||||
|
VOBJ08 = $(O)extralev.o $(O)files.o $(O)fountain.o $(O)hack.o
|
||||||
|
VOBJ09 = $(O)hacklib.o $(O)invent.o $(O)light.o $(O)lock.o
|
||||||
|
VOBJ10 = $(O)mail.o $(O)pcmain.o $(O)makemon.o $(O)mapglyph.o $(O)mcastu.o
|
||||||
|
VOBJ11 = $(O)mhitm.o $(O)mhitu.o $(O)minion.o $(O)mklev.o
|
||||||
|
VOBJ12 = $(O)mkmap.o $(O)mkmaze.o $(O)mkobj.o $(O)mkroom.o
|
||||||
|
VOBJ13 = $(O)mon.o $(O)mondata.o $(O)monmove.o $(O)monst.o
|
||||||
|
VOBJ14 = $(O)monstr.o $(O)mplayer.o $(O)mthrowu.o $(O)muse.o
|
||||||
|
VOBJ15 = $(O)music.o $(O)o_init.o $(O)objects.o $(O)objnam.o
|
||||||
|
VOBJ16 = $(O)options.o $(O)pager.o $(O)pickup.o $(O)pline.o
|
||||||
|
VOBJ17 = $(O)polyself.o $(O)potion.o $(O)pray.o $(O)priest.o
|
||||||
|
VOBJ18 = $(O)quest.o $(O)questpgr.o $(RANDOM) $(O)read.o
|
||||||
|
VOBJ19 = $(O)rect.o $(O)region.o $(O)restore.o $(O)rip.o
|
||||||
|
VOBJ20 = $(O)rnd.o $(O)role.o $(O)rumors.o $(O)save.o
|
||||||
|
VOBJ21 = $(O)shk.o $(O)shknam.o $(O)sit.o $(O)sounds.o
|
||||||
|
VOBJ22 = $(O)sp_lev.o $(O)spell.o $(O)steal.o $(O)steed.o
|
||||||
|
VOBJ23 = $(O)sys.o $(O)teleport.o $(O)timeout.o $(O)topten.o
|
||||||
|
VOBJ24 = $(O)track.o $(O)trap.o $(O)u_init.o $(O)uhitm.o
|
||||||
|
VOBJ25 = $(O)vault.o $(O)vis_tab.o $(O)vision.o $(O)weapon.o
|
||||||
|
VOBJ26 = $(O)were.o $(O)wield.o $(O)windows.o $(O)wizard.o
|
||||||
|
VOBJ27 = $(O)worm.o $(O)worn.o $(O)write.o $(O)zap.o
|
||||||
|
|
||||||
|
DLBOBJ = $(O)dlb.o
|
||||||
|
|
||||||
|
REGEX = $(O)cppregex.o
|
||||||
|
|
||||||
|
TTYOBJ = $(O)topl.o $(O)getline.o $(O)wintty.o
|
||||||
|
|
||||||
|
SOBJ = $(O)winnt.o $(O)pcsys.o $(O)pcunix.o \
|
||||||
|
$(SOUND) $(O)nhlan.o
|
||||||
|
|
||||||
|
OBJS = $(VOBJ01) $(VOBJ02) $(VOBJ03) $(VOBJ04) $(VOBJ05) \
|
||||||
|
$(VOBJ06) $(VOBJ07) $(VOBJ08) $(VOBJ09) $(VOBJ10) \
|
||||||
|
$(VOBJ11) $(VOBJ12) $(VOBJ13) $(VOBJ14) $(VOBJ15) \
|
||||||
|
$(VOBJ16) $(VOBJ17) $(VOBJ18) $(VOBJ19) $(VOBJ20) \
|
||||||
|
$(VOBJ21) $(VOBJ22) $(VOBJ23) $(VOBJ24) $(VOBJ25) \
|
||||||
|
$(VOBJ26) $(VOBJ27)
|
||||||
|
|
||||||
|
TILOBJ = $(WINPORT)
|
||||||
|
|
||||||
|
VVOBJ = $(O)version.o
|
||||||
|
|
||||||
|
ALLOBJ = $(TILOBJ) $(SOBJ) $(DLBOBJ) $(TTYOBJ) $(WOBJ) $(OBJS) $(VVOBJ)
|
||||||
|
|
||||||
|
|
||||||
|
!IF "$(GRAPHICAL)" == "Y"
|
||||||
|
OPTIONS_FILE = $(DAT)\guioptions
|
||||||
|
!ELSE
|
||||||
|
OPTIONS_FILE = $(DAT)\ttyoptions
|
||||||
|
!ENDIF
|
||||||
|
#==========================================
|
||||||
|
# Header file macros
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
CONFIG_H = $(INCL)\config.h $(INCL)\config1.h $(INCL)\tradstdc.h \
|
||||||
|
$(INCL)\global.h $(INCL)\coord.h $(INCL)\vmsconf.h \
|
||||||
|
$(INCL)\system.h $(INCL)\unixconf.h $(INCL)\os2conf.h \
|
||||||
|
$(INCL)\micro.h $(INCL)\pcconf.h $(INCL)\tosconf.h \
|
||||||
|
$(INCL)\amiconf.h $(INCL)\macconf.h $(INCL)\beconf.h \
|
||||||
|
$(INCL)\ntconf.h
|
||||||
|
|
||||||
|
HACK_H = $(INCL)\hack.h $(CONFIG_H) $(INCL)\context.h $(INCL)\align.h \
|
||||||
|
$(INCL)\dungeon.h $(INCL)\monsym.h $(INCL)\mkroom.h \
|
||||||
|
$(INCL)\objclass.h $(INCL)\youprop.h $(INCL)\prop.h \
|
||||||
|
$(INCL)\permonst.h $(INCL)\monattk.h \
|
||||||
|
$(INCL)\monflag.h $(INCL)\mondata.h $(INCL)\pm.h \
|
||||||
|
$(INCL)\wintype.h $(INCL)\decl.h $(INCL)\quest.h \
|
||||||
|
$(INCL)\spell.h $(INCL)\sys.h $(INCL)\color.h $(INCL)\obj.h \
|
||||||
|
$(INCL)\you.h $(INCL)\attrib.h $(INCL)\monst.h $(INCL)\lint.h \
|
||||||
|
$(INCL)\mextra.h $(INCL)\skills.h $(INCL)\onames.h \
|
||||||
|
$(INCL)\timeout.h $(INCL)\trap.h $(INCL)\flag.h $(INCL)\rm.h \
|
||||||
|
$(INCL)\vision.h $(INCL)\display.h $(INCL)\engrave.h \
|
||||||
|
$(INCL)\rect.h $(INCL)\region.h $(INCL)\winprocs.h $(INCL)\botl.h \
|
||||||
|
$(INCL)\wintty.h $(INCL)\trampoli.h
|
||||||
|
|
||||||
|
LEV_H = $(INCL)\lev.h
|
||||||
|
DGN_FILE_H = $(INCL)\dgn_file.h
|
||||||
|
LEV_COMP_H = $(INCL)\lev_comp.h
|
||||||
|
SP_LEV_H = $(INCL)\sp_lev.h
|
||||||
|
TILE_H = ..\win\share\tile.h
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Miscellaneous
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
DATABASE = $(DAT)\data.base
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
#================ RULES ==================
|
#================ RULES ==================
|
||||||
#==========================================
|
#==========================================
|
||||||
@@ -354,151 +520,6 @@ DLB =
|
|||||||
{$(WIN32)}.c{$(OBJ)}.o:
|
{$(WIN32)}.c{$(OBJ)}.o:
|
||||||
@$(cc) $(CFLAGS) -o$@ $<
|
@$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
#==========================================
|
|
||||||
#================ MACROS ==================
|
|
||||||
#==========================================
|
|
||||||
# This section creates shorthand macros for many objects
|
|
||||||
# referenced later on in the Makefile.
|
|
||||||
#
|
|
||||||
|
|
||||||
DEFFILE = $(NTSYS)\$(GAME).def
|
|
||||||
|
|
||||||
#
|
|
||||||
# Shorten up the location for some files
|
|
||||||
#
|
|
||||||
|
|
||||||
O = $(OBJ)^\
|
|
||||||
|
|
||||||
U = $(UTIL)^\
|
|
||||||
|
|
||||||
#
|
|
||||||
# Utility Objects.
|
|
||||||
#
|
|
||||||
|
|
||||||
MAKESRC = $(U)makedefs.c
|
|
||||||
|
|
||||||
SPLEVSRC = $(U)lev_yacc.c $(U)lev_$(LEX).c $(U)lev_main.c $(U)panic.c
|
|
||||||
|
|
||||||
DGNCOMPSRC = $(U)dgn_yacc.c $(U)dgn_$(LEX).c $(U)dgn_main.c
|
|
||||||
|
|
||||||
MAKEOBJS = $(O)makedefs.o $(O)monst.o $(O)objects.o
|
|
||||||
|
|
||||||
SPLEVOBJS = $(O)lev_yacc.o $(O)lev_$(LEX).o $(O)lev_main.o \
|
|
||||||
$(O)alloc.o $(O)decl.o $(O)drawing.o \
|
|
||||||
$(O)monst.o $(O)objects.o $(O)panic.o
|
|
||||||
|
|
||||||
DGNCOMPOBJS = $(O)dgn_yacc.o $(O)dgn_$(LEX).o $(O)dgn_main.o \
|
|
||||||
$(O)alloc.o $(O)panic.o
|
|
||||||
|
|
||||||
RECOVOBJS = $(O)recover.o
|
|
||||||
|
|
||||||
TILEFILES = $(WSHR)\monsters.txt $(WSHR)\objects.txt $(WSHR)\other.txt
|
|
||||||
|
|
||||||
#
|
|
||||||
# These are not invoked during a normal game build in 3.4
|
|
||||||
#
|
|
||||||
TEXT_IO = $(O)tiletext.o $(O)tiletxt.o $(O)drawing.o \
|
|
||||||
$(O)decl.o $(O)monst.o $(O)objects.o
|
|
||||||
|
|
||||||
GIFREADERS = $(O)gifread.o $(O)alloc.o $(O)panic.o
|
|
||||||
|
|
||||||
PPMWRITERS = $(O)ppmwrite.o $(O)alloc.o $(O)panic.o
|
|
||||||
|
|
||||||
#
|
|
||||||
# Object files for the game itself.
|
|
||||||
#
|
|
||||||
|
|
||||||
VOBJ01 = $(O)allmain.o $(O)alloc.o $(O)apply.o $(O)artifact.o
|
|
||||||
VOBJ02 = $(O)attrib.o $(O)ball.o $(O)bones.o $(O)botl.o
|
|
||||||
VOBJ03 = $(O)cmd.o $(O)dbridge.o $(O)decl.o $(O)detect.o
|
|
||||||
VOBJ04 = $(O)dig.o $(O)display.o $(O)do.o $(O)do_name.o
|
|
||||||
VOBJ05 = $(O)do_wear.o $(O)dog.o $(O)dogmove.o $(O)dokick.o
|
|
||||||
VOBJ06 = $(O)dothrow.o $(O)drawing.o $(O)dungeon.o $(O)eat.o
|
|
||||||
VOBJ07 = $(O)end.o $(O)engrave.o $(O)exper.o $(O)explode.o
|
|
||||||
VOBJ08 = $(O)extralev.o $(O)files.o $(O)fountain.o $(O)hack.o
|
|
||||||
VOBJ09 = $(O)hacklib.o $(O)invent.o $(O)light.o $(O)lock.o
|
|
||||||
VOBJ10 = $(O)mail.o $(O)makemon.o $(O)mapglyph.o $(O)mcastu.o
|
|
||||||
VOBJ11 = $(O)mhitm.o $(O)mhitu.o $(O)minion.o $(O)mklev.o
|
|
||||||
VOBJ12 = $(O)mkmap.o $(O)mkmaze.o $(O)mkobj.o $(O)mkroom.o
|
|
||||||
VOBJ13 = $(O)mon.o $(O)mondata.o $(O)monmove.o $(O)monst.o
|
|
||||||
VOBJ14 = $(O)monstr.o $(O)mplayer.o $(O)mthrowu.o $(O)muse.o
|
|
||||||
VOBJ15 = $(O)music.o $(O)o_init.o $(O)objects.o $(O)objnam.o
|
|
||||||
VOBJ16 = $(O)options.o $(O)pager.o $(O)pickup.o $(O)pline.o
|
|
||||||
VOBJ17 = $(O)polyself.o $(O)potion.o $(O)pray.o $(O)priest.o
|
|
||||||
VOBJ18 = $(O)quest.o $(O)questpgr.o $(RANDOM) $(O)read.o
|
|
||||||
VOBJ19 = $(O)rect.o $(O)region.o $(O)restore.o $(O)rip.o
|
|
||||||
VOBJ20 = $(O)rnd.o $(O)role.o $(O)rumors.o $(O)save.o
|
|
||||||
VOBJ21 = $(O)shk.o $(O)shknam.o $(O)sit.o $(O)sounds.o
|
|
||||||
VOBJ22 = $(O)sp_lev.o $(O)spell.o $(O)steal.o $(O)steed.o
|
|
||||||
VOBJ23 = $(O)sys.o $(O)teleport.o $(O)timeout.o $(O)topten.o
|
|
||||||
VOBJ24 = $(O)track.o $(O)trap.o $(O)u_init.o $(O)uhitm.o
|
|
||||||
VOBJ25 = $(O)vault.o $(O)vis_tab.o $(O)vision.o $(O)weapon.o
|
|
||||||
VOBJ26 = $(O)were.o $(O)wield.o $(O)windows.o $(O)wizard.o
|
|
||||||
VOBJ27 = $(O)worm.o $(O)worn.o $(O)write.o $(O)zap.o
|
|
||||||
|
|
||||||
DLBOBJ = $(O)dlb.o
|
|
||||||
|
|
||||||
TTYOBJ = $(O)topl.o $(O)getline.o $(O)wintty.o
|
|
||||||
|
|
||||||
SOBJ = $(O)winnt.o $(O)pcsys.o $(O)pcunix.o \
|
|
||||||
$(SOUND) $(O)pcmain.o $(O)nhlan.o
|
|
||||||
|
|
||||||
OBJS = $(VOBJ01) $(VOBJ02) $(VOBJ03) $(VOBJ04) $(VOBJ05) \
|
|
||||||
$(VOBJ06) $(VOBJ07) $(VOBJ08) $(VOBJ09) $(VOBJ10) \
|
|
||||||
$(VOBJ11) $(VOBJ12) $(VOBJ13) $(VOBJ14) $(VOBJ15) \
|
|
||||||
$(VOBJ16) $(VOBJ17) $(VOBJ18) $(VOBJ19) $(VOBJ20) \
|
|
||||||
$(VOBJ21) $(VOBJ22) $(VOBJ23) $(VOBJ24) $(VOBJ25) \
|
|
||||||
$(VOBJ26) $(VOBJ27)
|
|
||||||
|
|
||||||
TILOBJ = $(WINPORT)
|
|
||||||
|
|
||||||
VVOBJ = $(O)version.o
|
|
||||||
|
|
||||||
ALLOBJ = $(TILOBJ) $(SOBJ) $(DLBOBJ) $(TTYOBJ) $(WOBJ) $(OBJS) $(VVOBJ)
|
|
||||||
|
|
||||||
|
|
||||||
!IF "$(GRAPHICAL)" == "Y"
|
|
||||||
OPTIONS_FILE = $(DAT)\guioptions
|
|
||||||
!ELSE
|
|
||||||
OPTIONS_FILE = $(DAT)\ttyoptions
|
|
||||||
!ENDIF
|
|
||||||
#==========================================
|
|
||||||
# Header file macros
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
CONFIG_H = $(INCL)\config.h $(INCL)\config1.h $(INCL)\tradstdc.h \
|
|
||||||
$(INCL)\global.h $(INCL)\coord.h $(INCL)\vmsconf.h \
|
|
||||||
$(INCL)\system.h $(INCL)\unixconf.h $(INCL)\os2conf.h \
|
|
||||||
$(INCL)\micro.h $(INCL)\pcconf.h $(INCL)\tosconf.h \
|
|
||||||
$(INCL)\amiconf.h $(INCL)\macconf.h $(INCL)\beconf.h \
|
|
||||||
$(INCL)\ntconf.h
|
|
||||||
|
|
||||||
HACK_H = $(INCL)\hack.h $(CONFIG_H) $(INCL)\context.h $(INCL)\align.h \
|
|
||||||
$(INCL)\dungeon.h $(INCL)\monsym.h $(INCL)\mkroom.h \
|
|
||||||
$(INCL)\objclass.h $(INCL)\youprop.h $(INCL)\prop.h \
|
|
||||||
$(INCL)\permonst.h $(INCL)\monattk.h \
|
|
||||||
$(INCL)\monflag.h $(INCL)\mondata.h $(INCL)\pm.h \
|
|
||||||
$(INCL)\wintype.h $(INCL)\decl.h $(INCL)\quest.h \
|
|
||||||
$(INCL)\spell.h $(INCL)\sys.h $(INCL)\color.h $(INCL)\obj.h \
|
|
||||||
$(INCL)\you.h $(INCL)\attrib.h $(INCL)\monst.h \
|
|
||||||
$(INCL)\mextra.h $(INCL)\skills.h $(INCL)\onames.h \
|
|
||||||
$(INCL)\timeout.h $(INCL)\trap.h $(INCL)\flag.h $(INCL)\rm.h \
|
|
||||||
$(INCL)\vision.h $(INCL)\display.h $(INCL)\engrave.h \
|
|
||||||
$(INCL)\rect.h $(INCL)\region.h $(INCL)\winprocs.h \
|
|
||||||
$(INCL)\wintty.h $(INCL)\trampoli.h
|
|
||||||
|
|
||||||
LEV_H = $(INCL)\lev.h
|
|
||||||
DGN_FILE_H = $(INCL)\dgn_file.h
|
|
||||||
LEV_COMP_H = $(INCL)\lev_comp.h
|
|
||||||
SP_LEV_H = $(INCL)\sp_lev.h
|
|
||||||
TILE_H = ..\win\share\tile.h
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Miscellaneous
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
DATABASE = $(DAT)\data.base
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# The name of the game.
|
# The name of the game.
|
||||||
#
|
#
|
||||||
@@ -738,6 +759,14 @@ $(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
|
||||||
#==========================================
|
#==========================================
|
||||||
@@ -1029,6 +1058,12 @@ $(O)tile2bmp.o: $(WSHR)\tile2bmp.c $(HACK_H) $(TILE_H) $(INCL)\win32api.h
|
|||||||
spotless: clean
|
spotless: clean
|
||||||
! IF ("$(OBJ)"!="")
|
! IF ("$(OBJ)"!="")
|
||||||
-rmdir $(OBJ) /s /Q
|
-rmdir $(OBJ) /s /Q
|
||||||
|
if exist $(GAMEDIR)\nhdefkey.dll del $(GAMEDIR)\nhdefkey.dll
|
||||||
|
if exist $(GAMEDIR)\nh340key.dll del $(GAMEDIR)\nh340key.dll
|
||||||
|
if exist $(GAMEDIR)\nhraykey.dll del $(GAMEDIR)\nhraykey.dll
|
||||||
|
if exist $(GAMEDIR)\NetHack.exe del $(GAMEDIR)\NetHack.exe
|
||||||
|
if exist $(GAMEDIR)\NetHack.pdb del $(GAMEDIR)\NetHack.pdb
|
||||||
|
if exist $(GAMEDIR)\nhdat del $(GAMEDIR)\nhdat
|
||||||
! ENDIF
|
! ENDIF
|
||||||
if exist $(INCL)\date.h del $(INCL)\date.h
|
if exist $(INCL)\date.h del $(INCL)\date.h
|
||||||
if exist $(INCL)\onames.h del $(INCL)\onames.h
|
if exist $(INCL)\onames.h del $(INCL)\onames.h
|
||||||
@@ -1040,6 +1075,9 @@ spotless: clean
|
|||||||
if exist $(U)*.map del $(U)*.map
|
if exist $(U)*.map del $(U)*.map
|
||||||
if exist $(DAT)\data del $(DAT)\data
|
if exist $(DAT)\data del $(DAT)\data
|
||||||
if exist $(DAT)\rumors del $(DAT)\rumors
|
if exist $(DAT)\rumors del $(DAT)\rumors
|
||||||
|
if exist $(DAT)\engrave del $(DAT)\engrave
|
||||||
|
if exist $(DAT)\epitaph del $(DAT)\epitaph
|
||||||
|
if exist $(DAT)\bogusmon del $(DAT)\bogusmon
|
||||||
if exist $(DAT)\???-fil?.lev del $(DAT)\???-fil?.lev
|
if exist $(DAT)\???-fil?.lev del $(DAT)\???-fil?.lev
|
||||||
if exist $(DAT)\???-goal.lev del $(DAT)\???-goal.lev
|
if exist $(DAT)\???-goal.lev del $(DAT)\???-goal.lev
|
||||||
if exist $(DAT)\???-loca.lev del $(DAT)\???-loca.lev
|
if exist $(DAT)\???-loca.lev del $(DAT)\???-loca.lev
|
||||||
@@ -1080,7 +1118,10 @@ spotless: clean
|
|||||||
if exist $(SRC)\vis_tab.c del $(SRC)\vis_tab.c
|
if exist $(SRC)\vis_tab.c del $(SRC)\vis_tab.c
|
||||||
if exist $(U)recover.exe del $(U)recover.exe
|
if exist $(U)recover.exe del $(U)recover.exe
|
||||||
if exist nhdat. del nhdat.
|
if exist nhdat. del nhdat.
|
||||||
|
if exist $(O)obj.tag del $(O)obj.tag
|
||||||
|
if exist $(O)gamedir.tag del $(O)gamedir.tag
|
||||||
|
if exist $(O)nh*key.lib del $(O)nh*key.lib
|
||||||
|
if exist $(O)nh*key.exp del $(O)nh*key.exp
|
||||||
clean:
|
clean:
|
||||||
if exist $(O)*.o del $(O)*.o
|
if exist $(O)*.o del $(O)*.o
|
||||||
if exist $(O)utility.tag del $(O)utility.tag
|
if exist $(O)utility.tag del $(O)utility.tag
|
||||||
@@ -1089,7 +1130,48 @@ clean:
|
|||||||
if exist $(U)dgncomp.exe del $(U)dgncomp.exe
|
if exist $(U)dgncomp.exe del $(U)dgncomp.exe
|
||||||
if exist $(SRC)\*.lnk del $(SRC)\*.lnk
|
if exist $(SRC)\*.lnk del $(SRC)\*.lnk
|
||||||
if exist $(SRC)\*.map del $(SRC)\*.map
|
if exist $(SRC)\*.map del $(SRC)\*.map
|
||||||
|
if exist $(O)install.tag del $(O)install.tag
|
||||||
|
if exist $(O)console.res del $(O)console.res
|
||||||
|
if exist $(O)dgncomp.MAP del $(O)dgncomp.MAP
|
||||||
|
if exist $(O)dgncomp.PDB del $(O)dgncomp.PDB
|
||||||
|
if exist $(O)dlb_main.MAP del $(O)dlb_main.MAP
|
||||||
|
if exist $(O)dlb_main.PDB del $(O)dlb_main.PDB
|
||||||
|
if exist $(O)gamedir.tag del $(O)gamedir.tag
|
||||||
|
if exist $(O)levcomp.MAP del $(O)levcomp.MAP
|
||||||
|
if exist $(O)levcomp.PDB del $(O)levcomp.PDB
|
||||||
|
if exist $(O)makedefs.MAP del $(O)makedefs.MAP
|
||||||
|
if exist $(O)makedefs.PDB del $(O)makedefs.PDB
|
||||||
|
if exist $(O)NetHack.MAP del $(O)NetHack.MAP
|
||||||
|
if exist $(O)nh340key.def del $(O)nh340key.def
|
||||||
|
if exist $(O)nh340key.exp del $(O)nh340key.exp
|
||||||
|
if exist $(O)nh340key.lib del $(O)nh340key.lib
|
||||||
|
if exist $(O)nh340key.map del $(O)nh340key.map
|
||||||
|
if exist $(O)nh340key.PDB del $(O)nh340key.PDB
|
||||||
|
if exist $(O)nhdefkey.def del $(O)nhdefkey.def
|
||||||
|
if exist $(O)nhdefkey.exp del $(O)nhdefkey.exp
|
||||||
|
if exist $(O)nhdefkey.lib del $(O)nhdefkey.lib
|
||||||
|
if exist $(O)nhdefkey.map del $(O)nhdefkey.map
|
||||||
|
if exist $(O)nhdefkey.PDB del $(O)nhdefkey.PDB
|
||||||
|
if exist $(O)nhraykey.def del $(O)nhraykey.def
|
||||||
|
if exist $(O)nhraykey.exp del $(O)nhraykey.exp
|
||||||
|
if exist $(O)nhraykey.lib del $(O)nhraykey.lib
|
||||||
|
if exist $(O)nhraykey.map del $(O)nhraykey.map
|
||||||
|
if exist $(O)nhraykey.PDB del $(O)nhraykey.PDB
|
||||||
|
if exist $(O)obj.tag del $(O)obj.tag
|
||||||
|
if exist $(O)sp_lev.tag del $(O)sp_lev.tag
|
||||||
|
if exist $(O)uudecode.MAP del $(O)uudecode.MAP
|
||||||
|
if exist $(O)uudecode.PDB del $(O)uudecode.PDB
|
||||||
|
rem
|
||||||
|
rem defer to the steps in ..\win\win32\levstuff.mak
|
||||||
|
rem
|
||||||
|
make -f ..\win\win32\levstuff.mak clean
|
||||||
|
rem
|
||||||
|
rem defer to the steps in ..\win\win32\dgnstuff.mak
|
||||||
|
rem
|
||||||
|
make -f ..\win\win32\dgnstuff.mak clean
|
||||||
|
|
||||||
if exist $(TILEBMP16) del $(TILEBMP16)
|
if exist $(TILEBMP16) del $(TILEBMP16)
|
||||||
|
if exist $(TILEBMP32) del $(TILEBMP32)
|
||||||
|
|
||||||
#===================================================================
|
#===================================================================
|
||||||
# OTHER DEPENDENCIES
|
# OTHER DEPENDENCIES
|
||||||
|
|||||||
+266
-262
@@ -1,19 +1,22 @@
|
|||||||
# NetHack 3.6 Makefile.gcc $NHDT-Date: 1430958114 2015/05/07 00:21:54 $ $NHDT-Branch: master $:$NHDT-Revision: 1.39 $
|
# NetHack 3.6 Makefile.gcc $NHDT-Date: 1430958114 2015/05/07 00:21:54 $ $NHDT-Branch: master $:$NHDT-Revision: 1.39 $
|
||||||
# NetHack 3.6 Makefile.gcc $Date: 2011/10/11 02:37:22 $ $Revision: 1.38 $
|
# NetHack 3.6 Makefile.gcc $Date: 2011/10/11 02:37:22 $ $Revision: 1.38 $
|
||||||
# Copyright (c) NetHack PC Development Team 1993-2010
|
|
||||||
#
|
#
|
||||||
# NetHack 3.6.x Makefile for MinGW
|
#==============================================================================
|
||||||
#
|
#
|
||||||
# Win32 Compilers Tested:
|
# Win32 Compilers Tested:
|
||||||
# - MinGW 1.0 (gcc version 2.95.3-6) (Console NetHack only)
|
# === TDM-GCC Compiler Suite for Windows ===
|
||||||
# - MinGW 2.0 (gcc version 3.2)
|
# --- GCC 4.6 & 4.7 Series ---
|
||||||
|
# *** Standard MinGW 32-bit Edition ***
|
||||||
#
|
#
|
||||||
# If you don't have this compiler, you can get it at:
|
# If you don't have this compiler, you can get it at:
|
||||||
# http://www.mingw.org/
|
# http://tdm-gcc.tdragon.net/
|
||||||
#
|
#
|
||||||
|
#==============================================================================
|
||||||
# This is used for building two versions of NetHack:
|
# This is used for building two versions of NetHack:
|
||||||
|
#
|
||||||
# A tty port utilizing the Win32 Console I/O subsystem, Console
|
# A tty port utilizing the Win32 Console I/O subsystem, Console
|
||||||
# NetHack;
|
# NetHack.
|
||||||
|
#
|
||||||
# A Win32 native port built on the Windows API, Graphical NetHack or
|
# A Win32 native port built on the Windows API, Graphical NetHack or
|
||||||
# NetHackW.
|
# NetHackW.
|
||||||
#
|
#
|
||||||
@@ -24,53 +27,52 @@
|
|||||||
# .y yacc (such as bison)
|
# .y yacc (such as bison)
|
||||||
# .l lex (such as flex)
|
# .l lex (such as flex)
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# If you have any questions read the sys/winnt/Install.nt file included
|
# If you have any questions read the sys/winnt/Install.nt file included
|
||||||
# with the distribution.
|
# with the distribution.
|
||||||
#
|
|
||||||
# --
|
|
||||||
# Dion Nicolaas
|
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
# Graphical interface
|
# BUILD DECISIONS SECTION
|
||||||
# Set to Y for a graphical version
|
#
|
||||||
# Set to anything else (or undefine) for a tty version
|
# There are currently only 3 decisions that you have to make.
|
||||||
|
# 1. 32-bit or 64-bit?
|
||||||
|
# 2. Where do you want your build to end up?
|
||||||
|
# 3. Do you want debug information in the executable?
|
||||||
|
#
|
||||||
|
#==============================================================================
|
||||||
|
# 1. 32-bit or 64-bit?
|
||||||
|
#
|
||||||
|
|
||||||
#GRAPHICAL = Y
|
# 64 bit
|
||||||
|
#TARGET_CPU=x64
|
||||||
|
#
|
||||||
|
# 32 bit
|
||||||
|
TARGET_CPU=x86
|
||||||
|
#
|
||||||
|
#---------------------------------------------------------------
|
||||||
|
# 2. Where do you want the game to be built (which folder)?
|
||||||
|
# If not present prior to compilation it gets created.
|
||||||
|
#
|
||||||
|
|
||||||
# Debug
|
GAMEDIR = ../binary
|
||||||
# Set to Y for Debug support (to produce debug information)
|
|
||||||
# Set to anything else (or undefine) for a "release" version
|
|
||||||
# You can set your debug options below.
|
|
||||||
|
|
||||||
DEBUG = Y
|
|
||||||
|
|
||||||
cc = gcc
|
|
||||||
rc = windres
|
|
||||||
link = gcc
|
|
||||||
|
|
||||||
cflags = -mms-bitfields
|
|
||||||
lflags =
|
|
||||||
ifeq "$(DEBUG)" "Y"
|
|
||||||
cdebug = -g
|
|
||||||
linkdebug = -g
|
|
||||||
else
|
|
||||||
cdebug =
|
|
||||||
linkdebug =
|
|
||||||
endif
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set the gamedir according to your preference.
|
#---------------------------------------------------------------
|
||||||
# If not present prior to compilation it gets created.
|
# 3. Do you want debug information in the executable?
|
||||||
|
#
|
||||||
|
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
DEBUGINFO = Y
|
||||||
# Game Name
|
|
||||||
GAME = NetHackW
|
# This marks the end of the BUILD DECISIONS section.
|
||||||
else
|
#==============================================================================
|
||||||
# Game Name
|
#
|
||||||
GAME = NetHack
|
#===============================================
|
||||||
endif
|
#======= End of Modification Section ===========
|
||||||
# Game directory
|
#===============================================
|
||||||
GAMEDIR = ../binary
|
#
|
||||||
|
################################################
|
||||||
|
# #
|
||||||
|
# Nothing below here should have to be changed.#
|
||||||
|
# #
|
||||||
|
################################################
|
||||||
|
|
||||||
#
|
#
|
||||||
# Source directories. Makedefs hardcodes these, don't change them.
|
# Source directories. Makedefs hardcodes these, don't change them.
|
||||||
@@ -89,11 +91,11 @@ SRC = ../src
|
|||||||
# Shared system files
|
# Shared system files
|
||||||
SSYS = ../sys/share
|
SSYS = ../sys/share
|
||||||
# NT Win32 specific files
|
# NT Win32 specific files
|
||||||
NTSYS = ../sys/winnt
|
MSWSYS = ../sys/winnt
|
||||||
# window port files (tty)
|
# window port files (tty)
|
||||||
TTY = ../win/tty
|
TTY = ../win/tty
|
||||||
# window port files (Win32)
|
# window port files (WIN32)
|
||||||
WIN32 = ../win/win32
|
MSWIN = ../win/win32
|
||||||
# Tile support files
|
# Tile support files
|
||||||
WSHR = ../win/share
|
WSHR = ../win/share
|
||||||
|
|
||||||
@@ -103,10 +105,13 @@ WSHR = ../win/share
|
|||||||
|
|
||||||
OBJ = o
|
OBJ = o
|
||||||
|
|
||||||
|
cc = gcc
|
||||||
|
rc = windres
|
||||||
|
link = gcc
|
||||||
|
|
||||||
#
|
#
|
||||||
#==========================================
|
#==========================================
|
||||||
# Exe File Info.
|
# Level Compiler Info
|
||||||
#==========================================
|
#==========================================
|
||||||
|
|
||||||
# Yacc/Lex ... if you got 'em.
|
# Yacc/Lex ... if you got 'em.
|
||||||
@@ -141,6 +146,9 @@ YTABC = y_tab.c
|
|||||||
YTABH = y_tab.h
|
YTABH = y_tab.h
|
||||||
LEXYYC = lexyy.c
|
LEXYYC = lexyy.c
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Exe File Info.
|
||||||
|
#==========================================
|
||||||
#
|
#
|
||||||
# Optional high-quality BSD random number generation routines
|
# Optional high-quality BSD random number generation routines
|
||||||
# (see pcconf.h). Set to nothing if not used.
|
# (see pcconf.h). Set to nothing if not used.
|
||||||
@@ -149,48 +157,7 @@ LEXYYC = lexyy.c
|
|||||||
RANDOM = $(OBJ)/random.o
|
RANDOM = $(OBJ)/random.o
|
||||||
#RANDOM =
|
#RANDOM =
|
||||||
|
|
||||||
#===============================================
|
WINPFLAG = -DTILES -DMSWIN_GRAPHICS -DWIN32CON -D_WIN32_IE=0x0400 -D_WIN32_WINNT=0x0501
|
||||||
#======= End of Modification Section ===========
|
|
||||||
#===============================================
|
|
||||||
################################################
|
|
||||||
# #
|
|
||||||
# Nothing below here should have to be changed.#
|
|
||||||
# #
|
|
||||||
################################################
|
|
||||||
|
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
|
||||||
WINPORT = $(O)tile.o $(O)mhaskyn.o $(O)mhdlg.o \
|
|
||||||
$(O)mhfont.o $(O)mhinput.o $(O)mhmain.o $(O)mhmap.o \
|
|
||||||
$(O)mhmenu.o $(O)mhmsgwnd.o $(O)mhrip.o $(O)mhsplash.o \
|
|
||||||
$(O)mhstatus.o $(O)mhtext.o $(O)mswproc.o $(O)winhack.o
|
|
||||||
WINPFLAG = -DTILES -DMSWIN_GRAPHICS -D_WIN32_IE=0x0400
|
|
||||||
NHRES = $(O)winres.o
|
|
||||||
WINPINC = -I$(WIN32)
|
|
||||||
WINPHDR = $(WIN32)/mhaskyn.h $(WIN32)/mhdlg.h $(WIN32)/mhfont.h \
|
|
||||||
$(WIN32)/mhinput.h $(WIN32)/mhmain.h $(WIN32)/mhmap.h \
|
|
||||||
$(WIN32)/mhmenu.h $(WIN32)/mhmsg.h $(WIN32)/mhmsgwnd.h \
|
|
||||||
$(WIN32)/mhrip.h $(WIN32)/mhstatus.h \
|
|
||||||
$(WIN32)/mhtext.h $(WIN32)/resource.h $(WIN32)/winMS.h
|
|
||||||
WINPLIBS = -lcomctl32 -lwinmm
|
|
||||||
else
|
|
||||||
WINPORT = $(O)nttty.o
|
|
||||||
WINPFLAG= -DWIN32CON
|
|
||||||
WINPHDR =
|
|
||||||
NHRES = $(O)console.o
|
|
||||||
WINPINC =
|
|
||||||
WINPLIBS = -lwinmm
|
|
||||||
endif
|
|
||||||
|
|
||||||
TILEUTIL16 = $(UTIL)/tile2bmp.exe
|
|
||||||
TILEBMP16 = $(SRC)/tiles.bmp
|
|
||||||
|
|
||||||
TILEUTIL32 = $(UTIL)/til2bm32.exe
|
|
||||||
TILEBMP32 = $(SRC)/tiles32.bmp
|
|
||||||
|
|
||||||
SOUND = $(OBJ)/ntsound.o
|
|
||||||
|
|
||||||
#SOUND =
|
|
||||||
|
|
||||||
# To store all the level files,
|
# To store all the level files,
|
||||||
# help files, etc. in a single library file.
|
# help files, etc. in a single library file.
|
||||||
# USE_DLB = Y is left uncommented
|
# USE_DLB = Y is left uncommented
|
||||||
@@ -207,10 +174,24 @@ endif
|
|||||||
# Setting up the compiler and linker
|
# Setting up the compiler and linker
|
||||||
# macros. All builds include the base ones.
|
# macros. All builds include the base ones.
|
||||||
#==========================================
|
#==========================================
|
||||||
|
cflags = -mms-bitfields
|
||||||
|
lflags =
|
||||||
|
ifeq "$(DEBUGINFO)" "Y"
|
||||||
|
cdebug = -g
|
||||||
|
linkdebug = -g
|
||||||
|
else
|
||||||
|
cdebug =
|
||||||
|
linkdebug =
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CFLAGSBASE = -c $(cflags) -I$(INCL) $(WINPINC) $(cdebug)
|
CFLAGSBASE = -c $(cflags) -I$(INCL) $(WINPINC) $(cdebug)
|
||||||
LFLAGSBASEC = $(linkdebug)
|
#LFLAGSBASEC = $(linkdebug)
|
||||||
LFLAGSBASEG = $(linkdebug) -mwindows
|
#LFLAGSBASEG = $(linkdebug) -mwindows
|
||||||
|
|
||||||
|
conlibs = -lwinmm
|
||||||
|
guilibs = -lcomctl32 -lwinmm
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
# Util builds
|
# Util builds
|
||||||
@@ -224,14 +205,7 @@ LFLAGSU = $(LFLAGSBASEC)
|
|||||||
#==========================================
|
#==========================================
|
||||||
|
|
||||||
CFLAGS = $(CFLAGSBASE) $(WINPFLAG) $(DLBFLG)
|
CFLAGS = $(CFLAGSBASE) $(WINPFLAG) $(DLBFLG)
|
||||||
lflags = $(LFLAGSBASE)
|
lflags = $(LFLAGSBASEC) $(linkdebuf)
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
|
||||||
lflags = $(LFLAGSBASEG)
|
|
||||||
else
|
|
||||||
lflags = $(LFLAGSBASEC)
|
|
||||||
endif
|
|
||||||
|
|
||||||
GAMEFILE = $(GAMEDIR)/$(GAME).exe # whole thing
|
|
||||||
|
|
||||||
ifeq "$(USE_DLB)" "Y"
|
ifeq "$(USE_DLB)" "Y"
|
||||||
DLB = nhdat
|
DLB = nhdat
|
||||||
@@ -239,73 +213,6 @@ else
|
|||||||
DLB =
|
DLB =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#==========================================
|
|
||||||
#================ RULES ==================
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
.SUFFIXES: .exe .o .til .uu .c .y .l
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Rules for files in src
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
$(OBJ)/%.o : /%.c
|
|
||||||
$(cc) $(CFLAGS) -o$@ $<
|
|
||||||
|
|
||||||
$(OBJ)/%.o : $(SRC)/%.c
|
|
||||||
$(cc) $(CFLAGS) -o$@ $<
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Rules for files in sys/share
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
$(OBJ)/%.o : $(SSYS)/%.c
|
|
||||||
$(cc) $(CFLAGS) -o$@ $<
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Rules for files in sys/winnt
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
$(OBJ)/%.o : $(NTSYS)/%.c
|
|
||||||
$(cc) $(CFLAGS) -o$@ $<
|
|
||||||
|
|
||||||
$(INCL)/%.h : $(NTSYS)/%.h
|
|
||||||
@copy $< $@
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Rules for files in util
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
$(OBJ)/%.o : $(UTIL)/%.c
|
|
||||||
$(cc) $(CFLAGSU) -o$@ $<
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Rules for files in win/share
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
$(OBJ)/%.o : $(WSHR)/%.c
|
|
||||||
$(cc) $(CFLAGS) -o$@ $<
|
|
||||||
|
|
||||||
$(INCL)/%.h : $(WSHR)/%.h
|
|
||||||
@copy $< $@
|
|
||||||
|
|
||||||
#{$(WSHR)}.txt{$(DAT)}.txt:
|
|
||||||
# @copy $< $@
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Rules for files in win/tty
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
$(OBJ)/%.o : $(TTY)/%.c
|
|
||||||
$(cc) $(CFLAGS) -o$@ $<
|
|
||||||
|
|
||||||
#==========================================
|
|
||||||
# Rules for files in win/win32
|
|
||||||
#==========================================
|
|
||||||
|
|
||||||
$(OBJ)/%.o : $(WIN32)/%.c
|
|
||||||
$(cc) $(CFLAGS) -o$@ $<
|
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
#================ MACROS ==================
|
#================ MACROS ==================
|
||||||
#==========================================
|
#==========================================
|
||||||
@@ -313,7 +220,7 @@ $(OBJ)/%.o : $(WIN32)/%.c
|
|||||||
# referenced later on in the Makefile.
|
# referenced later on in the Makefile.
|
||||||
#
|
#
|
||||||
|
|
||||||
DEFFILE = $(NTSYS)/$(GAME).def
|
DEFFILE = $(MSWSYS)/$(GAME).def
|
||||||
|
|
||||||
#
|
#
|
||||||
# Shorten up the location for some files
|
# Shorten up the location for some files
|
||||||
@@ -394,6 +301,8 @@ VOBJ27 = $(O)worm.o $(O)worn.o $(O)write.o $(O)zap.o
|
|||||||
|
|
||||||
DLBOBJ = $(O)dlb.o
|
DLBOBJ = $(O)dlb.o
|
||||||
|
|
||||||
|
REGEX = $(O)cppregex.o
|
||||||
|
|
||||||
TTYOBJ = $(O)topl.o $(O)getline.o $(O)wintty.o
|
TTYOBJ = $(O)topl.o $(O)getline.o $(O)wintty.o
|
||||||
|
|
||||||
SOBJ = $(O)winnt.o $(O)pcsys.o $(O)pcunix.o \
|
SOBJ = $(O)winnt.o $(O)pcsys.o $(O)pcunix.o \
|
||||||
@@ -404,19 +313,35 @@ OBJS = $(VOBJ01) $(VOBJ02) $(VOBJ03) $(VOBJ04) $(VOBJ05) \
|
|||||||
$(VOBJ11) $(VOBJ12) $(VOBJ13) $(VOBJ14) $(VOBJ15) \
|
$(VOBJ11) $(VOBJ12) $(VOBJ13) $(VOBJ14) $(VOBJ15) \
|
||||||
$(VOBJ16) $(VOBJ17) $(VOBJ18) $(VOBJ19) $(VOBJ20) \
|
$(VOBJ16) $(VOBJ17) $(VOBJ18) $(VOBJ19) $(VOBJ20) \
|
||||||
$(VOBJ21) $(VOBJ22) $(VOBJ23) $(VOBJ24) $(VOBJ25) \
|
$(VOBJ21) $(VOBJ22) $(VOBJ23) $(VOBJ24) $(VOBJ25) \
|
||||||
$(VOBJ26) $(VOBJ27)
|
$(VOBJ26) $(VOBJ27) $(REGEX)
|
||||||
|
|
||||||
WINPOBJ = $(WINPORT)
|
GUIOBJ = $(O)mhaskyn.o $(O)mhdlg.o \
|
||||||
|
$(O)mhfont.o $(O)mhinput.o $(O)mhmain.o $(O)mhmap.o \
|
||||||
|
$(O)mhmenu.o $(O)mhmsgwnd.o $(O)mhrip.o $(O)mhsplash.o \
|
||||||
|
$(O)mhstatus.o $(O)mhtext.o $(O)mswproc.o $(O)winhack.o
|
||||||
|
|
||||||
VVOBJ = $(O)version.o
|
GUIHDR = $(MSWIN)/mhaskyn.h $(MSWIN)/mhdlg.h $(MSWIN)/mhfont.h \
|
||||||
|
$(MSWIN)/mhinput.h $(MSWIN)/mhmain.h $(MSWIN)/mhmap.h \
|
||||||
|
$(MSWIN)/mhmenu.h $(MSWIN)/mhmsg.h $(MSWIN)/mhmsgwnd.h \
|
||||||
|
$(MSWIN)/mhrip.h $(MSWIN)/mhstatus.h \
|
||||||
|
$(MSWIN)/mhtext.h $(MSWIN)/resource.h $(MSWIN)/winMS.h
|
||||||
|
|
||||||
ALLOBJ = $(WINPOBJ) $(SOBJ) $(DLBOBJ) $(TTYOBJ) $(WOBJ) $(OBJS) $(VVOBJ)
|
KEYDLLS = $(GAMEDIR)/nhdefkey.dll $(GAMEDIR)/nh340key.dll $(GAMEDIR)/nhraykey.dll
|
||||||
|
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
TILEUTIL16 = $(UTIL)/tile2bmp.exe
|
||||||
OPTIONS_FILE = $(DAT)/guioptions
|
TILEBMP16 = $(SRC)/tiles.bmp
|
||||||
else
|
|
||||||
OPTIONS_FILE = $(DAT)/ttyoptions
|
TILEUTIL32 = $(UTIL)/til2bm32.exe
|
||||||
endif
|
TILEBMP32 = $(SRC)/tiles32.bmp
|
||||||
|
|
||||||
|
SOUND = $(OBJ)/ntsound.o
|
||||||
|
#SOUND =
|
||||||
|
|
||||||
|
VVOBJ = $(O)version.o
|
||||||
|
|
||||||
|
ALLOBJ = $(SOBJ) $(DLBOBJ) $(WOBJ) $(OBJS) $(VVOBJ)
|
||||||
|
|
||||||
|
OPTIONS_FILE = $(DAT)\options
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
# Header file macros
|
# Header file macros
|
||||||
@@ -437,7 +362,7 @@ HACK_H = $(INCL)/hack.h $(CONFIG_H) $(INCL)/align.h $(INCL)/context.h \
|
|||||||
$(INCL)/wintype.h $(INCL)/decl.h $(INCL)/quest.h \
|
$(INCL)/wintype.h $(INCL)/decl.h $(INCL)/quest.h \
|
||||||
$(INCL)/spell.h $(INCL)/color.h $(INCL)/obj.h \
|
$(INCL)/spell.h $(INCL)/color.h $(INCL)/obj.h \
|
||||||
$(INCL)/you.h $(INCL)/attrib.h $(INCL)/monst.h $(INCL)/lint.h \
|
$(INCL)/you.h $(INCL)/attrib.h $(INCL)/monst.h $(INCL)/lint.h \
|
||||||
$(INCL)/mextra.h $(INCL)/skills.h $(INCL)/onames.h
|
$(INCL)/mextra.h $(INCL)/skills.h $(INCL)/onames.h \
|
||||||
$(INCL)/timeout.h $(INCL)/trap.h $(INCL)/flag.h $(INCL)/rm.h \
|
$(INCL)/timeout.h $(INCL)/trap.h $(INCL)/flag.h $(INCL)/rm.h \
|
||||||
$(INCL)/vision.h $(INCL)/display.h $(INCL)/engrave.h \
|
$(INCL)/vision.h $(INCL)/display.h $(INCL)/engrave.h \
|
||||||
$(INCL)/rect.h $(INCL)/region.h $(INCL)/winprocs.h \
|
$(INCL)/rect.h $(INCL)/region.h $(INCL)/winprocs.h \
|
||||||
@@ -455,12 +380,75 @@ TILE_H = ../win/share/tile.h
|
|||||||
|
|
||||||
DATABASE = $(DAT)/data.base
|
DATABASE = $(DAT)/data.base
|
||||||
|
|
||||||
#
|
#==========================================
|
||||||
# The name of the game.
|
#================ RULES ==================
|
||||||
#
|
#==========================================
|
||||||
|
|
||||||
GAMEFILE = $(GAMEDIR)/$(GAME).exe
|
.SUFFIXES: .exe .o .til .uu .c .y .l
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Rules for files in src
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
$(OBJ)/%.o : /%.c
|
||||||
|
$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(SRC)/%.c
|
||||||
|
$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Rules for files in sys/share
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(SSYS)/%.c
|
||||||
|
$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(SSYS)/%.cpp
|
||||||
|
g++ $(CFLAGS) -std=c++11 -o$@ $<
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Rules for files in sys/winnt
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(MSWSYS)/%.c
|
||||||
|
$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
|
$(INCL)/%.h : $(MSWSYS)/%.h
|
||||||
|
@copy $< $@
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Rules for files in util
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(UTIL)/%.c
|
||||||
|
$(cc) $(CFLAGSU) -o$@ $<
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Rules for files in win/share
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(WSHR)/%.c
|
||||||
|
$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
|
$(INCL)/%.h : $(WSHR)/%.h
|
||||||
|
@copy $< $@
|
||||||
|
|
||||||
|
#{$(WSHR)}.txt{$(DAT)}.txt:
|
||||||
|
# @copy $< $@
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Rules for files in win/tty
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(TTY)/%.c
|
||||||
|
$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
|
#==========================================
|
||||||
|
# Rules for files in win/win32
|
||||||
|
#==========================================
|
||||||
|
|
||||||
|
$(OBJ)/%.o : $(MSWIN)/%.c
|
||||||
|
$(cc) $(CFLAGS) -o$@ $<
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
#=============== TARGETS ==================
|
#=============== TARGETS ==================
|
||||||
@@ -475,14 +463,7 @@ GAMEFILE = $(GAMEDIR)/$(GAME).exe
|
|||||||
#
|
#
|
||||||
# The default make target (so just typing 'nmake' is useful).
|
# The default make target (so just typing 'nmake' is useful).
|
||||||
#
|
#
|
||||||
default : $(GAMEFILE)
|
default : install
|
||||||
|
|
||||||
#
|
|
||||||
# The main target.
|
|
||||||
#
|
|
||||||
|
|
||||||
$(GAME) : $(O)obj.tag $(O)utility.tag graphicschk $(GAMEFILE)
|
|
||||||
@echo $(GAME) is up to date.
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Everything
|
# Everything
|
||||||
@@ -490,7 +471,8 @@ $(GAME) : $(O)obj.tag $(O)utility.tag graphicschk $(GAMEFILE)
|
|||||||
|
|
||||||
all : install
|
all : install
|
||||||
|
|
||||||
install: graphicschk $(GAME) $(O)install.tag
|
install: graphicschk $(O)obj.tag $(GAMEDIR)/NetHack.exe $(GAMEDIR)/NetHackW.exe $(O)install.tag
|
||||||
|
@echo NetHack is up to date.
|
||||||
@echo Done.
|
@echo Done.
|
||||||
|
|
||||||
|
|
||||||
@@ -506,13 +488,14 @@ else
|
|||||||
$(subst /,\,copy $(DAT)/*.lev $(GAMEDIR))
|
$(subst /,\,copy $(DAT)/*.lev $(GAMEDIR))
|
||||||
$(subst /,\,if exist $(GAMEDIR)/makefile del $(GAMEDIR)/makefile)
|
$(subst /,\,if exist $(GAMEDIR)/makefile del $(GAMEDIR)/makefile)
|
||||||
endif
|
endif
|
||||||
|
$(subst /,\,if not exist $(GAMEDIR)/sysconf copy $(MSWSYS)/sysconf $(GAMEDIR))
|
||||||
$(subst /,\,if exist $(DAT)/symbols copy $(DAT)/symbols $(GAMEDIR))
|
$(subst /,\,if exist $(DAT)/symbols copy $(DAT)/symbols $(GAMEDIR))
|
||||||
$(subst /,\,if exist $(DOC)/guidebook.txt copy $(DOC)/guidebook.txt $(GAMEDIR)/Guidebook.txt)
|
$(subst /,\,if exist $(DOC)/guidebook.txt copy $(DOC)/guidebook.txt $(GAMEDIR)/Guidebook.txt)
|
||||||
$(subst /,\,if exist $(DOC)/nethack.txt copy $(DOC)/nethack.txt $(GAMEDIR)/NetHack.txt)
|
$(subst /,\,if exist $(DOC)/nethack.txt copy $(DOC)/nethack.txt $(GAMEDIR)/NetHack.txt)
|
||||||
$(subst /,\,copy $(NTSYS)/defaults.nh $(GAMEDIR)/defaults.nh)
|
$(subst /,\,copy $(MSWSYS)/defaults.nh $(GAMEDIR)/defaults.nh)
|
||||||
$(subst /,\,echo install done > $@)
|
$(subst /,\,echo install done > $@)
|
||||||
|
|
||||||
# copy $(NTSYS)/winnt.hlp $(GAMEDIR)
|
# copy $(MSWSYS)/winnt.hlp $(GAMEDIR)
|
||||||
|
|
||||||
recover: $(U)recover.exe
|
recover: $(U)recover.exe
|
||||||
$(subst /,\,if exist $(U)recover.exe copy $(U)recover.exe $(GAMEDIR))
|
$(subst /,\,if exist $(U)recover.exe copy $(U)recover.exe $(GAMEDIR))
|
||||||
@@ -563,38 +546,39 @@ $(O)utility.tag: $(INCL)/date.h $(INCL)/onames.h $(INCL)/pm.h \
|
|||||||
tileutil: $(U)gif2txt.exe $(U)gif2tx32.exe $(U)txt2ppm.exe
|
tileutil: $(U)gif2txt.exe $(U)gif2tx32.exe $(U)txt2ppm.exe
|
||||||
@echo Optional tile development utilities are up to date.
|
@echo Optional tile development utilities are up to date.
|
||||||
|
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
$(O)winres.o: $(TILEBMP16) $(MSWIN)/winhack.rc $(MSWIN)/mnsel.bmp \
|
||||||
$(NHRES): $(TILEBMP16) $(WIN32)/winhack.rc $(WIN32)/mnsel.bmp \
|
$(MSWIN)/mnselcnt.bmp $(MSWIN)/mnunsel.bmp \
|
||||||
$(WIN32)/mnselcnt.bmp $(WIN32)/mnunsel.bmp \
|
$(MSWIN)/petmark.bmp $(MSWIN)/NetHack.ico $(MSWIN)/rip.bmp \
|
||||||
$(WIN32)/petmark.bmp $(WIN32)/NetHack.ico $(WIN32)/rip.bmp \
|
$(MSWIN)/splash.bmp
|
||||||
$(WIN32)/splash.bmp
|
@$(rc) -o$@ --include-dir $(MSWIN) -i $(MSWIN)/winhack.rc
|
||||||
@$(rc) -o$@ --include-dir $(WIN32) -i $(WIN32)/winhack.rc
|
|
||||||
else
|
$(O)conres.o: $(MSWSYS)/console.rc $(MSWSYS)/NetHack.ico
|
||||||
$(NHRES): $(NTSYS)/console.rc $(NTSYS)/NetHack.ico
|
@$(rc) -o$@ --include-dir $(MSWSYS) -i $(MSWSYS)/console.rc
|
||||||
@$(rc) -o$@ --include-dir $(NTSYS) -i $(NTSYS)/console.rc
|
|
||||||
endif
|
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
# The main target.
|
# The game targets.
|
||||||
#==========================================
|
#==========================================
|
||||||
$(O)gamedir.tag:
|
$(O)gamedir.tag:
|
||||||
$(subst /,\,@if not exist $(GAMEDIR)/*.* echo creating directory $(GAMEDIR))
|
$(subst /,\,@if not exist $(GAMEDIR)/*.* echo creating directory $(GAMEDIR))
|
||||||
$(subst /,\,@if not exist $(GAMEDIR)/*.* mkdir $(GAMEDIR))
|
$(subst /,\,@if not exist $(GAMEDIR)/*.* mkdir $(GAMEDIR))
|
||||||
$(subst /,\,@echo directory created > $@)
|
$(subst /,\,@echo directory created > $@)
|
||||||
|
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
$(GAMEDIR)/NetHack.exe : $(O)gamedir.tag $(O)tile.o $(O)nttty.o $(O)guistub.o \
|
||||||
$(GAMEFILE) : $(ALLOBJ) $(NHRES) $(O)gamedir.tag
|
$(ALLOBJ) $(TTYOBJ) $(GUIOBJ) $(O)conres.o $(KEYDLLS)
|
||||||
else
|
@echo Linking $@...
|
||||||
$(GAMEFILE) : $(ALLOBJ) $(NHRES) $(O)gamedir.tag \
|
$(link) $(lflags) -o$@ $(ALLOBJ) $(TTYOBJ) $(O)nttty.o $(O)tile.o \
|
||||||
$(GAMEDIR)/nhdefkey.dll $(GAMEDIR)/nh340key.dll $(GAMEDIR)/nhraykey.dll
|
$(O)guistub.o $(O)conres.o $(conlibs) -static -lstdc++
|
||||||
endif
|
|
||||||
@echo Linking....
|
|
||||||
@$(link) $(lflags) -o$@ $(ALLOBJ) $(NHRES) $(WINPLIBS)
|
|
||||||
$(subst /,\,@if exist $(O)install.tag del $(O)install.tag)
|
$(subst /,\,@if exist $(O)install.tag del $(O)install.tag)
|
||||||
|
|
||||||
|
$(GAMEDIR)/NetHackW.exe : $(O)gamedir.tag $(O)tile.o $(O)ttystub.o \
|
||||||
|
$(ALLOBJ) $(TTYOBJ) $(GUIOBJ) $(O)winres.o $(KEYDLLS)
|
||||||
|
@echo Linking $@...
|
||||||
|
$(link) $(lflags) -mwindows -o$@ $(ALLOBJ) $(GUIOBJ) $(O)tile.o $(O)ttystub.o \
|
||||||
|
$(O)winres.o $(guilibs) -static -lstdc++
|
||||||
|
$(subst /,\,@if exist $(O)install.tag del $(O)install.tag)
|
||||||
|
|
||||||
$(O)nhdefkey.o:
|
$(O)nhdefkey.o:
|
||||||
$(cc) $(CFLAGS) -DBUILD_DLL -o$@ $(NTSYS)/nhdefkey.c
|
$(cc) $(CFLAGS) -DBUILD_DLL -o$@ $(MSWSYS)/nhdefkey.c
|
||||||
|
|
||||||
$(GAMEDIR)/nhdefkey.dll : $(O)nhdefkey.o $(O)gamedir.tag
|
$(GAMEDIR)/nhdefkey.dll : $(O)nhdefkey.o $(O)gamedir.tag
|
||||||
@echo Linking $@
|
@echo Linking $@
|
||||||
@@ -602,7 +586,7 @@ $(GAMEDIR)/nhdefkey.dll : $(O)nhdefkey.o $(O)gamedir.tag
|
|||||||
-Wl,--add-stdcall-alias -o $@ $<
|
-Wl,--add-stdcall-alias -o $@ $<
|
||||||
|
|
||||||
$(O)nh340key.o:
|
$(O)nh340key.o:
|
||||||
$(cc) $(CFLAGS) -DBUILD_DLL -o$@ $(NTSYS)/nh340key.c
|
$(cc) $(CFLAGS) -DBUILD_DLL -o$@ $(MSWSYS)/nh340key.c
|
||||||
|
|
||||||
$(GAMEDIR)/nh340key.dll : $(O)nh340key.o $(O)gamedir.tag
|
$(GAMEDIR)/nh340key.dll : $(O)nh340key.o $(O)gamedir.tag
|
||||||
@echo Linking $@
|
@echo Linking $@
|
||||||
@@ -610,26 +594,24 @@ $(GAMEDIR)/nh340key.dll : $(O)nh340key.o $(O)gamedir.tag
|
|||||||
-Wl,--add-stdcall-alias -o $@ $<
|
-Wl,--add-stdcall-alias -o $@ $<
|
||||||
|
|
||||||
$(O)nhraykey.o:
|
$(O)nhraykey.o:
|
||||||
$(cc) $(CFLAGS) -DBUILD_DLL -o$@ $(NTSYS)/nhraykey.c
|
$(cc) $(CFLAGS) -DBUILD_DLL -o$@ $(MSWSYS)/nhraykey.c
|
||||||
|
|
||||||
$(GAMEDIR)/nhraykey.dll : $(O)nhraykey.o $(O)gamedir.tag
|
$(GAMEDIR)/nhraykey.dll : $(O)nhraykey.o $(O)gamedir.tag
|
||||||
@echo Linking $@
|
@echo Linking $@
|
||||||
$(cc) -shared -Wl,--export-all-symbols \
|
$(cc) -shared -Wl,--export-all-symbols \
|
||||||
-Wl,--add-stdcall-alias -o $@ $<
|
-Wl,--add-stdcall-alias -o $@ $<
|
||||||
|
|
||||||
$(GAME)_.ico : $(NTSYS)/$(GAME).ico
|
$(GAME)_.ico : $(MSWSYS)/$(GAME).ico
|
||||||
$(subst /,\,@copy $(NTSYS)/$(GAME).ico $@)
|
$(subst /,\,@copy $(MSWSYS)/$(GAME).ico $@)
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
# Create directory for holding object files
|
# Create directory for holding object files
|
||||||
#==========================================
|
#==========================================
|
||||||
|
|
||||||
graphicschk:
|
graphicschk:
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
|
||||||
@echo ----
|
@echo ----
|
||||||
@echo NOTE: This build will include tile support.
|
@echo NOTE: This build will include tile support.
|
||||||
@echo ----
|
@echo ----
|
||||||
endif
|
|
||||||
$(subst /,\,@echo graphicschk > graphicschk)
|
$(subst /,\,@echo graphicschk > graphicschk)
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -656,9 +638,6 @@ $(O)makedefs.o: $(CONFIG_H) $(INCL)/monattk.h $(INCL)/monflag.h \
|
|||||||
$(INCL)/date.h $(OPTIONS_FILE): $(U)makedefs.exe
|
$(INCL)/date.h $(OPTIONS_FILE): $(U)makedefs.exe
|
||||||
$(subst /,\,$(U)makedefs -v)
|
$(subst /,\,$(U)makedefs -v)
|
||||||
|
|
||||||
#$(OPTIONS_FILE): $(U)makedefs.exe
|
|
||||||
# $(subst /,\,$(U)makedefs -v)
|
|
||||||
|
|
||||||
$(INCL)/onames.h : $(U)makedefs.exe
|
$(INCL)/onames.h : $(U)makedefs.exe
|
||||||
$(subst /,\,$(U)makedefs -o)
|
$(subst /,\,$(U)makedefs -o)
|
||||||
|
|
||||||
@@ -677,6 +656,17 @@ $(INCL)/vis_tab.h: $(U)makedefs.exe
|
|||||||
$(SRC)/vis_tab.c: $(U)makedefs.exe
|
$(SRC)/vis_tab.c: $(U)makedefs.exe
|
||||||
$(subst /,\,$(U)makedefs -z)
|
$(subst /,\,$(U)makedefs -z)
|
||||||
|
|
||||||
|
$(DAT)/engrave: $(DAT)/engrave.txt $(U)makedefs.exe
|
||||||
|
$(subst /,\,$(U)makedefs -s)
|
||||||
|
|
||||||
|
$(DAT)/epitaph: $(DAT)/epitaph.txt $(U)makedefs.exe
|
||||||
|
$(subst /,\,$(U)makedefs -s)
|
||||||
|
|
||||||
|
$(DAT)/bogusmon: $(DAT)/bogusmon.txt $(U)makedefs.exe
|
||||||
|
$(subst /,\,$(U)makedefs -s)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
# uudecode utility and uuencoded targets
|
# uudecode utility and uuencoded targets
|
||||||
#==========================================
|
#==========================================
|
||||||
@@ -686,41 +676,41 @@ $(U)uudecode.exe: $(O)uudecode.o
|
|||||||
|
|
||||||
$(O)uudecode.o: $(SSYS)/uudecode.c
|
$(O)uudecode.o: $(SSYS)/uudecode.c
|
||||||
|
|
||||||
$(NTSYS)/NetHack.ico : $(U)uudecode.exe $(NTSYS)/nhico.uu
|
$(MSWSYS)/NetHack.ico : $(U)uudecode.exe $(MSWSYS)/nhico.uu
|
||||||
$(subst /,\,$(U)uudecode.exe $(NTSYS)/nhico.uu)
|
$(subst /,\,$(U)uudecode.exe $(MSWSYS)/nhico.uu)
|
||||||
$(subst /,\,copy NetHack.ico $@)
|
$(subst /,\,copy NetHack.ico $@)
|
||||||
del NetHack.ico
|
del NetHack.ico
|
||||||
|
|
||||||
$(WIN32)/NetHack.ico : $(NTSYS)/NetHack.ico
|
$(MSWIN)/NetHack.ico : $(MSWSYS)/NetHack.ico
|
||||||
$(subst /,\,copy $< $@)
|
$(subst /,\,copy $< $@)
|
||||||
|
|
||||||
$(WIN32)/mnsel.bmp: $(U)uudecode.exe $(WIN32)/mnsel.uu
|
$(MSWIN)/mnsel.bmp: $(U)uudecode.exe $(MSWIN)/mnsel.uu
|
||||||
$(subst /,\,$(U)uudecode.exe $(WIN32)/mnsel.uu)
|
$(subst /,\,$(U)uudecode.exe $(MSWIN)/mnsel.uu)
|
||||||
$(subst /,\,copy mnsel.bmp $@)
|
$(subst /,\,copy mnsel.bmp $@)
|
||||||
del mnsel.bmp
|
del mnsel.bmp
|
||||||
|
|
||||||
$(WIN32)/mnselcnt.bmp: $(U)uudecode.exe $(WIN32)/mnselcnt.uu
|
$(MSWIN)/mnselcnt.bmp: $(U)uudecode.exe $(MSWIN)/mnselcnt.uu
|
||||||
$(subst /,\,$(U)uudecode.exe $(WIN32)/mnselcnt.uu)
|
$(subst /,\,$(U)uudecode.exe $(MSWIN)/mnselcnt.uu)
|
||||||
$(subst /,\,copy mnselcnt.bmp $@)
|
$(subst /,\,copy mnselcnt.bmp $@)
|
||||||
del mnselcnt.bmp
|
del mnselcnt.bmp
|
||||||
|
|
||||||
$(WIN32)/mnunsel.bmp: $(U)uudecode.exe $(WIN32)/mnunsel.uu
|
$(MSWIN)/mnunsel.bmp: $(U)uudecode.exe $(MSWIN)/mnunsel.uu
|
||||||
$(subst /,\,$(U)uudecode.exe $(WIN32)/mnunsel.uu)
|
$(subst /,\,$(U)uudecode.exe $(MSWIN)/mnunsel.uu)
|
||||||
$(subst /,\,copy mnunsel.bmp $@)
|
$(subst /,\,copy mnunsel.bmp $@)
|
||||||
del mnunsel.bmp
|
del mnunsel.bmp
|
||||||
|
|
||||||
$(WIN32)/petmark.bmp: $(U)uudecode.exe $(WIN32)/petmark.uu
|
$(MSWIN)/petmark.bmp: $(U)uudecode.exe $(MSWIN)/petmark.uu
|
||||||
$(subst /,\,$(U)uudecode.exe $(WIN32)/petmark.uu)
|
$(subst /,\,$(U)uudecode.exe $(MSWIN)/petmark.uu)
|
||||||
$(subst /,\,copy petmark.bmp $@)
|
$(subst /,\,copy petmark.bmp $@)
|
||||||
del petmark.bmp
|
del petmark.bmp
|
||||||
|
|
||||||
$(WIN32)/rip.bmp: $(U)uudecode.exe $(WIN32)/rip.uu
|
$(MSWIN)/rip.bmp: $(U)uudecode.exe $(MSWIN)/rip.uu
|
||||||
$(subst /,\,$(U)uudecode.exe $(WIN32)/rip.uu)
|
$(subst /,\,$(U)uudecode.exe $(MSWIN)/rip.uu)
|
||||||
$(subst /,\,copy rip.bmp $@)
|
$(subst /,\,copy rip.bmp $@)
|
||||||
del rip.bmp
|
del rip.bmp
|
||||||
|
|
||||||
$(WIN32)/splash.bmp: $(U)uudecode.exe $(WIN32)/splash.uu
|
$(MSWIN)/splash.bmp: $(U)uudecode.exe $(MSWIN)/splash.uu
|
||||||
$(subst /,\,$(U)uudecode.exe $(WIN32)/splash.uu)
|
$(subst /,\,$(U)uudecode.exe $(MSWIN)/splash.uu)
|
||||||
$(subst /,\,copy splash.bmp $@)
|
$(subst /,\,copy splash.bmp $@)
|
||||||
del splash.bmp
|
del splash.bmp
|
||||||
|
|
||||||
@@ -850,8 +840,8 @@ $(O)obj.tag:
|
|||||||
# Header files NOT distributed in ../include
|
# Header files NOT distributed in ../include
|
||||||
#===========================================
|
#===========================================
|
||||||
|
|
||||||
$(INCL)/win32api.h: $(NTSYS)/win32api.h
|
$(INCL)/win32api.h: $(MSWSYS)/win32api.h
|
||||||
$(subst /,\,copy $(NTSYS)/win32api.h $@)
|
$(subst /,\,copy $(MSWSYS)/win32api.h $@)
|
||||||
|
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
@@ -868,13 +858,13 @@ $(O)dlb.o: $(O)dlb_main.o $(O)alloc.o $(O)panic.o $(INCL)/dlb.h
|
|||||||
$(O)dlb_main.o: $(UTIL)/dlb_main.c $(INCL)/config.h $(INCL)/dlb.h
|
$(O)dlb_main.o: $(UTIL)/dlb_main.c $(INCL)/config.h $(INCL)/dlb.h
|
||||||
$(cc) $(CFLAGS) -o$@ $(UTIL)/dlb_main.c
|
$(cc) $(CFLAGS) -o$@ $(UTIL)/dlb_main.c
|
||||||
|
|
||||||
$(DAT)/porthelp: $(NTSYS)/porthelp
|
$(DAT)/porthelp: $(MSWSYS)/porthelp
|
||||||
$(subst /,\,@copy $(NTSYS)/porthelp $@ >nul)
|
$(subst /,\,@copy $(MSWSYS)/porthelp $@ >nul)
|
||||||
|
|
||||||
nhdat: $(U)dlb_main.exe $(DAT)/data $(DAT)/oracles $(OPTIONS_FILE) \
|
nhdat: $(U)dlb_main.exe $(DAT)/data $(DAT)/oracles $(OPTIONS_FILE) \
|
||||||
$(DAT)/quest.dat $(DAT)/rumors $(DAT)/help $(DAT)/hh $(DAT)/cmdhelp \
|
$(DAT)/quest.dat $(DAT)/rumors $(DAT)/help $(DAT)/hh $(DAT)/cmdhelp \
|
||||||
$(DAT)/history $(DAT)/opthelp $(DAT)/wizhelp $(DAT)/dungeon \
|
$(DAT)/history $(DAT)/opthelp $(DAT)/wizhelp $(DAT)/dungeon \
|
||||||
$(DAT)/porthelp $(DAT)/license $(O)sp_lev.tag
|
$(DAT)/porthelp $(DAT)/license $(DAT)/engrave $(DAT)/epitaph $(DAT)/bogusmon $(DAT)/tribute $(O)sp_lev.tag
|
||||||
$(subst /,\,echo data >$(DAT)/dlb.lst)
|
$(subst /,\,echo data >$(DAT)/dlb.lst)
|
||||||
$(subst /,\,echo oracles >>$(DAT)/dlb.lst)
|
$(subst /,\,echo oracles >>$(DAT)/dlb.lst)
|
||||||
$(subst /,\,if exist $(DAT)/options echo options >>$(DAT)/dlb.lst)
|
$(subst /,\,if exist $(DAT)/options echo options >>$(DAT)/dlb.lst)
|
||||||
@@ -891,6 +881,10 @@ nhdat: $(U)dlb_main.exe $(DAT)/data $(DAT)/oracles $(OPTIONS_FILE) \
|
|||||||
$(subst /,\,echo wizhelp >>$(DAT)/dlb.lst)
|
$(subst /,\,echo wizhelp >>$(DAT)/dlb.lst)
|
||||||
$(subst /,\,echo dungeon >>$(DAT)/dlb.lst)
|
$(subst /,\,echo dungeon >>$(DAT)/dlb.lst)
|
||||||
$(subst /,\,echo license >>$(DAT)/dlb.lst)
|
$(subst /,\,echo license >>$(DAT)/dlb.lst)
|
||||||
|
$(subst /,\,echo engrave >>$(DAT)/dlb.lst)
|
||||||
|
$(subst /,\,echo epitaph >>$(DAT)/dlb.lst)
|
||||||
|
$(subst /,\,echo bogusmon >>$(DAT)/dlb.lst)
|
||||||
|
$(subst /,\,echo tribute >>$(DAT)/dlb.lst)
|
||||||
dir /l /b /-p $(subst /,\,$(DAT)/*.lev >>$(DAT)/dlb.lst)
|
dir /l /b /-p $(subst /,\,$(DAT)/*.lev >>$(DAT)/dlb.lst)
|
||||||
$(subst /,\,$(U)dlb_main CcIf $(DAT) dlb.lst $(SRC)/nhdat)
|
$(subst /,\,$(U)dlb_main CcIf $(DAT) dlb.lst $(SRC)/nhdat)
|
||||||
|
|
||||||
@@ -957,17 +951,13 @@ $(U)txt2ppm.exe: $(PPMWRITERS) $(TEXT_IO)
|
|||||||
@$(link) $(LFLAGSU) -o$@ $(PPMWRITERS) $(TEXT_IO)
|
@$(link) $(LFLAGSU) -o$@ $(PPMWRITERS) $(TEXT_IO)
|
||||||
|
|
||||||
|
|
||||||
ifeq "$(GRAPHICAL)" "Y"
|
|
||||||
$(TILEBMP16): $(TILEUTIL16) $(TILEFILES)
|
$(TILEBMP16): $(TILEUTIL16) $(TILEFILES)
|
||||||
@echo Creating 16x16 binary tile files (this may take some time)
|
@echo Creating 16x16 binary tile files (this may take some time)
|
||||||
$(subst /,\,@$(U)tile2bmp $(TILEBMP16))
|
$(subst /,\,@$(U)tile2bmp $(TILEBMP16))
|
||||||
|
|
||||||
#$(TILEBMP32): $(TILEUTIL32) $(TILEFILES32)
|
#$(TILEBMP32): $(TILEUTIL32) $(TILEFILES32)
|
||||||
# @echo Creating 32x32 binary tile files (this may take some time)
|
# @echo Creating 32x32 binary tile files (this may take some time)
|
||||||
# $(subst /,\,@$(U)til2bm32 $(TILEBMP32))
|
# $(subst /,\,@$(U)til2bm32 $(TILEBMP32))
|
||||||
else
|
|
||||||
$(TILEBMP16):
|
|
||||||
$(TILEBMP32):
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(U)tile2bmp.exe: $(O)tile2bmp.o $(TEXT_IO)
|
$(U)tile2bmp.exe: $(O)tile2bmp.o $(TEXT_IO)
|
||||||
@echo Linking $@...
|
@echo Linking $@...
|
||||||
@@ -978,7 +968,7 @@ $(U)til2bm32.exe: $(O)til2bm32.o $(TEXT_IO32)
|
|||||||
@$(link) $(LFLAGSU) -o$@ $(O)til2bm32.o $(TEXT_IO32)
|
@$(link) $(LFLAGSU) -o$@ $(O)til2bm32.o $(TEXT_IO32)
|
||||||
|
|
||||||
$(O)tile2bmp.o: $(WSHR)/tile2bmp.c $(HACK_H) $(TILE_H) $(INCL)/win32api.h
|
$(O)tile2bmp.o: $(WSHR)/tile2bmp.c $(HACK_H) $(TILE_H) $(INCL)/win32api.h
|
||||||
$(cc) $(CFLAGS) -I$(WSHR) -o$@ $(WSHR)/tile2bmp.c
|
$(cc) $(CFLAGS) -mno-ms-bitfields -I$(WSHR) -o$@ $(WSHR)/tile2bmp.c
|
||||||
|
|
||||||
$(O)til2bm32.o: $(WSHR)/til2bm32.c $(HACK_H) $(TILE_H) $(INCL)/win32api.h
|
$(O)til2bm32.o: $(WSHR)/til2bm32.c $(HACK_H) $(TILE_H) $(INCL)/win32api.h
|
||||||
$(cc) $(CFLAGS) -I$(WSHR) -DTILE_X=32 -DTILE_Y=32 -o$@ $(WSHR)/til2bm32.c
|
$(cc) $(CFLAGS) -I$(WSHR) -DTILE_X=32 -DTILE_Y=32 -o$@ $(WSHR)/til2bm32.c
|
||||||
@@ -1039,9 +1029,6 @@ spotless: clean
|
|||||||
$(subst /,\,if exist $(U)recover.exe del $(U)recover.exe)
|
$(subst /,\,if exist $(U)recover.exe del $(U)recover.exe)
|
||||||
$(subst /,\,if exist $(DAT)/dlb.lst del $(DAT)/dlb.lst)
|
$(subst /,\,if exist $(DAT)/dlb.lst del $(DAT)/dlb.lst)
|
||||||
$(subst /,\,if exist nhdat. del nhdat.)
|
$(subst /,\,if exist nhdat. del nhdat.)
|
||||||
$(subst /,\,if exist $(O)install.tag del $(O)install.tag)
|
|
||||||
$(subst /,\,if exist $(O)obj.tag del $(O)obj.tag)
|
|
||||||
$(subst /,\,if exist $(O)gamedir.tag del $(O)gamedir.tag)
|
|
||||||
ifneq "$(OBJ)" ""
|
ifneq "$(OBJ)" ""
|
||||||
$(subst /,\,rmdir $(OBJ)) /s /Q
|
$(subst /,\,rmdir $(OBJ)) /s /Q
|
||||||
endif
|
endif
|
||||||
@@ -1054,8 +1041,11 @@ clean:
|
|||||||
$(subst /,\,if exist $(U)dgncomp.exe del $(U)dgncomp.exe)
|
$(subst /,\,if exist $(U)dgncomp.exe del $(U)dgncomp.exe)
|
||||||
$(subst /,\,if exist $(SRC)/*.lnk del $(SRC)/*.lnk)
|
$(subst /,\,if exist $(SRC)/*.lnk del $(SRC)/*.lnk)
|
||||||
$(subst /,\,if exist $(SRC)/*.map del $(SRC)/*.map)
|
$(subst /,\,if exist $(SRC)/*.map del $(SRC)/*.map)
|
||||||
$(subst /,\,if exist $(TILEBMP16) del $(TILEBMP16))
|
$(subst /,\,if exist $(O)install.tag del $(O)install.tag)
|
||||||
$(subst /,\,if exist $(TILEBMP32) del $(TILEBMP32))
|
$(subst /,\,if exist $(O)gamedir.tag del $(O)gamedir.tag)
|
||||||
|
$(subst /,\,if exist $(O)obj.tag del $(O)obj.tag)
|
||||||
|
$(subst /,\,if exist $(TILEBMP16) del $(TILEBMP16))
|
||||||
|
$(subst /,\,if exist $(TILEBMP32) del $(TILEBMP32))
|
||||||
|
|
||||||
#===================================================================
|
#===================================================================
|
||||||
# OTHER DEPENDENCIES
|
# OTHER DEPENDENCIES
|
||||||
@@ -1085,12 +1075,27 @@ $(DAT)/dungeon: $(O)utility.tag $(DAT)/dungeon.def
|
|||||||
# NT dependencies
|
# NT dependencies
|
||||||
#
|
#
|
||||||
|
|
||||||
$(O)nttty.o: $(HACK_H) $(TILE_H) $(INCL)/win32api.h $(NTSYS)/nttty.c
|
$(O)nttty.o: $(HACK_H) $(TILE_H) $(INCL)/win32api.h $(MSWSYS)/nttty.c
|
||||||
$(cc) $(CFLAGS) -I$(WSHR) -o$@ $(NTSYS)/nttty.c
|
$(cc) $(CFLAGS) -I$(WSHR) -o$@ $(MSWSYS)/nttty.c
|
||||||
$(O)winnt.o: $(HACK_H) $(INCL)/win32api.h $(NTSYS)/winnt.c
|
$(O)winnt.o: $(HACK_H) $(INCL)/win32api.h $(MSWSYS)/winnt.c
|
||||||
$(cc) $(CFLAGS) -o$@ $(NTSYS)/winnt.c
|
$(cc) $(CFLAGS) -o$@ $(MSWSYS)/winnt.c
|
||||||
$(O)ntsound.o: $(HACK_H) $(NTSYS)/ntsound.c
|
$(O)ntsound.o: $(HACK_H) $(MSWSYS)/ntsound.c
|
||||||
$(cc) $(CFLAGS) -o$@ $(NTSYS)/ntsound.c
|
$(cc) $(CFLAGS) -o$@ $(MSWSYS)/ntsound.c
|
||||||
|
|
||||||
|
|
||||||
|
#if you aren't linking in the full gui then
|
||||||
|
#include the following stub for proper linkage.
|
||||||
|
|
||||||
|
$(O)guistub.o: $(HACK_H) $(MSWSYS)/stubs.c
|
||||||
|
@$(cc) $(CFLAGS) -DGUISTUB -o$@ $(MSWSYS)/stubs.c
|
||||||
|
|
||||||
|
#if you aren't linking in the full tty then
|
||||||
|
#include the following stub for proper linkage.
|
||||||
|
|
||||||
|
$(O)ttystub.o: $(HACK_H) $(MSWSYS)/stubs.c
|
||||||
|
@$(cc) $(CFLAGS) -DTTYSTUB -o$@ $(MSWSYS)/stubs.c
|
||||||
|
|
||||||
|
$(O)tile.o: $(SRC)/tile.c $(HACK_H)
|
||||||
|
|
||||||
#
|
#
|
||||||
# util dependencies
|
# util dependencies
|
||||||
@@ -1170,7 +1175,7 @@ $(O)wintext.o: ../win/X11/wintext.c $(HACK_H) $(INCL)/winX.h $(INCL)/xwindow.h
|
|||||||
$(cc) $(CFLAGS) -o$@ ../win/X11/wintext.c
|
$(cc) $(CFLAGS) -o$@ ../win/X11/wintext.c
|
||||||
$(O)winval.o: ../win/X11/winval.c $(HACK_H) $(INCL)/winX.h
|
$(O)winval.o: ../win/X11/winval.c $(HACK_H) $(INCL)/winX.h
|
||||||
$(cc) $(CFLAGS) -o$@ ../win/X11/winval.c
|
$(cc) $(CFLAGS) -o$@ ../win/X11/winval.c
|
||||||
$(O)tile.o: tile.c $(HACK_H)
|
$(O)tile.o: $(SRC)/tile.c $(HACK_H)
|
||||||
$(O)gnaskstr.o: ../win/gnome/gnaskstr.c ../win/gnome/gnaskstr.h \
|
$(O)gnaskstr.o: ../win/gnome/gnaskstr.c ../win/gnome/gnaskstr.h \
|
||||||
../win/gnome/gnmain.h
|
../win/gnome/gnmain.h
|
||||||
$(cc) $(CFLAGS) $(GNOMEINC) -o$@ ../win/gnome/gnaskstr.c
|
$(cc) $(CFLAGS) $(GNOMEINC) -o$@ ../win/gnome/gnaskstr.c
|
||||||
@@ -1222,7 +1227,6 @@ $(O)load_img.o: ../win/gem/load_img.c $(INCL)/load_img.h
|
|||||||
$(cc) $(CFLAGS) -o$@ ../win/gem/load_img.c
|
$(cc) $(CFLAGS) -o$@ ../win/gem/load_img.c
|
||||||
$(O)gr_rect.o: ../win/gem/gr_rect.c $(INCL)/gr_rect.h
|
$(O)gr_rect.o: ../win/gem/gr_rect.c $(INCL)/gr_rect.h
|
||||||
$(cc) $(CFLAGS) -o$@ ../win/gem/gr_rect.c
|
$(cc) $(CFLAGS) -o$@ ../win/gem/gr_rect.c
|
||||||
$(O)tile.o: tile.c $(HACK_H)
|
|
||||||
$(O)qt_win.o: ../win/Qt/qt_win.cpp $(HACK_H) $(INCL)/func_tab.h \
|
$(O)qt_win.o: ../win/Qt/qt_win.cpp $(HACK_H) $(INCL)/func_tab.h \
|
||||||
$(INCL)/dlb.h $(INCL)/patchlevel.h $(INCL)/tile2x11.h \
|
$(INCL)/dlb.h $(INCL)/patchlevel.h $(INCL)/tile2x11.h \
|
||||||
$(INCL)/qt_win.h $(INCL)/qt_clust.h $(INCL)/qt_kde0.h \
|
$(INCL)/qt_win.h $(INCL)/qt_clust.h $(INCL)/qt_kde0.h \
|
||||||
|
|||||||
+314
-363
File diff suppressed because it is too large
Load Diff
+96
-52
@@ -1,15 +1,45 @@
|
|||||||
@REM NetHack 3.6 nhsetup.bat $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
@REM NetHack 3.6 nhsetup.bat $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
||||||
@REM NetHack 3.6 nhsetup.bat $Date: 2010/09/05 14:22:16 $ $Revision: 1.21 $ */
|
@REM NetHack 3.6 nhsetup.bat $Date: 2010/09/05 14:22:16 $ $Revision: 1.21 $ */
|
||||||
@REM Copyright (c) NetHack PC Development Team 1993-2010
|
@REM Copyright (c) NetHack PC Development Team 1993-2015
|
||||||
@REM NetHack may be freely redistributed. See license for details.
|
@REM NetHack may be freely redistributed. See license for details.
|
||||||
@REM Win32 setup batch file, see Install.nt for details
|
@REM Win32 setup batch file, see Install.nt for details
|
||||||
@REM
|
@REM
|
||||||
@echo off
|
@echo off
|
||||||
|
pushd %~dp0
|
||||||
|
set WIN32PATH=..\..\win\win32
|
||||||
|
set BUILDPATH=..\..\build
|
||||||
|
set BINPATH=..\..\binary
|
||||||
|
set VCDir=
|
||||||
|
|
||||||
set _pause=
|
:studiocheck
|
||||||
|
@REM Set fallbacks here for 32-bit VS2010
|
||||||
|
SET REGTREE=HKLM\Software\Microsoft\VCExpress\12.0\Setup\VC
|
||||||
|
SET MSVCVERSION=2010
|
||||||
|
|
||||||
|
@REM if we're in a 64-bit cmd prompt, gotta include Wow6432Node
|
||||||
|
echo Checking for 64-bit environment...
|
||||||
|
if "%ProgramFiles%" NEQ "%ProgramFiles(x86)%" SET REGTREE=HKLM\Software\Wow6432Node\Microsoft\VCExpress\12.0\Setup\VC
|
||||||
|
|
||||||
|
@REM i can see your house from here... or at least your VC++ folder
|
||||||
|
echo Checking version of VC++ installed...
|
||||||
|
echo Checking for VC2013 Express...
|
||||||
|
for /f "usebackq skip=2 tokens=1-2*" %%a IN (`reg query %REGTREE% /v ProductDir`) do @set VCDir="%%c"
|
||||||
|
if not defined VCDir goto :othereditions
|
||||||
|
if not exist %VCDir% goto :othereditions
|
||||||
|
|
||||||
|
set MSVCVERSION=2013
|
||||||
|
goto :fallback
|
||||||
|
|
||||||
|
:othereditions
|
||||||
|
@REM TODO: teach ourselves to detect full versions of Studio, which are under a different registry hive
|
||||||
|
echo VC2013 Express not found; dropping back.
|
||||||
|
|
||||||
|
:fallback
|
||||||
|
echo Using VS%MSVCVERSION%.
|
||||||
|
set SRCPATH=%WIN32PATH%\vs%MSVCVERSION%
|
||||||
|
|
||||||
:nxtcheck
|
:nxtcheck
|
||||||
echo Checking to see if directories are set up properly
|
echo Checking to see if directories are set up properly...
|
||||||
if not exist ..\..\include\hack.h goto :err_dir
|
if not exist ..\..\include\hack.h goto :err_dir
|
||||||
if not exist ..\..\src\hack.c goto :err_dir
|
if not exist ..\..\src\hack.c goto :err_dir
|
||||||
if not exist ..\..\dat\wizard.des goto :err_dir
|
if not exist ..\..\dat\wizard.des goto :err_dir
|
||||||
@@ -18,9 +48,9 @@ if not exist ..\..\sys\winnt\winnt.c goto :err_dir
|
|||||||
echo Directories look ok.
|
echo Directories look ok.
|
||||||
|
|
||||||
:do_tty
|
:do_tty
|
||||||
if NOT exist ..\..\binary\*.* mkdir ..\..\binary
|
if NOT exist %BINPATH%\*.* mkdir %BINPATH%
|
||||||
if NOT exist ..\..\binary\license copy ..\..\dat\license ..\..\binary\license >nul
|
if NOT exist %BINPATH%\license copy ..\..\dat\license %BINPATH%\license >nul
|
||||||
echo Copying Microsoft Makefile - Makefile.msc to ..\..\src\Makefile.
|
echo Copying Microsoft Makefile - Makefile.msc to ..\..\src\Makefile...
|
||||||
if NOT exist ..\..\src\Makefile goto :domsc
|
if NOT exist ..\..\src\Makefile goto :domsc
|
||||||
copy ..\..\src\Makefile ..\..\src\Makefile-orig >nul
|
copy ..\..\src\Makefile ..\..\src\Makefile-orig >nul
|
||||||
echo Your existing
|
echo Your existing
|
||||||
@@ -31,7 +61,7 @@ echo ..\..\src\Makefile-orig
|
|||||||
copy Makefile.msc ..\..\src\Makefile >nul
|
copy Makefile.msc ..\..\src\Makefile >nul
|
||||||
echo Microsoft Makefile copied ok.
|
echo Microsoft Makefile copied ok.
|
||||||
|
|
||||||
echo Copying Borland Makefile - Makefile.bcc to ..\..\src\Makefile.bcc
|
echo Copying Borland Makefile - Makefile.bcc to ..\..\src\Makefile.bcc...
|
||||||
if NOT exist ..\..\src\Makefile.bcc goto :dobor
|
if NOT exist ..\..\src\Makefile.bcc goto :dobor
|
||||||
copy ..\..\src\Makefile.bcc ..\..\src\Makefile.bcc-orig >nul
|
copy ..\..\src\Makefile.bcc ..\..\src\Makefile.bcc-orig >nul
|
||||||
echo Your existing
|
echo Your existing
|
||||||
@@ -42,7 +72,7 @@ echo ..\..\src\Makefile.bcc-orig
|
|||||||
copy Makefile.bcc ..\..\src\Makefile.bcc >nul
|
copy Makefile.bcc ..\..\src\Makefile.bcc >nul
|
||||||
echo Borland Makefile copied ok.
|
echo Borland Makefile copied ok.
|
||||||
|
|
||||||
echo Copying MinGW Makefile - Makefile.gcc to ..\..\src\Makefile.gcc
|
echo Copying MinGW Makefile - Makefile.gcc to ..\..\src\Makefile.gcc...
|
||||||
if NOT exist ..\..\src\Makefile.gcc goto :dogcc
|
if NOT exist ..\..\src\Makefile.gcc goto :dogcc
|
||||||
copy ..\..\src\Makefile.gcc ..\..\src\Makefile.gcc-orig >nul
|
copy ..\..\src\Makefile.gcc ..\..\src\Makefile.gcc-orig >nul
|
||||||
echo Your existing
|
echo Your existing
|
||||||
@@ -54,61 +84,75 @@ copy Makefile.gcc ..\..\src\Makefile.gcc >nul
|
|||||||
echo MinGW Makefile copied ok.
|
echo MinGW Makefile copied ok.
|
||||||
|
|
||||||
:do_win
|
:do_win
|
||||||
if not exist ..\..\win\win32\nethack.sln goto :err_win
|
if not exist %SRCPATH%\nethack.sln goto :err_win
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
if exist ..\..\build\*.* goto projectcopy
|
if exist %BUILDPATH%\*.* goto projectcopy
|
||||||
|
|
||||||
echo Creating ..\..\build directory
|
echo Creating %BUILDPATH% directory...
|
||||||
mkdir ..\..\build
|
mkdir %BUILDPATH%
|
||||||
|
|
||||||
:projectcopy
|
:projectcopy
|
||||||
|
|
||||||
@REM Visual Studio Express solution file
|
@REM Visual Studio Express solution file
|
||||||
if NOT exist ..\..\win\win32\nethack.sln goto skipsoln
|
if NOT exist %SRCPATH%\nethack.sln goto skipsoln
|
||||||
echo Copying ..\..\win\win32\nethack.sln ..\..\nethack.sln
|
echo Copying %SRCPATH%\nethack.sln to ..\..\nethack.sln...
|
||||||
copy ..\..\win\win32\nethack.sln ..\.. >nul
|
copy %SRCPATH%\nethack.sln ..\.. >nul
|
||||||
:skipsoln
|
:skipsoln
|
||||||
|
|
||||||
if NOT exist ..\..\binary\*.* echo Creating ..\..\binary directory
|
if NOT exist %BINPATH%\*.* echo Creating %BINPATH% directory...
|
||||||
if NOT exist ..\..\binary\*.* mkdir ..\..\binary
|
if NOT exist %BINPATH%\*.* mkdir %BINPATH%
|
||||||
if NOT exist ..\..\binary\license copy ..\..\dat\license ..\..\binary\license >nul
|
if NOT exist %BINPATH%\license copy ..\..\dat\license %BINPATH%\license >nul
|
||||||
|
|
||||||
echo Copying Visual C project files to ..\..\build directory
|
echo Copying Visual C project files to %BUILDPATH% directory...
|
||||||
|
|
||||||
copy ..\..\win\win32\dgnstuff.mak ..\..\build >nul
|
copy %WIN32PATH%\dgnstuff.mak %BUILDPATH% >nul
|
||||||
copy ..\..\win\win32\levstuff.mak ..\..\build >nul
|
copy %WIN32PATH%\levstuff.mak %BUILDPATH% >nul
|
||||||
copy ..\..\win\win32\tiles.mak ..\..\build >nul
|
copy %WIN32PATH%\tiles.mak %BUILDPATH% >nul
|
||||||
|
|
||||||
|
@REM Visual C++ 201X Express project files
|
||||||
|
:vcexpress
|
||||||
|
if NOT exist %SRCPATH%\makedefs.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\tile2bmp.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\tilemap.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\uudecode.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\NetHackW.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\NetHack.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\dgncomp.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\dgnstuff.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\dlb_main.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\levcomp.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\levstuff.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\recover.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\tiles.vcxproj goto skipvcexpress
|
||||||
|
if NOT exist %SRCPATH%\nhdefkey.vcxproj goto skipvcexpress
|
||||||
|
|
||||||
@REM Visual C++ 2010 Express project files
|
copy %SRCPATH%\makedefs.vcxproj %BUILDPATH% >nul
|
||||||
:VC2010
|
copy %SRCPATH%\tile2bmp.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\makedefs.vcxproj goto skipVC2010
|
copy %SRCPATH%\tilemap.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\tile2bmp.vcxproj goto skipVC2010
|
copy %SRCPATH%\uudecode.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\tilemap.vcxproj goto skipVC2010
|
copy %SRCPATH%\NetHackW.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\uudecode.vcxproj goto skipVC2010
|
copy %SRCPATH%\NetHack.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\NetHackW.vcxproj goto skipVC2010
|
copy %SRCPATH%\dgncomp.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\dgncomp.vcxproj goto skipVC2010
|
copy %SRCPATH%\dgnstuff.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\dgnstuff.vcxproj goto skipVC2010
|
copy %SRCPATH%\dlb_main.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\dlb_main.vcxproj goto skipVC2010
|
copy %SRCPATH%\levcomp.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\levcomp.vcxproj goto skipVC2010
|
copy %SRCPATH%\levstuff.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\levstuff.vcxproj goto skipVC2010
|
copy %SRCPATH%\recover.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\recover.vcxproj goto skipVC2010
|
copy %SRCPATH%\tiles.vcxproj %BUILDPATH% >nul
|
||||||
if NOT exist ..\..\win\win32\tiles.vcxproj goto skipVC2010
|
copy %SRCPATH%\nhdefkey.vcxproj %BUILDPATH% >nul
|
||||||
|
echo LIBRARY nhdefkey >%BUILDPATH%\nhdefkey64.def
|
||||||
|
echo LIBRARY nhdefkey >%BUILDPATH%\nhdefkey.def
|
||||||
|
echo EXPORTS >>%BUILDPATH%\nhdefkey.def
|
||||||
|
echo ProcessKeystroke >>%BUILDPATH%\nhdefkey.def
|
||||||
|
echo NHkbhit >>%BUILDPATH%\nhdefkey.def
|
||||||
|
echo CheckInput >>%BUILDPATH%\nhdefkey.def
|
||||||
|
echo SourceWhere >>%BUILDPATH%\nhdefkey.def
|
||||||
|
echo SourceAuthor >>%BUILDPATH%\nhdefkey.def
|
||||||
|
echo KeyHandlerName >>%BUILDPATH%\nhdefkey.def
|
||||||
|
|
||||||
copy ..\..\win\win32\makedefs.vcxproj ..\..\build >nul
|
echo Done copying files.
|
||||||
copy ..\..\win\win32\tile2bmp.vcxproj ..\..\build >nul
|
:skipvcexpress
|
||||||
copy ..\..\win\win32\tilemap.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\uudecode.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\NetHackW.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\dgncomp.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\dgnstuff.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\dlb_main.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\levcomp.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\levstuff.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\recover.vcxproj ..\..\build >nul
|
|
||||||
copy ..\..\win\win32\tiles.vcxproj ..\..\build >nul
|
|
||||||
:skipVC2010
|
|
||||||
|
|
||||||
goto :done
|
goto :done
|
||||||
|
|
||||||
@@ -138,8 +182,8 @@ echo.
|
|||||||
|
|
||||||
:fini
|
:fini
|
||||||
:end
|
:end
|
||||||
set _pause=Y
|
set _pause=N
|
||||||
if "%0"=="nhsetup" set _pause=N
|
for %%x in (%cmdcmdline%) do if /i "%%~x"=="/c" set _pause=Y
|
||||||
if "%0"=="NHSETUP" set _pause=N
|
|
||||||
if "%_pause%"=="Y" pause
|
if "%_pause%"=="Y" pause
|
||||||
set _pause=
|
set _pause=
|
||||||
|
popd
|
||||||
|
|||||||
+39
-24
@@ -1,7 +1,4 @@
|
|||||||
/* NetHack 3.6 nttty.c $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
/* NetHack 3.6 nttty.c $NHDT-Date: 1430988888 2015/05/07 08:54:48 $ $NHDT-Branch: win32-x64-working $:$NHDT-Revision: 1.61 $ */
|
||||||
/* NetHack 3.6 nttty.c $Date: 2009/05/06 10:53:34 $ $Revision: 1.54 $ */
|
|
||||||
/* SCCS Id: @(#)nttty.c 3.5 $NHDT-Date$ */
|
|
||||||
/* SCCS Id: @(#)nttty.c 3.5 $Date: 2009/05/06 10:53:34 $ */
|
|
||||||
/* Copyright (c) NetHack PC Development Team 1993 */
|
/* Copyright (c) NetHack PC Development Team 1993 */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -15,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32
|
||||||
#define NEED_VARARGS /* Uses ... */
|
#define NEED_VARARGS /* Uses ... */
|
||||||
#include "hack.h"
|
#include "hack.h"
|
||||||
#include "wintty.h"
|
#include "wintty.h"
|
||||||
@@ -273,35 +270,53 @@ DWORD ctrltype;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* called by init_tty in wintty.c for WIN32CON port only */
|
/* called by init_tty in wintty.c for WIN32 port only */
|
||||||
void
|
void
|
||||||
nttty_open()
|
nttty_open(mode)
|
||||||
|
int mode;
|
||||||
{
|
{
|
||||||
HANDLE hStdOut;
|
HANDLE hStdOut;
|
||||||
DWORD cmode;
|
DWORD cmode;
|
||||||
long mask;
|
long mask;
|
||||||
|
|
||||||
load_keyboard_handler();
|
try:
|
||||||
/* Initialize the function pointer that points to
|
/* The following lines of code were suggested by
|
||||||
* the kbhit() equivalent, in this TTY case nttty_kbhit()
|
|
||||||
*/
|
|
||||||
nt_kbhit = nttty_kbhit;
|
|
||||||
|
|
||||||
/* The following 6 lines of code were suggested by
|
|
||||||
* Bob Landau of Microsoft WIN32 Developer support,
|
* Bob Landau of Microsoft WIN32 Developer support,
|
||||||
* as the only current means of determining whether
|
* as the only current means of determining whether
|
||||||
* we were launched from the command prompt, or from
|
* we were launched from the command prompt, or from
|
||||||
* the NT program manager. M. Allison
|
* the NT program manager. M. Allison
|
||||||
*/
|
*/
|
||||||
hStdOut = GetStdHandle( STD_OUTPUT_HANDLE );
|
hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
GetConsoleScreenBufferInfo( hStdOut, &origcsbi);
|
if (hStdOut) {
|
||||||
GUILaunched = ((origcsbi.dwCursorPosition.X == 0) &&
|
GetConsoleScreenBufferInfo(hStdOut, &origcsbi);
|
||||||
(origcsbi.dwCursorPosition.Y == 0));
|
GUILaunched = ((origcsbi.dwCursorPosition.X == 0) &&
|
||||||
if ((origcsbi.dwSize.X <= 0) || (origcsbi.dwSize.Y <= 0))
|
(origcsbi.dwCursorPosition.Y == 0));
|
||||||
GUILaunched = 0;
|
if ((origcsbi.dwSize.X <= 0) || (origcsbi.dwSize.Y <= 0))
|
||||||
|
GUILaunched = 0;
|
||||||
|
} else if (mode) {
|
||||||
|
HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
|
HANDLE hStdIn = GetStdHandle(STD_INPUT_HANDLE);
|
||||||
|
|
||||||
/* Obtain handles for the standard Console I/O devices */
|
if (!hStdOut && !hStdIn) {
|
||||||
hConIn = GetStdHandle(STD_INPUT_HANDLE);
|
/* Bool rval; */
|
||||||
|
AllocConsole();
|
||||||
|
AttachConsole(GetCurrentProcessId());
|
||||||
|
/* rval = SetStdHandle(STD_OUTPUT_HANDLE, hWrite); */
|
||||||
|
freopen("CON", "w", stdout);
|
||||||
|
freopen("CON", "r", stdin);
|
||||||
|
}
|
||||||
|
mode = 0;
|
||||||
|
goto try;
|
||||||
|
} else return;
|
||||||
|
|
||||||
|
load_keyboard_handler();
|
||||||
|
/* Initialize the function pointer that points to
|
||||||
|
* the kbhit() equivalent, in this TTY case nttty_kbhit()
|
||||||
|
*/
|
||||||
|
nt_kbhit = nttty_kbhit;
|
||||||
|
|
||||||
|
/* Obtain handles for the standard Console I/O devices */
|
||||||
|
hConIn = GetStdHandle(STD_INPUT_HANDLE);
|
||||||
hConOut = GetStdHandle(STD_OUTPUT_HANDLE);
|
hConOut = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
#if 0
|
#if 0
|
||||||
hConIn = CreateFile("CONIN$",
|
hConIn = CreateFile("CONIN$",
|
||||||
@@ -1041,7 +1056,7 @@ msmsg VA_DECL(const char *, fmt)
|
|||||||
/* fatal error */
|
/* fatal error */
|
||||||
/*VARARGS1*/
|
/*VARARGS1*/
|
||||||
void
|
void
|
||||||
error VA_DECL(const char *,s)
|
nttty_error VA_DECL(const char *,s)
|
||||||
char buf[BUFSZ];
|
char buf[BUFSZ];
|
||||||
VA_START(s);
|
VA_START(s);
|
||||||
VA_INIT(s, const char *);
|
VA_INIT(s, const char *);
|
||||||
@@ -1445,4 +1460,4 @@ GetConsoleHwnd(void)
|
|||||||
return hwndFound;
|
return hwndFound;
|
||||||
}
|
}
|
||||||
# endif /*CHANGE_COLOR*/
|
# endif /*CHANGE_COLOR*/
|
||||||
#endif /* WIN32CON */
|
#endif /* WIN32 */
|
||||||
|
|||||||
@@ -0,0 +1,169 @@
|
|||||||
|
#include "hack.h"
|
||||||
|
|
||||||
|
#ifdef GUISTUB
|
||||||
|
# ifdef TTYSTUB
|
||||||
|
# error You can't compile this with both GUISTUB and TTYSTUB defined.
|
||||||
|
# endif
|
||||||
|
|
||||||
|
int GUILaunched;
|
||||||
|
struct window_procs mswin_procs = {"guistubs"};
|
||||||
|
void
|
||||||
|
mswin_destroy_reg()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* MINGW32 has trouble with both a main() and WinMain()
|
||||||
|
* so we move main for the MINGW tty version into this stub
|
||||||
|
* so that it is out of sight for the gui linkage.
|
||||||
|
*/
|
||||||
|
# ifdef __MINGW32__
|
||||||
|
extern char default_window_sys[];
|
||||||
|
|
||||||
|
int
|
||||||
|
main(argc,argv)
|
||||||
|
int argc;
|
||||||
|
char *argv[];
|
||||||
|
{
|
||||||
|
boolean resuming;
|
||||||
|
|
||||||
|
sys_early_init();
|
||||||
|
Strcpy(default_window_sys, "tty");
|
||||||
|
resuming = pcmain(argc,argv);
|
||||||
|
moveloop(resuming);
|
||||||
|
nethack_exit(EXIT_SUCCESS);
|
||||||
|
/*NOTREACHED*/
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
#endif /* GUISTUB */
|
||||||
|
|
||||||
|
/* =============================================== */
|
||||||
|
|
||||||
|
#ifdef TTYSTUB
|
||||||
|
|
||||||
|
#include "hack.h"
|
||||||
|
|
||||||
|
int GUILaunched;
|
||||||
|
struct window_procs tty_procs = {"ttystubs"};
|
||||||
|
|
||||||
|
void
|
||||||
|
win_tty_init(dir)
|
||||||
|
int dir;
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
nttty_open(mode)
|
||||||
|
int mode;
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
xputc(ch)
|
||||||
|
char ch;
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
xputs(s)
|
||||||
|
const char *s;
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
raw_clear_screen()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
clear_screen()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
backsp()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
has_color(int color)
|
||||||
|
{
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef NO_MOUSE_ALLOWED
|
||||||
|
void
|
||||||
|
toggle_mouse_support()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef PORT_DEBUG
|
||||||
|
void
|
||||||
|
win32con_debug_keystrokes()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
win32con_handler_info()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
|
map_subkeyvalue(op)
|
||||||
|
register char *op;
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
load_keyboard_handler()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* this is used as a printf() replacement when the window
|
||||||
|
* system isn't initialized yet
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
msmsg VA_DECL(const char *, fmt)
|
||||||
|
VA_START(fmt);
|
||||||
|
VA_INIT(fmt, const char *);
|
||||||
|
VA_END();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*VARARGS1*/
|
||||||
|
void
|
||||||
|
nttty_error VA_DECL(const char *,s)
|
||||||
|
VA_START(s);
|
||||||
|
VA_INIT(s, const char *);
|
||||||
|
VA_END();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
synch_cursor()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void more()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* TTYSTUBS */
|
||||||
|
|
||||||
+2
-12
@@ -1,7 +1,4 @@
|
|||||||
/* NetHack 3.6 winnt.c $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
/* NetHack 3.6 winnt.c $NHDT-Date: 1430988900 2015/05/07 08:55:00 $ $NHDT-Branch: win32-x64-working $:$NHDT-Revision: 1.24 $ */
|
||||||
/* NetHack 3.6 winnt.c $Date: 2012/01/15 19:11:41 $ $Revision: 1.18 $ */
|
|
||||||
/* SCCS Id: @(#)winnt.c 3.5 $NHDT-Date$ */
|
|
||||||
/* SCCS Id: @(#)winnt.c 3.5 $Date: 2012/01/15 19:11:41 $ */
|
|
||||||
/* Copyright (c) NetHack PC Development Team 1993, 1994 */
|
/* Copyright (c) NetHack PC Development Team 1993, 1994 */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -20,9 +17,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "win32api.h"
|
#include "win32api.h"
|
||||||
#ifdef WIN32CON
|
|
||||||
#include "wintty.h"
|
#include "wintty.h"
|
||||||
#endif
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
|
||||||
|
|
||||||
@@ -200,7 +195,7 @@ return &szFullPath[0];
|
|||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#ifndef WIN32CON
|
|
||||||
/* fatal error */
|
/* fatal error */
|
||||||
/*VARARGS1*/
|
/*VARARGS1*/
|
||||||
void
|
void
|
||||||
@@ -223,21 +218,17 @@ error VA_DECL(const char *,s)
|
|||||||
VA_END();
|
VA_END();
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
void Delay(int ms)
|
void Delay(int ms)
|
||||||
{
|
{
|
||||||
(void)Sleep(ms);
|
(void)Sleep(ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32CON
|
|
||||||
extern void NDECL(backsp);
|
extern void NDECL(backsp);
|
||||||
#endif
|
|
||||||
|
|
||||||
void win32_abort()
|
void win32_abort()
|
||||||
{
|
{
|
||||||
if (wizard) {
|
if (wizard) {
|
||||||
# ifdef WIN32CON
|
|
||||||
int c, ci, ct;
|
int c, ci, ct;
|
||||||
|
|
||||||
if (!iflags.window_inited)
|
if (!iflags.window_inited)
|
||||||
@@ -260,7 +251,6 @@ void win32_abort()
|
|||||||
}
|
}
|
||||||
if (c == 'y')
|
if (c == 'y')
|
||||||
DebugBreak();
|
DebugBreak();
|
||||||
# endif
|
|
||||||
}
|
}
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-3
@@ -1332,10 +1332,8 @@ static const char *build_opts[] = {
|
|||||||
# ifdef SCREEN_VGA
|
# ifdef SCREEN_VGA
|
||||||
"screen control via VGA graphics",
|
"screen control via VGA graphics",
|
||||||
# endif
|
# endif
|
||||||
# ifndef MSWIN_GRAPHICS
|
# ifdef WIN32CON
|
||||||
# ifdef WIN32CON
|
|
||||||
"screen control via WIN32 console I/O",
|
"screen control via WIN32 console I/O",
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef SHELL
|
#ifdef SHELL
|
||||||
|
|||||||
+3
-3
@@ -111,7 +111,7 @@ struct window_procs tty_procs = {
|
|||||||
tty_start_screen,
|
tty_start_screen,
|
||||||
tty_end_screen,
|
tty_end_screen,
|
||||||
genl_outrip,
|
genl_outrip,
|
||||||
#if defined(WIN32CON)
|
#if defined(WIN32)
|
||||||
nttty_preference_update,
|
nttty_preference_update,
|
||||||
#else
|
#else
|
||||||
genl_preference_update,
|
genl_preference_update,
|
||||||
@@ -2208,12 +2208,12 @@ tty_putstr(window, attr, str)
|
|||||||
cw->data[cw->cury-1][++i] = '\0';
|
cw->data[cw->cury-1][++i] = '\0';
|
||||||
tty_putstr(window, attr, &str[i]);
|
tty_putstr(window, attr, &str[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
tty_display_file(fname, complain)
|
tty_display_file(fname, complain)
|
||||||
const char *fname;
|
const char *fname;
|
||||||
@@ -2906,7 +2906,7 @@ int dir;
|
|||||||
{
|
{
|
||||||
if(dir != WININIT) return;
|
if(dir != WININIT) return;
|
||||||
# if defined(WIN32CON)
|
# if defined(WIN32CON)
|
||||||
nttty_open();
|
if (!strncmpi(windowprocs.name, "tty", 3)) nttty_open(0);
|
||||||
# endif
|
# endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
+25
-17
@@ -1,27 +1,22 @@
|
|||||||
# $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
# $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
||||||
# $Date: 2002/01/22 22:54:54 $ $Revision: 1.3 $
|
# $Date: 2002/01/22 22:54:54 $ $Revision: 1.3 $
|
||||||
|
|
||||||
#Set all of these or none of them
|
# Set all of these or none of them.
|
||||||
#YACC = byacc.exe
|
#
|
||||||
#LEX = flex.exe
|
# bison and flex are the ones found in GnuWin32, which
|
||||||
#YTABC = y_tab.c
|
# is probably the easiest set of these tools to find
|
||||||
#YTABH = y_tab.h
|
# on Windows.
|
||||||
#LEXYYC = lexyy.c
|
#
|
||||||
|
#YACC = bison.exe -y
|
||||||
|
#LEX = flex.exe
|
||||||
|
#YTABC = y.tab.c
|
||||||
|
#YTABH = y.tab.h
|
||||||
|
#LEXYYC = lex.yy.c
|
||||||
|
|
||||||
!IF "$(YACC)"!=""
|
|
||||||
@echo Yacc-alike set to $(YACC)
|
|
||||||
@echo YTABC set to $(YTABC)
|
|
||||||
@echo YTABH set to $(YTABH)
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
!IF "$(LEX)"!=""
|
|
||||||
@echo Lex-alike set to $(LEX)
|
|
||||||
@echo LEXYYC set to $(LEXYYC)
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
default: all
|
default: all
|
||||||
|
|
||||||
all: ..\util\dgn_yacc.c ..\util\dgn_lex.c
|
all: tools ..\util\dgn_yacc.c ..\util\dgn_lex.c
|
||||||
|
|
||||||
rebuild: clean all
|
rebuild: clean all
|
||||||
|
|
||||||
@@ -30,6 +25,19 @@ clean:
|
|||||||
-del ..\util\dgn_yacc.c
|
-del ..\util\dgn_yacc.c
|
||||||
-del ..\include\dgn_comp.h
|
-del ..\include\dgn_comp.h
|
||||||
|
|
||||||
|
tools:
|
||||||
|
!IFDEF YACC
|
||||||
|
@echo Yacc-alike set to $(YACC)
|
||||||
|
@echo YTABC set to $(YTABC)
|
||||||
|
@echo YTABH set to $(YTABH)
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
!IFDEF LEX
|
||||||
|
@echo Lex-alike set to $(LEX)
|
||||||
|
@echo LEXYYC set to $(LEXYYC)
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
|
||||||
#==========================================
|
#==========================================
|
||||||
# Dungeon Compiler Stuff
|
# Dungeon Compiler Stuff
|
||||||
#==========================================
|
#==========================================
|
||||||
|
|||||||
+11
-19
@@ -1,26 +1,18 @@
|
|||||||
# $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
# $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$
|
||||||
# $Date:2002/01/22 22:54:54 $ $Revision: 1.2 $
|
# $Date:2002/01/22 22:54:54 $ $Revision: 1.2 $
|
||||||
#YACC = byacc.exe
|
|
||||||
#LEX = flex.exe
|
|
||||||
#YTABC = y_tab.c
|
|
||||||
#YTABH = y_tab.h
|
|
||||||
#LEXYYC = lexyy.c
|
|
||||||
|
|
||||||
!IF "$(YACC)"!=""
|
# Set all of these or none of them.
|
||||||
@echo Yacc-alike set to $(YACC)
|
#
|
||||||
@echo YTABC set to $(YTABC)
|
# bison and flex are the ones found in GnuWin32, which
|
||||||
@echo YTABH set to $(YTABH)
|
# is probably the easiest set of these tools to find
|
||||||
!ENDIF
|
# on Windows.
|
||||||
|
#
|
||||||
|
#YACC = bison.exe -y
|
||||||
|
#LEX = flex.exe
|
||||||
|
#YTABC = y.tab.c
|
||||||
|
#YTABH = y.tab.h
|
||||||
|
#LEXYYC = lex.yy.c
|
||||||
|
|
||||||
!IF "$(LEX)"!=""
|
|
||||||
@echo Lex-alike set to $(LEX)
|
|
||||||
@echo LEXYYC set to $(LEXYYC)
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# these won't have an impact unless YACC/LEX are defined
|
|
||||||
YTABC = y.tab.c
|
|
||||||
YTABH = y.tab.h
|
|
||||||
LEXYYC = lex.yy.c
|
|
||||||
|
|
||||||
default: all
|
default: all
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
|
|
||||||
int mswin_yes_no_dialog( const char *question, const char *choices, int def)
|
int mswin_yes_no_dialog( const char *question, const char *choices, int def)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(question);
|
||||||
|
UNREFERENCED_PARAMETER(choices);
|
||||||
|
UNREFERENCED_PARAMETER(def);
|
||||||
return '\032';
|
return '\032';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+19
-49
@@ -19,14 +19,9 @@ struct getlin_data {
|
|||||||
size_t result_size;
|
size_t result_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _M_X64
|
INT_PTR CALLBACK GetlinDlgProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
INT_PTR
|
|
||||||
#else
|
|
||||||
BOOL
|
|
||||||
#endif
|
|
||||||
CALLBACK GetlinDlgProc(HWND, UINT, WPARAM, LPARAM);
|
|
||||||
|
|
||||||
INT_PTR mswin_getlin_window (
|
int mswin_getlin_window (
|
||||||
const char *question,
|
const char *question,
|
||||||
char *result,
|
char *result,
|
||||||
size_t result_size
|
size_t result_size
|
||||||
@@ -51,15 +46,10 @@ INT_PTR mswin_getlin_window (
|
|||||||
);
|
);
|
||||||
if( ret==-1 ) panic("Cannot create getlin window");
|
if( ret==-1 ) panic("Cannot create getlin window");
|
||||||
|
|
||||||
return ret;
|
return (int)ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _M_X64
|
INT_PTR CALLBACK GetlinDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
INT_PTR
|
|
||||||
#else
|
|
||||||
BOOL
|
|
||||||
#endif
|
|
||||||
CALLBACK GetlinDlgProc(HWND hWnd, UINT message, WPARAM wParam, LONG_PTR lParam)
|
|
||||||
{
|
{
|
||||||
struct getlin_data* data;
|
struct getlin_data* data;
|
||||||
RECT main_rt, dlg_rt;
|
RECT main_rt, dlg_rt;
|
||||||
@@ -79,7 +69,7 @@ CALLBACK GetlinDlgProc(HWND hWnd, UINT message, WPARAM wParam, LONG_PTR lParam)
|
|||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
data = (struct getlin_data*)lParam;
|
data = (struct getlin_data*)lParam;
|
||||||
SetWindowText(hWnd, NH_A2W(data->question, wbuf, sizeof(wbuf)));
|
SetWindowText(hWnd, NH_A2W(data->question, wbuf, sizeof(wbuf)));
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, lParam);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
|
|
||||||
/* center dialog in the main window */
|
/* center dialog in the main window */
|
||||||
GetWindowRect(hWnd, &dlg_rt);
|
GetWindowRect(hWnd, &dlg_rt);
|
||||||
@@ -177,14 +167,9 @@ struct extcmd_data {
|
|||||||
int* selection;
|
int* selection;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _M_X64
|
INT_PTR CALLBACK ExtCmdDlgProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
INT_PTR
|
|
||||||
#else
|
|
||||||
BOOL
|
|
||||||
#endif
|
|
||||||
CALLBACK ExtCmdDlgProc(HWND, UINT, WPARAM, LPARAM);
|
|
||||||
|
|
||||||
INT_PTR mswin_ext_cmd_window (int* selection)
|
int mswin_ext_cmd_window (int* selection)
|
||||||
{
|
{
|
||||||
INT_PTR ret;
|
INT_PTR ret;
|
||||||
struct extcmd_data data;
|
struct extcmd_data data;
|
||||||
@@ -203,29 +188,22 @@ INT_PTR mswin_ext_cmd_window (int* selection)
|
|||||||
(LPARAM)&data
|
(LPARAM)&data
|
||||||
);
|
);
|
||||||
if( ret==-1 ) panic("Cannot create extcmd window");
|
if( ret==-1 ) panic("Cannot create extcmd window");
|
||||||
return ret;
|
return (int)ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INT_PTR CALLBACK ExtCmdDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
#ifdef _M_X64
|
|
||||||
INT_PTR
|
|
||||||
#else
|
|
||||||
BOOL
|
|
||||||
#endif
|
|
||||||
CALLBACK ExtCmdDlgProc(HWND hWnd, UINT message, WPARAM wParam, LONG_PTR lParam)
|
|
||||||
{
|
{
|
||||||
struct extcmd_data* data;
|
struct extcmd_data* data;
|
||||||
RECT main_rt, dlg_rt;
|
RECT main_rt, dlg_rt;
|
||||||
SIZE dlg_sz;
|
SIZE dlg_sz;
|
||||||
int i;
|
int i;
|
||||||
const char *ptr;
|
|
||||||
TCHAR wbuf[255];
|
TCHAR wbuf[255];
|
||||||
|
|
||||||
switch (message)
|
switch (message)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
data = (struct extcmd_data*)lParam;
|
data = (struct extcmd_data*)lParam;
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, lParam);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
|
|
||||||
/* center dialog in the main window */
|
/* center dialog in the main window */
|
||||||
GetWindowRect(GetNHApp()->hMainWnd, &main_rt);
|
GetWindowRect(GetNHApp()->hMainWnd, &main_rt);
|
||||||
@@ -245,8 +223,8 @@ CALLBACK ExtCmdDlgProc(HWND hWnd, UINT message, WPARAM wParam, LONG_PTR lParam)
|
|||||||
TRUE );
|
TRUE );
|
||||||
|
|
||||||
/* fill combobox with extended commands */
|
/* fill combobox with extended commands */
|
||||||
for(i=0; (ptr=extcmdlist[i].ef_txt); i++) {
|
for(i=0; extcmdlist[i].ef_txt; i++) {
|
||||||
SendDlgItemMessage(hWnd, IDC_EXTCMD_LIST, LB_ADDSTRING, (WPARAM)0, (LPARAM)NH_A2W(ptr, wbuf, sizeof(wbuf)) );
|
SendDlgItemMessage(hWnd, IDC_EXTCMD_LIST, LB_ADDSTRING, (WPARAM)0, (LPARAM)NH_A2W(extcmdlist[i].ef_txt, wbuf, sizeof(wbuf)) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set focus to the list control */
|
/* set focus to the list control */
|
||||||
@@ -302,17 +280,12 @@ struct plsel_data {
|
|||||||
int* selection;
|
int* selection;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _M_X64
|
INT_PTR CALLBACK PlayerSelectorDlgProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
INT_PTR
|
|
||||||
#else
|
|
||||||
BOOL
|
|
||||||
#endif
|
|
||||||
CALLBACK PlayerSelectorDlgProc(HWND, UINT, WPARAM, LONG_PTR);
|
|
||||||
static void plselInitDialog(HWND hWnd);
|
static void plselInitDialog(HWND hWnd);
|
||||||
static void plselAdjustLists(HWND hWnd, int changed_opt);
|
static void plselAdjustLists(HWND hWnd, int changed_opt);
|
||||||
static int plselFinalSelection(HWND hWnd, int* selection);
|
static int plselFinalSelection(HWND hWnd, int* selection);
|
||||||
|
|
||||||
INT_PTR mswin_player_selection_window ( int* selection )
|
int mswin_player_selection_window ( int* selection )
|
||||||
{
|
{
|
||||||
INT_PTR ret;
|
INT_PTR ret;
|
||||||
struct plsel_data data;
|
struct plsel_data data;
|
||||||
@@ -331,15 +304,10 @@ static int plselFinalSelection(HWND hWnd, int* selection);
|
|||||||
);
|
);
|
||||||
if( ret==-1 ) panic("Cannot create getlin window");
|
if( ret==-1 ) panic("Cannot create getlin window");
|
||||||
|
|
||||||
return ret;
|
return (int)ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _M_X64
|
INT_PTR CALLBACK PlayerSelectorDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
INT_PTR
|
|
||||||
#else
|
|
||||||
BOOL
|
|
||||||
#endif
|
|
||||||
CALLBACK PlayerSelectorDlgProc(HWND hWnd, UINT message, WPARAM wParam, LONG_PTR lParam)
|
|
||||||
{
|
{
|
||||||
struct plsel_data* data;
|
struct plsel_data* data;
|
||||||
RECT main_rt, dlg_rt;
|
RECT main_rt, dlg_rt;
|
||||||
@@ -349,7 +317,7 @@ CALLBACK PlayerSelectorDlgProc(HWND hWnd, UINT message, WPARAM wParam, LONG_PTR
|
|||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
data = (struct plsel_data*)lParam;
|
data = (struct plsel_data*)lParam;
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, lParam);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
|
|
||||||
/* center dialog in the main window */
|
/* center dialog in the main window */
|
||||||
GetWindowRect(GetNHApp()->hMainWnd, &main_rt);
|
GetWindowRect(GetNHApp()->hMainWnd, &main_rt);
|
||||||
@@ -705,6 +673,8 @@ int plselFinalSelection(HWND hWnd, int* selection)
|
|||||||
{
|
{
|
||||||
LRESULT ind;
|
LRESULT ind;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(selection);
|
||||||
|
|
||||||
/* get current selections */
|
/* get current selections */
|
||||||
if( SendDlgItemMessage(hWnd, IDC_PLSEL_ROLE_RANDOM, BM_GETCHECK, 0, 0)==BST_CHECKED ) {
|
if( SendDlgItemMessage(hWnd, IDC_PLSEL_ROLE_RANDOM, BM_GETCHECK, 0, 0)==BST_CHECKED ) {
|
||||||
flags.initrole = ROLE_RANDOM;
|
flags.initrole = ROLE_RANDOM;
|
||||||
|
|||||||
+3
-3
@@ -10,9 +10,9 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
|
||||||
INT_PTR mswin_getlin_window (const char *question, char *result, size_t result_size);
|
int mswin_getlin_window (const char *question, char *result, size_t result_size);
|
||||||
INT_PTR mswin_ext_cmd_window (int* selection);
|
int mswin_ext_cmd_window (int* selection);
|
||||||
INT_PTR mswin_player_selection_window(int* selection);
|
int mswin_player_selection_window(int* selection);
|
||||||
|
|
||||||
#endif /* MSWINDlgWindow_h */
|
#endif /* MSWINDlgWindow_h */
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -25,7 +25,6 @@ static void __cdecl font_table_cleanup(void);
|
|||||||
void mswin_init_splashfonts(HWND hWnd)
|
void mswin_init_splashfonts(HWND hWnd)
|
||||||
{
|
{
|
||||||
HDC hdc = GetDC(hWnd);
|
HDC hdc = GetDC(hWnd);
|
||||||
HFONT fnt = NULL;
|
|
||||||
LOGFONT lgfnt;
|
LOGFONT lgfnt;
|
||||||
ZeroMemory( &lgfnt, sizeof(lgfnt) );
|
ZeroMemory( &lgfnt, sizeof(lgfnt) );
|
||||||
lgfnt.lfHeight = -80; // height of font
|
lgfnt.lfHeight = -80; // height of font
|
||||||
@@ -78,11 +77,12 @@ HGDIOBJ mswin_get_font(int win_type, int attr, HDC hdc, BOOL replace)
|
|||||||
|
|
||||||
switch(win_type) {
|
switch(win_type) {
|
||||||
case NHW_STATUS:
|
case NHW_STATUS:
|
||||||
lgfnt.lfHeight = -iflags.wc_fontsiz_status*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font
|
font_size = (attr==ATR_BOLD)? iflags.wc_fontsiz_status+1 : iflags.wc_fontsiz_status;
|
||||||
|
lgfnt.lfHeight = -font_size*GetDeviceCaps(hdc, LOGPIXELSY)/72; // height of font
|
||||||
lgfnt.lfWidth = 0; // average character width
|
lgfnt.lfWidth = 0; // average character width
|
||||||
lgfnt.lfEscapement = 0; // angle of escapement
|
lgfnt.lfEscapement = 0; // angle of escapement
|
||||||
lgfnt.lfOrientation = 0; // base-line orientation angle
|
lgfnt.lfOrientation = 0; // base-line orientation angle
|
||||||
lgfnt.lfWeight = FW_BOLD; // font weight
|
lgfnt.lfWeight = (attr==ATR_BOLD)? FW_BOLD : FW_NORMAL; // font weight
|
||||||
lgfnt.lfItalic = FALSE; // italic attribute option
|
lgfnt.lfItalic = FALSE; // italic attribute option
|
||||||
lgfnt.lfUnderline = FALSE; // underline attribute option
|
lgfnt.lfUnderline = FALSE; // underline attribute option
|
||||||
lgfnt.lfStrikeOut = FALSE; // strikeout attribute option
|
lgfnt.lfStrikeOut = FALSE; // strikeout attribute option
|
||||||
|
|||||||
+41
-25
@@ -26,7 +26,7 @@ static TCHAR szMainWindowClass[] = TEXT("MSNHMainWndClass");
|
|||||||
static TCHAR szTitle[MAX_LOADSTRING];
|
static TCHAR szTitle[MAX_LOADSTRING];
|
||||||
extern void mswin_display_splash_window(BOOL);
|
extern void mswin_display_splash_window(BOOL);
|
||||||
|
|
||||||
LRESULT CALLBACK MainWndProc(HWND, UINT, UINT, LPARAM);
|
LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
|
||||||
static LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
static LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
||||||
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
||||||
@@ -176,7 +176,7 @@ static const char scanmap[] = { /* ... */
|
|||||||
//
|
//
|
||||||
// PURPOSE: Processes messages for the main window.
|
// PURPOSE: Processes messages for the main window.
|
||||||
*/
|
*/
|
||||||
LRESULT CALLBACK MainWndProc(HWND hWnd, UINT message, UINT wParam, LPARAM lParam)
|
LRESULT CALLBACK MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
PNHMainWindow data;
|
PNHMainWindow data;
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT message, UINT wParam, LPARAM lParam
|
|||||||
if( !data ) panic("out of memory");
|
if( !data ) panic("out of memory");
|
||||||
ZeroMemory(data, sizeof(NHMainWindow));
|
ZeroMemory(data, sizeof(NHMainWindow));
|
||||||
data->mapAcsiiModeSave = MAP_MODE_ASCII12x16;
|
data->mapAcsiiModeSave = MAP_MODE_ASCII12x16;
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)data);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
|
|
||||||
/* update menu items */
|
/* update menu items */
|
||||||
CheckMenuItem(
|
CheckMenuItem(
|
||||||
@@ -414,6 +414,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT message, UINT wParam, LPARAM lParam
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} /* end switch */
|
} /* end switch */
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
@@ -526,7 +527,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT message, UINT wParam, LPARAM lParam
|
|||||||
|
|
||||||
/* clean up */
|
/* clean up */
|
||||||
free( (PNHMainWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA) );
|
free( (PNHMainWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA) );
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)0);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)0);
|
||||||
|
|
||||||
// PostQuitMessage(0);
|
// PostQuitMessage(0);
|
||||||
exit(1);
|
exit(1);
|
||||||
@@ -540,6 +541,10 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT message, UINT wParam, LPARAM lParam
|
|||||||
|
|
||||||
void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(hWnd);
|
||||||
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
switch(wParam) {
|
switch(wParam) {
|
||||||
|
|
||||||
/* new window was just added */
|
/* new window was just added */
|
||||||
@@ -755,6 +760,8 @@ LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
int wmId, wmEvent;
|
int wmId, wmEvent;
|
||||||
PNHMainWindow data;
|
PNHMainWindow data;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
data = (PNHMainWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHMainWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
wmId = LOWORD(wParam);
|
wmId = LOWORD(wParam);
|
||||||
wmEvent = HIWORD(wParam);
|
wmEvent = HIWORD(wParam);
|
||||||
@@ -809,7 +816,7 @@ LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
char* p;
|
char* p;
|
||||||
size_t len;
|
size_t len;
|
||||||
HANDLE hglbCopy;
|
HANDLE hglbCopy;
|
||||||
TCHAR* p_copy;
|
char* p_copy;
|
||||||
|
|
||||||
p = nh_compose_ascii_screenshot();
|
p = nh_compose_ascii_screenshot();
|
||||||
if( !p ) return 0;
|
if( !p ) return 0;
|
||||||
@@ -822,18 +829,18 @@ LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
EmptyClipboard();
|
EmptyClipboard();
|
||||||
|
|
||||||
hglbCopy = GlobalAlloc(GMEM_MOVEABLE, (len + 1) * sizeof(TCHAR));
|
hglbCopy = GlobalAlloc(GMEM_MOVEABLE, (len + 1) * sizeof(char));
|
||||||
if (hglbCopy == NULL) {
|
if (hglbCopy == NULL) {
|
||||||
CloseClipboard();
|
CloseClipboard();
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
p_copy = (TCHAR*)GlobalLock(hglbCopy);
|
p_copy = (char*)GlobalLock(hglbCopy);
|
||||||
NH_A2W( p, p_copy, len );
|
strncpy(p_copy, p, len);
|
||||||
p_copy[len] = (TCHAR) 0; // null character
|
p_copy[len] = 0; // null character
|
||||||
GlobalUnlock(hglbCopy);
|
GlobalUnlock(hglbCopy);
|
||||||
|
|
||||||
SetClipboardData(CF_TEXT, hglbCopy);
|
SetClipboardData(SYMHANDLING(H_IBM)? CF_OEMTEXT : CF_TEXT, hglbCopy);
|
||||||
|
|
||||||
CloseClipboard();
|
CloseClipboard();
|
||||||
|
|
||||||
@@ -842,32 +849,34 @@ LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
case IDM_SETTING_SCREEN_TO_FILE: {
|
case IDM_SETTING_SCREEN_TO_FILE: {
|
||||||
OPENFILENAME ofn;
|
OPENFILENAME ofn;
|
||||||
char filename[1024];
|
TCHAR filename[1024];
|
||||||
|
TCHAR whackdir[MAX_PATH];
|
||||||
FILE* pFile;
|
FILE* pFile;
|
||||||
char* text;
|
char* text;
|
||||||
|
wchar_t* wtext;
|
||||||
|
int tlen = 0;
|
||||||
|
|
||||||
ZeroMemory(filename, sizeof(filename));
|
ZeroMemory(filename, sizeof(filename));
|
||||||
ZeroMemory(&ofn, sizeof(ofn));
|
ZeroMemory(&ofn, sizeof(ofn));
|
||||||
ofn.lStructSize = sizeof (OPENFILENAME);
|
ofn.lStructSize = sizeof (OPENFILENAME);
|
||||||
ofn.hwndOwner = hWnd;
|
ofn.hwndOwner = hWnd;
|
||||||
ofn.hInstance = GetNHApp()->hApp;
|
ofn.hInstance = GetNHApp()->hApp;
|
||||||
ofn.lpstrFilter =
|
ofn.lpstrFilter = TEXT("Text Files (*.txt)\x0*.txt\x0")
|
||||||
"Text Files (*.txt)\x0*.txt\x0"
|
TEXT("All Files (*.*)\x0*.*\x0")
|
||||||
"All Files (*.*)\x0*.*\x0"
|
TEXT("\x0\x0");
|
||||||
"\x0\x0";
|
|
||||||
ofn.lpstrCustomFilter = NULL;
|
ofn.lpstrCustomFilter = NULL;
|
||||||
ofn.nMaxCustFilter = 0;
|
ofn.nMaxCustFilter = 0;
|
||||||
ofn.nFilterIndex = 1;
|
ofn.nFilterIndex = 1;
|
||||||
ofn.lpstrFile = filename;
|
ofn.lpstrFile = filename;
|
||||||
ofn.nMaxFile = sizeof(filename);
|
ofn.nMaxFile = SIZE(filename);
|
||||||
ofn.lpstrFileTitle = NULL;
|
ofn.lpstrFileTitle = NULL;
|
||||||
ofn.nMaxFileTitle = 0;
|
ofn.nMaxFileTitle = 0;
|
||||||
ofn.lpstrInitialDir = hackdir;
|
ofn.lpstrInitialDir = NH_A2W(hackdir, whackdir, MAX_PATH);
|
||||||
ofn.lpstrTitle = NULL;
|
ofn.lpstrTitle = NULL;
|
||||||
ofn.Flags = OFN_LONGNAMES | OFN_OVERWRITEPROMPT | OFN_PATHMUSTEXIST;
|
ofn.Flags = OFN_LONGNAMES | OFN_OVERWRITEPROMPT | OFN_PATHMUSTEXIST;
|
||||||
ofn.nFileOffset = 0;
|
ofn.nFileOffset = 0;
|
||||||
ofn.nFileExtension = 0;
|
ofn.nFileExtension = 0;
|
||||||
ofn.lpstrDefExt = "txt";
|
ofn.lpstrDefExt = TEXT("txt");
|
||||||
ofn.lCustData = 0;
|
ofn.lCustData = 0;
|
||||||
ofn.lpfnHook = 0;
|
ofn.lpfnHook = 0;
|
||||||
ofn.lpTemplateName = 0;
|
ofn.lpTemplateName = 0;
|
||||||
@@ -877,18 +886,23 @@ LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
text = nh_compose_ascii_screenshot();
|
text = nh_compose_ascii_screenshot();
|
||||||
if( !text ) return FALSE;
|
if( !text ) return FALSE;
|
||||||
|
|
||||||
pFile = fopen(filename, "wb");
|
pFile = _tfopen(filename, TEXT("wt+,ccs=UTF-8"));
|
||||||
if( !pFile ) {
|
if( !pFile ) {
|
||||||
char buf[4096];
|
TCHAR buf[4096];
|
||||||
sprintf(buf, "Cannot open %s for writing!", filename);
|
_stprintf(buf, TEXT("Cannot open %s for writing!"), filename);
|
||||||
NHMessageBox(hWnd, buf, MB_OK | MB_ICONERROR);
|
NHMessageBox(hWnd, buf, MB_OK | MB_ICONERROR);
|
||||||
free(text);
|
free(text);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
fwrite(text, strlen(text), 1, pFile);
|
tlen = strlen(text);
|
||||||
|
wtext = (wchar_t*)malloc(tlen*sizeof(wchar_t));
|
||||||
|
if( !wtext ) panic("out of memory");
|
||||||
|
MultiByteToWideChar(NH_CODEPAGE,0,text,-1,wtext,tlen);
|
||||||
|
fwrite(wtext, tlen*sizeof(wchar_t), 1, pFile);
|
||||||
fclose(pFile);
|
fclose(pFile);
|
||||||
free(text);
|
free(text);
|
||||||
|
free(wtext);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case IDM_NHMODE:
|
case IDM_NHMODE:
|
||||||
@@ -902,7 +916,7 @@ LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
mswin_destroy_reg();
|
mswin_destroy_reg();
|
||||||
/* Notify the user that windows settings will not be saved this time. */
|
/* Notify the user that windows settings will not be saved this time. */
|
||||||
NHMessageBox(GetNHApp()->hMainWnd,
|
NHMessageBox(GetNHApp()->hMainWnd,
|
||||||
"Your Windows Settings will not be stored when you exit this time.",
|
TEXT("Your Windows Settings will not be stored when you exit this time."),
|
||||||
MB_OK | MB_ICONINFORMATION);
|
MB_OK | MB_ICONINFORMATION);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -977,6 +991,8 @@ LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
RECT main_rt, dlg_rt;
|
RECT main_rt, dlg_rt;
|
||||||
SIZE dlg_sz;
|
SIZE dlg_sz;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
switch (message)
|
switch (message)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
@@ -1129,10 +1145,10 @@ void nhlock_windows( BOOL lock )
|
|||||||
for( i=0; i<MAXWINDOWS; i++ ) {
|
for( i=0; i<MAXWINDOWS; i++ ) {
|
||||||
if( IsWindow(GetNHApp()->windowlist[i].win) && !GetNHApp()->windowlist[i].dead) {
|
if( IsWindow(GetNHApp()->windowlist[i].win) && !GetNHApp()->windowlist[i].dead) {
|
||||||
DWORD style;
|
DWORD style;
|
||||||
style = (DWORD)GetWindowLongPtr(GetNHApp()->windowlist[i].win, GWL_STYLE);
|
style = GetWindowLong(GetNHApp()->windowlist[i].win, GWL_STYLE);
|
||||||
if( lock ) style &= ~WS_CAPTION;
|
if( lock ) style &= ~WS_CAPTION;
|
||||||
else style |= WS_CAPTION;
|
else style |= WS_CAPTION;
|
||||||
SetWindowLongPtr(GetNHApp()->windowlist[i].win, GWL_STYLE, style);
|
SetWindowLong(GetNHApp()->windowlist[i].win, GWL_STYLE, style);
|
||||||
SetWindowPos(
|
SetWindowPos(
|
||||||
GetNHApp()->windowlist[i].win,
|
GetNHApp()->windowlist[i].win,
|
||||||
NULL,
|
NULL,
|
||||||
|
|||||||
+11
-2
@@ -302,6 +302,8 @@ int mswin_map_mode(HWND hWnd, int mode)
|
|||||||
|
|
||||||
mswin_map_stretch(hWnd, &mapSize, TRUE);
|
mswin_map_stretch(hWnd, &mapSize, TRUE);
|
||||||
|
|
||||||
|
mswin_update_inventory(); /* for perm_invent to hide/show tiles */
|
||||||
|
|
||||||
return oldMode;
|
return oldMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -412,7 +414,7 @@ LRESULT CALLBACK MapWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPara
|
|||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
if( data->hMapFont ) DeleteObject(data->hMapFont);
|
if( data->hMapFont ) DeleteObject(data->hMapFont);
|
||||||
free(data);
|
free(data);
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)0);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@@ -560,6 +562,9 @@ void onCreate(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
PNHMapWindow data;
|
PNHMapWindow data;
|
||||||
int i,j;
|
int i,j;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
/* set window data */
|
/* set window data */
|
||||||
data = (PNHMapWindow)malloc(sizeof(NHMapWindow));
|
data = (PNHMapWindow)malloc(sizeof(NHMapWindow));
|
||||||
if( !data ) panic("out of memory");
|
if( !data ) panic("out of memory");
|
||||||
@@ -575,7 +580,7 @@ void onCreate(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
data->xScrTile = GetNHApp()->mapTile_X;
|
data->xScrTile = GetNHApp()->mapTile_X;
|
||||||
data->yScrTile = GetNHApp()->mapTile_Y;
|
data->yScrTile = GetNHApp()->mapTile_Y;
|
||||||
|
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)data);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* on WM_PAINT */
|
/* on WM_PAINT */
|
||||||
@@ -745,6 +750,8 @@ void onMSNH_VScroll(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
int yNewPos;
|
int yNewPos;
|
||||||
int yDelta;
|
int yDelta;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
/* get window data */
|
/* get window data */
|
||||||
data = (PNHMapWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHMapWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
|
|
||||||
@@ -803,6 +810,8 @@ void onMSNH_HScroll(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
int xNewPos;
|
int xNewPos;
|
||||||
int xDelta;
|
int xDelta;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
/* get window data */
|
/* get window data */
|
||||||
data = (PNHMapWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHMapWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
|
|
||||||
|
|||||||
+32
-24
@@ -75,7 +75,7 @@ static WNDPROC editControlWndProc = NULL;
|
|||||||
#define NHMENU_IS_SELECTED(item) ((item).count!=0)
|
#define NHMENU_IS_SELECTED(item) ((item).count!=0)
|
||||||
#define NHMENU_HAS_GLYPH(item) ((item).glyph!=NO_GLYPH)
|
#define NHMENU_HAS_GLYPH(item) ((item).glyph!=NO_GLYPH)
|
||||||
|
|
||||||
LRESULT CALLBACK MenuWndProc(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK MenuWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
LRESULT CALLBACK NHMenuListWndProc(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK NHMenuListWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
LRESULT CALLBACK NHMenuTextWndProc(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK NHMenuTextWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
||||||
@@ -122,9 +122,9 @@ HWND mswin_init_menu_window (int type) {
|
|||||||
|
|
||||||
if( !GetNHApp()->bWindowsLocked ) {
|
if( !GetNHApp()->bWindowsLocked ) {
|
||||||
DWORD style;
|
DWORD style;
|
||||||
style = (DWORD)GetWindowLongPtr(ret, GWL_STYLE);
|
style = GetWindowLong(ret, GWL_STYLE);
|
||||||
style |= WS_CAPTION;
|
style |= WS_CAPTION;
|
||||||
SetWindowLongPtr(ret, GWL_STYLE, style);
|
SetWindowLong(ret, GWL_STYLE, style);
|
||||||
SetWindowPos(ret, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED);
|
SetWindowPos(ret, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@ int mswin_menu_window_select_menu (HWND hWnd, int how, MENU_ITEM_P ** _selected,
|
|||||||
return ret_val;
|
return ret_val;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------*/
|
||||||
LRESULT CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
PNHMenuWindow data;
|
PNHMenuWindow data;
|
||||||
HWND control;
|
HWND control;
|
||||||
@@ -269,7 +269,7 @@ LRESULT CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPar
|
|||||||
data->bmpCheckedCount = LoadBitmap(GetNHApp()->hApp, MAKEINTRESOURCE(IDB_MENU_SEL_COUNT));
|
data->bmpCheckedCount = LoadBitmap(GetNHApp()->hApp, MAKEINTRESOURCE(IDB_MENU_SEL_COUNT));
|
||||||
data->bmpNotChecked = LoadBitmap(GetNHApp()->hApp, MAKEINTRESOURCE(IDB_MENU_UNSEL));
|
data->bmpNotChecked = LoadBitmap(GetNHApp()->hApp, MAKEINTRESOURCE(IDB_MENU_UNSEL));
|
||||||
data->is_active = FALSE;
|
data->is_active = FALSE;
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)data);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
|
|
||||||
/* set font for the text cotrol */
|
/* set font for the text cotrol */
|
||||||
control = GetDlgItem(hWnd, IDC_MENU_TEXT);
|
control = GetDlgItem(hWnd, IDC_MENU_TEXT);
|
||||||
@@ -279,7 +279,7 @@ LRESULT CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPar
|
|||||||
|
|
||||||
/* subclass edit control */
|
/* subclass edit control */
|
||||||
editControlWndProc = (WNDPROC)GetWindowLongPtr(control, GWLP_WNDPROC);
|
editControlWndProc = (WNDPROC)GetWindowLongPtr(control, GWLP_WNDPROC);
|
||||||
SetWindowLongPtr(control,GWLP_WNDPROC, (LONG)NHMenuTextWndProc);
|
SetWindowLongPtr(control, GWLP_WNDPROC, (LONG_PTR)NHMenuTextWndProc);
|
||||||
|
|
||||||
/* Even though the dialog has no caption, you can still set the title
|
/* Even though the dialog has no caption, you can still set the title
|
||||||
which shows on Alt-Tab */
|
which shows on Alt-Tab */
|
||||||
@@ -329,7 +329,7 @@ LRESULT CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPar
|
|||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
{
|
{
|
||||||
switch (LOWORD(wParam))
|
switch (LOWORD(wParam))
|
||||||
{
|
{
|
||||||
case IDCANCEL:
|
case IDCANCEL:
|
||||||
if( data->type == MENU_TYPE_MENU &&
|
if( data->type == MENU_TYPE_MENU &&
|
||||||
(data->how==PICK_ONE || data->how==PICK_ANY) &&
|
(data->how==PICK_ONE || data->how==PICK_ANY) &&
|
||||||
@@ -354,14 +354,6 @@ LRESULT CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPar
|
|||||||
data->done = 1;
|
data->done = 1;
|
||||||
data->result = 0;
|
data->result = 0;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
case IDC_MENU_TEXT:
|
|
||||||
switch (HIWORD(wParam))
|
|
||||||
{
|
|
||||||
case EN_SETFOCUS:
|
|
||||||
HideCaret((HWND)lParam);
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
@@ -477,7 +469,7 @@ LRESULT CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPar
|
|||||||
SetTextColor(hdcEdit,
|
SetTextColor(hdcEdit,
|
||||||
text_fg_brush ? text_fg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_FG_TEXT)
|
text_fg_brush ? text_fg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_FG_TEXT)
|
||||||
);
|
);
|
||||||
return (BOOL)(text_bg_brush
|
return (INT_PTR)(text_bg_brush
|
||||||
? text_bg_brush : SYSCLR_TO_BRUSH(DEFAULT_COLOR_BG_TEXT));
|
? text_bg_brush : SYSCLR_TO_BRUSH(DEFAULT_COLOR_BG_TEXT));
|
||||||
}
|
}
|
||||||
} return FALSE;
|
} return FALSE;
|
||||||
@@ -491,7 +483,7 @@ LRESULT CALLBACK MenuWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPar
|
|||||||
if( data->text.text ) free(data->text.text);
|
if( data->text.text ) free(data->text.text);
|
||||||
}
|
}
|
||||||
free(data);
|
free(data);
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)0);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)0);
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@@ -809,7 +801,7 @@ void SetMenuListType(HWND hWnd, int how)
|
|||||||
|
|
||||||
/* install the hook for the control window procedure */
|
/* install the hook for the control window procedure */
|
||||||
wndProcListViewOrig = (WNDPROC)GetWindowLongPtr(control, GWLP_WNDPROC);
|
wndProcListViewOrig = (WNDPROC)GetWindowLongPtr(control, GWLP_WNDPROC);
|
||||||
SetWindowLongPtr(control, GWLP_WNDPROC, (LONG)NHMenuListWndProc);
|
SetWindowLongPtr(control, GWLP_WNDPROC, (LONG_PTR)NHMenuListWndProc);
|
||||||
|
|
||||||
/* set control colors */
|
/* set control colors */
|
||||||
ListView_SetBkColor(control,
|
ListView_SetBkColor(control,
|
||||||
@@ -873,6 +865,8 @@ BOOL onMeasureItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
RECT list_rect;
|
RECT list_rect;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
|
|
||||||
lpmis = (LPMEASUREITEMSTRUCT) lParam;
|
lpmis = (LPMEASUREITEMSTRUCT) lParam;
|
||||||
data = (PNHMenuWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHMenuWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
GetClientRect(GetMenuControl(hWnd), &list_rect);
|
GetClientRect(GetMenuControl(hWnd), &list_rect);
|
||||||
@@ -884,12 +878,11 @@ BOOL onMeasureItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
/* Set the height of the list box items to max height of the individual items */
|
/* Set the height of the list box items to max height of the individual items */
|
||||||
for( i=0; i<data->menu.size; i++) {
|
for( i=0; i<data->menu.size; i++) {
|
||||||
if( NHMENU_HAS_GLYPH(data->menu.items[i]) && !IS_MAP_ASCII(iflags.wc_map_mode) ) {
|
if( NHMENU_HAS_GLYPH(data->menu.items[i]) && !IS_MAP_ASCII(iflags.wc_map_mode) ) {
|
||||||
lpmis->itemHeight = max( lpmis->itemHeight, (UINT)max(tm.tmHeight, GetNHApp()->mapTile_Y) );
|
lpmis->itemHeight = max( lpmis->itemHeight, (UINT)max(tm.tmHeight, GetNHApp()->mapTile_Y)+2 );
|
||||||
} else {
|
} else {
|
||||||
lpmis->itemHeight = max( lpmis->itemHeight, (UINT)max(tm.tmHeight, TILE_Y) );
|
lpmis->itemHeight = max( lpmis->itemHeight, (UINT)max(tm.tmHeight, TILE_Y)+2 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lpmis->itemHeight += 2;
|
|
||||||
|
|
||||||
/* set width to the window width */
|
/* set width to the window width */
|
||||||
lpmis->itemWidth = list_rect.right - list_rect.left;
|
lpmis->itemWidth = list_rect.right - list_rect.left;
|
||||||
@@ -920,6 +913,8 @@ BOOL onDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
int color = NO_COLOR, attr;
|
int color = NO_COLOR, attr;
|
||||||
boolean menucolr = FALSE;
|
boolean menucolr = FALSE;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
|
|
||||||
lpdis = (LPDRAWITEMSTRUCT) lParam;
|
lpdis = (LPDRAWITEMSTRUCT) lParam;
|
||||||
|
|
||||||
/* If there are no list box items, skip this message. */
|
/* If there are no list box items, skip this message. */
|
||||||
@@ -1460,10 +1455,10 @@ void mswin_menu_window_size (HWND hWnd, LPSIZE sz)
|
|||||||
extra_cx = (wrt.right-wrt.left) - sz->cx;
|
extra_cx = (wrt.right-wrt.left) - sz->cx;
|
||||||
|
|
||||||
if( data->type==MENU_TYPE_MENU ) {
|
if( data->type==MENU_TYPE_MENU ) {
|
||||||
sz->cx = max(sz->cx, data->menu.menu_cx + GetSystemMetrics(SM_CXVSCROLL) );
|
sz->cx = data->menu.menu_cx + GetSystemMetrics(SM_CXVSCROLL);
|
||||||
} else {
|
} else {
|
||||||
/* Use the width of the text box */
|
/* Use the width of the text box */
|
||||||
sz->cx = max( sz->cx, data->text.text_box_size.cx + 2*GetSystemMetrics(SM_CXVSCROLL));
|
sz->cx = data->text.text_box_size.cx + 2*GetSystemMetrics(SM_CXVSCROLL);
|
||||||
}
|
}
|
||||||
sz->cx += extra_cx;
|
sz->cx += extra_cx;
|
||||||
} else {
|
} else {
|
||||||
@@ -1561,7 +1556,15 @@ LRESULT CALLBACK NHMenuListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
|
|||||||
/* Text control window proc - implements scrolling without a cursor */
|
/* Text control window proc - implements scrolling without a cursor */
|
||||||
LRESULT CALLBACK NHMenuTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
LRESULT CALLBACK NHMenuTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
HDC hDC;
|
||||||
|
RECT rc;
|
||||||
|
|
||||||
switch(message) {
|
switch(message) {
|
||||||
|
case WM_ERASEBKGND:
|
||||||
|
hDC = (HDC) wParam;
|
||||||
|
GetClientRect(hWnd, &rc);
|
||||||
|
FillRect(hDC, &rc, text_bg_brush? text_bg_brush : SYSCLR_TO_BRUSH(DEFAULT_COLOR_BG_TEXT));
|
||||||
|
return 0;
|
||||||
|
|
||||||
case WM_KEYDOWN:
|
case WM_KEYDOWN:
|
||||||
switch (wParam)
|
switch (wParam)
|
||||||
@@ -1596,9 +1599,14 @@ LRESULT CALLBACK NHMenuTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
|
|||||||
SendMessage(hWnd, EM_SCROLL, SB_LINEDOWN, 0);
|
SendMessage(hWnd, EM_SCROLL, SB_LINEDOWN, 0);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* edit control needs to know nothing of its focus */
|
||||||
|
case WM_SETFOCUS:
|
||||||
|
HideCaret(hWnd);
|
||||||
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( editControlWndProc )
|
if( editControlWndProc )
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
#define MENU_TYPE_TEXT 1
|
#define MENU_TYPE_TEXT 1
|
||||||
#define MENU_TYPE_MENU 2
|
#define MENU_TYPE_MENU 2
|
||||||
|
|
||||||
|
extern COLORREF nhcolor_to_RGB (int c);
|
||||||
HWND mswin_init_menu_window ( int type );
|
HWND mswin_init_menu_window ( int type );
|
||||||
int mswin_menu_window_select_menu (HWND hwnd, int how, MENU_ITEM_P ** selected, BOOL activate);
|
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);
|
void mswin_menu_window_size (HWND hwnd, LPSIZE sz);
|
||||||
|
|||||||
+11
-3
@@ -22,15 +22,16 @@
|
|||||||
#define MSNH_MSG_DIED 109
|
#define MSNH_MSG_DIED 109
|
||||||
#define MSNH_MSG_CARET 110
|
#define MSNH_MSG_CARET 110
|
||||||
#define MSNH_MSG_GETTEXT 111
|
#define MSNH_MSG_GETTEXT 111
|
||||||
|
#define MSNH_MSG_UPDATE_STATUS 112
|
||||||
|
|
||||||
typedef struct mswin_nhmsg_add_wnd {
|
typedef struct mswin_nhmsg_add_wnd {
|
||||||
winid wid;
|
winid wid;
|
||||||
} MSNHMsgAddWnd, *PMSNHMsgAddWnd;
|
} MSNHMsgAddWnd, *PMSNHMsgAddWnd;
|
||||||
|
|
||||||
typedef struct mswin_nhmsg_putstr {
|
typedef struct mswin_nhmsg_putstr {
|
||||||
int attr;
|
int attr;
|
||||||
const char* text;
|
const char* text;
|
||||||
boolean append;
|
int append;
|
||||||
} MSNHMsgPutstr, *PMSNHMsgPutstr;
|
} MSNHMsgPutstr, *PMSNHMsgPutstr;
|
||||||
|
|
||||||
typedef struct mswin_nhmsg_print_glyph {
|
typedef struct mswin_nhmsg_print_glyph {
|
||||||
@@ -68,5 +69,12 @@ typedef struct mswin_nhmsg_get_text {
|
|||||||
char buffer[];
|
char buffer[];
|
||||||
} MSNHMsgGetText, *PMSNHMsgGetText;
|
} MSNHMsgGetText, *PMSNHMsgGetText;
|
||||||
|
|
||||||
|
typedef struct mswin_nhmsg_update_status {
|
||||||
|
int n_fields;
|
||||||
|
const char** vals;
|
||||||
|
boolean* activefields;
|
||||||
|
int* colors;
|
||||||
|
} MSNHMsgUpdateStatus, *PMSNHMsgUpdateStatus;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ LRESULT CALLBACK NHMessageWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM
|
|||||||
PNHMessageWindow data;
|
PNHMessageWindow data;
|
||||||
data = (PNHMessageWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHMessageWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
free(data);
|
free(data);
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)0);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)0);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case WM_SIZE:
|
case WM_SIZE:
|
||||||
@@ -273,7 +273,7 @@ void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
/* get the input */
|
/* get the input */
|
||||||
while (!okkey) {
|
while (!okkey) {
|
||||||
char c = mswin_nhgetch();
|
int c = mswin_nhgetch();
|
||||||
|
|
||||||
switch (c)
|
switch (c)
|
||||||
{
|
{
|
||||||
@@ -382,6 +382,8 @@ void onMSNH_VScroll(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
SCROLLINFO si;
|
SCROLLINFO si;
|
||||||
int yInc;
|
int yInc;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
/* get window data */
|
/* get window data */
|
||||||
data = (PNHMessageWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHMessageWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
|
|
||||||
@@ -564,7 +566,6 @@ void onPaint(HWND hWnd)
|
|||||||
TCHAR wbuf[MAXWINDOWTEXT+2];
|
TCHAR wbuf[MAXWINDOWTEXT+2];
|
||||||
size_t wlen;
|
size_t wlen;
|
||||||
COLORREF OldBg, OldFg;
|
COLORREF OldBg, OldFg;
|
||||||
int do_more = 0;
|
|
||||||
|
|
||||||
hdc = BeginPaint(hWnd, &ps);
|
hdc = BeginPaint(hWnd, &ps);
|
||||||
|
|
||||||
@@ -655,12 +656,15 @@ void onCreate(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
PNHMessageWindow data;
|
PNHMessageWindow data;
|
||||||
SIZE dummy;
|
SIZE dummy;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
/* set window data */
|
/* set window data */
|
||||||
data = (PNHMessageWindow)malloc(sizeof(NHMessageWindow));
|
data = (PNHMessageWindow)malloc(sizeof(NHMessageWindow));
|
||||||
if( !data ) panic("out of memory");
|
if( !data ) panic("out of memory");
|
||||||
ZeroMemory(data, sizeof(NHMessageWindow));
|
ZeroMemory(data, sizeof(NHMessageWindow));
|
||||||
data->max_text = MAXWINDOWTEXT;
|
data->max_text = MAXWINDOWTEXT;
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)data);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
|
|
||||||
/* re-calculate window size (+ font size) */
|
/* re-calculate window size (+ font size) */
|
||||||
mswin_message_window_size(hWnd, &dummy);
|
mswin_message_window_size(hWnd, &dummy);
|
||||||
@@ -760,8 +764,6 @@ BOOL more_prompt_check(HWND hWnd)
|
|||||||
HDC hdc;
|
HDC hdc;
|
||||||
HGDIOBJ saveFont;
|
HGDIOBJ saveFont;
|
||||||
RECT client_rt, draw_rt;
|
RECT client_rt, draw_rt;
|
||||||
BOOL retval = FALSE;
|
|
||||||
int visible_lines = 0;
|
|
||||||
int i;
|
int i;
|
||||||
int remaining_height;
|
int remaining_height;
|
||||||
char tmptext[MAXWINDOWTEXT+1];
|
char tmptext[MAXWINDOWTEXT+1];
|
||||||
|
|||||||
+4
-4
@@ -28,7 +28,7 @@ typedef struct mswin_nethack_text_window {
|
|||||||
TCHAR* rip_text;
|
TCHAR* rip_text;
|
||||||
} NHRIPWindow, *PNHRIPWindow;
|
} NHRIPWindow, *PNHRIPWindow;
|
||||||
|
|
||||||
LRESULT CALLBACK NHRIPWndProc(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK NHRIPWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
HWND mswin_init_RIP_window () {
|
HWND mswin_init_RIP_window () {
|
||||||
@@ -47,7 +47,7 @@ HWND mswin_init_RIP_window () {
|
|||||||
if( !data ) panic("out of memory");
|
if( !data ) panic("out of memory");
|
||||||
|
|
||||||
ZeroMemory(data, sizeof(NHRIPWindow));
|
ZeroMemory(data, sizeof(NHRIPWindow));
|
||||||
SetWindowLongPtr(ret, GWLP_USERDATA, (LONG)data);
|
SetWindowLongPtr(ret, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ void mswin_display_RIP_window (HWND hWnd)
|
|||||||
GetNHApp()->hPopupWnd = NULL;
|
GetNHApp()->hPopupWnd = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK NHRIPWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK NHRIPWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HDC hdc;
|
HDC hdc;
|
||||||
PNHRIPWindow data;
|
PNHRIPWindow data;
|
||||||
@@ -218,7 +218,7 @@ LRESULT CALLBACK NHRIPWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||||||
if( data->rip_text ) free(data->rip_text);
|
if( data->rip_text ) free(data->rip_text);
|
||||||
if (data->rip_bmp != NULL) DeleteObject(data->rip_bmp);
|
if (data->rip_bmp != NULL) DeleteObject(data->rip_bmp);
|
||||||
free(data);
|
free(data);
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)0);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
PNHWinApp GetNHApp(void);
|
PNHWinApp GetNHApp(void);
|
||||||
|
|
||||||
LRESULT CALLBACK NHSplashWndProc(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK NHSplashWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
|
|
||||||
#define SPLASH_WIDTH 440
|
#define SPLASH_WIDTH 440
|
||||||
#define SPLASH_HEIGHT 322
|
#define SPLASH_HEIGHT 322
|
||||||
@@ -177,9 +177,12 @@ void mswin_display_splash_window (BOOL show_ver)
|
|||||||
mswin_destroy_splashfonts();
|
mswin_destroy_splashfonts();
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK NHSplashWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK NHSplashWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HDC hdc;
|
HDC hdc;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
switch (message)
|
switch (message)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
|
|||||||
+176
-40
@@ -11,14 +11,34 @@
|
|||||||
#define NHSW_LINES 2
|
#define NHSW_LINES 2
|
||||||
#define MAXWINDOWTEXT BUFSZ
|
#define MAXWINDOWTEXT BUFSZ
|
||||||
|
|
||||||
|
extern COLORREF nhcolor_to_RGB (int c); /* from mhmap */
|
||||||
|
|
||||||
typedef struct mswin_nethack_status_window {
|
typedef struct mswin_nethack_status_window {
|
||||||
int index;
|
int index;
|
||||||
char window_text[NHSW_LINES][MAXWINDOWTEXT+1];
|
char window_text[NHSW_LINES][MAXWINDOWTEXT+1];
|
||||||
|
int n_fields;
|
||||||
|
const char** vals;
|
||||||
|
boolean* activefields;
|
||||||
|
int* colors;
|
||||||
} NHStatusWindow, *PNHStatusWindow;
|
} NHStatusWindow, *PNHStatusWindow;
|
||||||
|
|
||||||
|
#ifdef STATUS_VIA_WINDOWPORT
|
||||||
|
static int fieldorder1[] = {
|
||||||
|
BL_TITLE, BL_STR, BL_DX,BL_CO, BL_IN,
|
||||||
|
BL_WI, BL_CH,BL_ALIGN, BL_SCORE, -1
|
||||||
|
};
|
||||||
|
static int fieldorder2[] = {
|
||||||
|
BL_LEVELDESC, BL_GOLD, BL_HP, BL_HPMAX,
|
||||||
|
BL_ENE, BL_ENEMAX, BL_AC, BL_XP, BL_EXP, BL_HD,
|
||||||
|
BL_TIME, BL_HUNGER,BL_CAP, BL_CONDITION, -1
|
||||||
|
};
|
||||||
|
static int* fieldorders[] = {fieldorder1, fieldorder2, NULL};
|
||||||
|
#endif /* STATUS_VIA_WINDOWPORT */
|
||||||
|
|
||||||
static TCHAR szStatusWindowClass[] = TEXT("MSNHStatusWndClass");
|
static TCHAR szStatusWindowClass[] = TEXT("MSNHStatusWndClass");
|
||||||
LRESULT CALLBACK StatusWndProc(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK StatusWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
static void register_status_window_class(void);
|
static void register_status_window_class(void);
|
||||||
|
static LRESULT onWMPaint(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
#define DEFAULT_COLOR_BG_STATUS COLOR_WINDOW
|
#define DEFAULT_COLOR_BG_STATUS COLOR_WINDOW
|
||||||
#define DEFAULT_COLOR_FG_STATUS COLOR_WINDOWTEXT
|
#define DEFAULT_COLOR_FG_STATUS COLOR_WINDOWTEXT
|
||||||
@@ -64,7 +84,7 @@ HWND mswin_init_status_window () {
|
|||||||
if( !data ) panic("out of memory");
|
if( !data ) panic("out of memory");
|
||||||
|
|
||||||
ZeroMemory(data, sizeof(NHStatusWindow));
|
ZeroMemory(data, sizeof(NHStatusWindow));
|
||||||
SetWindowLongPtr(ret, GWLP_USERDATA, (LONG)data);
|
SetWindowLongPtr(ret, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,9 +111,6 @@ void register_status_window_class()
|
|||||||
|
|
||||||
LRESULT CALLBACK StatusWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
LRESULT CALLBACK StatusWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
RECT rt;
|
|
||||||
PAINTSTRUCT ps;
|
|
||||||
HDC hdc;
|
|
||||||
PNHStatusWindow data;
|
PNHStatusWindow data;
|
||||||
|
|
||||||
data = (PNHStatusWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHStatusWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
@@ -118,43 +135,39 @@ LRESULT CALLBACK StatusWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
|
|
||||||
case MSNH_MSG_GETTEXT: {
|
case MSNH_MSG_GETTEXT: {
|
||||||
PMSNHMsgGetText msg_data = (PMSNHMsgGetText)lParam;
|
PMSNHMsgGetText msg_data = (PMSNHMsgGetText)lParam;
|
||||||
|
#ifdef STATUS_VIA_WINDOWPORT
|
||||||
|
int **fop;
|
||||||
|
int *f;
|
||||||
|
msg_data->buffer[0] = '\0';
|
||||||
|
if( data->n_fields>0 ) {
|
||||||
|
for(fop = fieldorders; *fop; fop++) {
|
||||||
|
for(f=*fop; *f!=-1; f++) {
|
||||||
|
if (data->activefields[*f])
|
||||||
|
strncat(msg_data->buffer, data->vals[*f], msg_data->max_size - strlen(msg_data->buffer));
|
||||||
|
}
|
||||||
|
strncat(msg_data->buffer, "\r\n", msg_data->max_size - strlen(msg_data->buffer) );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#else /* STATUS_VIA_WINDOWPORT */
|
||||||
strncpy(msg_data->buffer, data->window_text[0], msg_data->max_size);
|
strncpy(msg_data->buffer, data->window_text[0], msg_data->max_size);
|
||||||
strncat(msg_data->buffer, "\r\n", msg_data->max_size - strlen(msg_data->buffer) );
|
strncat(msg_data->buffer, "\r\n", msg_data->max_size - strlen(msg_data->buffer) );
|
||||||
strncat(msg_data->buffer, data->window_text[1], msg_data->max_size - strlen(msg_data->buffer) );
|
strncat(msg_data->buffer, data->window_text[1], msg_data->max_size - strlen(msg_data->buffer) );
|
||||||
|
#endif /* STATUS_VIA_WINDOWPORT */
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
case MSNH_MSG_UPDATE_STATUS: {
|
||||||
|
PMSNHMsgUpdateStatus msg_data = (PMSNHMsgUpdateStatus)lParam;
|
||||||
|
data->n_fields = msg_data->n_fields;
|
||||||
|
data->vals = msg_data->vals;
|
||||||
|
data->activefields = msg_data->activefields;
|
||||||
|
data->colors = msg_data->colors;
|
||||||
|
InvalidateRect(hWnd, NULL, TRUE);
|
||||||
|
} break;
|
||||||
} /* end switch( wParam ) { */
|
} /* end switch( wParam ) { */
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case WM_PAINT: {
|
case WM_PAINT:
|
||||||
int i;
|
return onWMPaint(hWnd, wParam, lParam);
|
||||||
SIZE sz;
|
|
||||||
HGDIOBJ oldFont;
|
|
||||||
TCHAR wbuf[BUFSZ];
|
|
||||||
COLORREF OldBg, OldFg;
|
|
||||||
|
|
||||||
hdc = BeginPaint(hWnd, &ps);
|
|
||||||
GetClientRect(hWnd, &rt);
|
|
||||||
|
|
||||||
oldFont = SelectObject(hdc, mswin_get_font(NHW_STATUS, ATR_NONE, hdc, FALSE));
|
|
||||||
|
|
||||||
OldBg = SetBkColor(hdc, status_bg_brush
|
|
||||||
? status_bg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_BG_STATUS));
|
|
||||||
OldFg = SetTextColor(hdc, status_fg_brush
|
|
||||||
? status_fg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_FG_STATUS));
|
|
||||||
|
|
||||||
for(i=0; i<NHSW_LINES; i++ ) {
|
|
||||||
GetTextExtentPoint32(hdc, NH_A2W(data->window_text[i], wbuf, sizeof(wbuf)), strlen(data->window_text[i]), &sz);
|
|
||||||
NH_A2W(data->window_text[i], wbuf, BUFSZ);
|
|
||||||
DrawText(hdc, wbuf, strlen(data->window_text[i]), &rt, DT_LEFT | DT_END_ELLIPSIS);
|
|
||||||
rt.top += sz.cy;
|
|
||||||
}
|
|
||||||
|
|
||||||
SelectObject(hdc, oldFont);
|
|
||||||
SetTextColor (hdc, OldFg);
|
|
||||||
SetBkColor (hdc, OldBg);
|
|
||||||
EndPaint(hWnd, &ps);
|
|
||||||
} break;
|
|
||||||
|
|
||||||
case WM_SIZE: {
|
case WM_SIZE: {
|
||||||
RECT rt;
|
RECT rt;
|
||||||
@@ -174,7 +187,7 @@ LRESULT CALLBACK StatusWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
|
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
free(data);
|
free(data);
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)0);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_SETFOCUS:
|
case WM_SETFOCUS:
|
||||||
@@ -187,6 +200,125 @@ LRESULT CALLBACK StatusWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef STATUS_VIA_WINDOWPORT
|
||||||
|
static LRESULT onWMPaint(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
|
{
|
||||||
|
int* f;
|
||||||
|
int** fop;
|
||||||
|
SIZE sz;
|
||||||
|
HGDIOBJ oldFont, normalFont, boldFont;
|
||||||
|
TCHAR wbuf[BUFSZ];
|
||||||
|
COLORREF OldBg, OldFg, Bg, Fg;
|
||||||
|
RECT rt;
|
||||||
|
PAINTSTRUCT ps;
|
||||||
|
HDC hdc;
|
||||||
|
PNHStatusWindow data;
|
||||||
|
|
||||||
|
data = (PNHStatusWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
|
|
||||||
|
hdc = BeginPaint(hWnd, &ps);
|
||||||
|
GetClientRect(hWnd, &rt);
|
||||||
|
|
||||||
|
normalFont = mswin_get_font(NHW_STATUS, ATR_NONE, hdc, FALSE);
|
||||||
|
boldFont = mswin_get_font(NHW_STATUS, ATR_BOLD, hdc, FALSE);
|
||||||
|
oldFont = SelectObject(hdc, normalFont);
|
||||||
|
|
||||||
|
Bg = status_bg_brush? status_bg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_BG_STATUS);
|
||||||
|
OldBg = SetBkColor(hdc, Bg);
|
||||||
|
|
||||||
|
Fg = status_fg_brush? status_fg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_FG_STATUS);
|
||||||
|
OldFg = SetTextColor(hdc, Fg);
|
||||||
|
|
||||||
|
for(fop = fieldorders; *fop; fop++) {
|
||||||
|
LONG left = rt.left;
|
||||||
|
LONG cy = 0;
|
||||||
|
int vlen;
|
||||||
|
for(f=*fop; *f!=-1; f++) {
|
||||||
|
if( ((*f)>= data->n_fields) || (!data->activefields[*f])) continue;
|
||||||
|
vlen = strlen(data->vals[*f]);
|
||||||
|
NH_A2W(data->vals[*f], wbuf, SIZE(wbuf));
|
||||||
|
|
||||||
|
if(data->colors[*f]==CLR_MAX || data->colors[*f]==BL_HILITE_NONE) {
|
||||||
|
SelectObject(hdc, normalFont);
|
||||||
|
SetBkColor(hdc, Bg);
|
||||||
|
SetTextColor(hdc, Fg);
|
||||||
|
} else if(data->colors[*f]>0) {
|
||||||
|
SelectObject(hdc, normalFont);
|
||||||
|
SetBkColor(hdc, Bg);
|
||||||
|
SetTextColor(hdc, nhcolor_to_RGB(data->colors[*f]));
|
||||||
|
} else if(data->colors[*f]==BL_HILITE_INVERSE) {
|
||||||
|
SelectObject(hdc, normalFont);
|
||||||
|
SetBkColor(hdc, Fg);
|
||||||
|
SetTextColor(hdc, Bg);
|
||||||
|
} else if(data->colors[*f]==BL_HILITE_BOLD) {
|
||||||
|
SelectObject(hdc, boldFont);
|
||||||
|
SetBkColor(hdc, Bg);
|
||||||
|
SetTextColor(hdc, Fg);
|
||||||
|
} else {
|
||||||
|
SelectObject(hdc, normalFont);
|
||||||
|
SetBkColor(hdc, Bg);
|
||||||
|
SetTextColor(hdc, Fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetTextExtentPoint32(hdc, wbuf, vlen, &sz);
|
||||||
|
DrawText(hdc, wbuf, vlen, &rt, DT_LEFT);
|
||||||
|
|
||||||
|
rt.left += sz.cx;
|
||||||
|
cy = max(cy, sz.cy);
|
||||||
|
}
|
||||||
|
rt.left = left;
|
||||||
|
rt.top += cy;
|
||||||
|
}
|
||||||
|
|
||||||
|
SelectObject(hdc, oldFont);
|
||||||
|
SetTextColor (hdc, OldFg);
|
||||||
|
SetBkColor (hdc, OldBg);
|
||||||
|
EndPaint(hWnd, &ps);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
static LRESULT onWMPaint(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
SIZE sz;
|
||||||
|
HGDIOBJ oldFont;
|
||||||
|
TCHAR wbuf[BUFSZ];
|
||||||
|
COLORREF OldBg, OldFg;
|
||||||
|
RECT rt;
|
||||||
|
PAINTSTRUCT ps;
|
||||||
|
HDC hdc;
|
||||||
|
PNHStatusWindow data;
|
||||||
|
|
||||||
|
data = (PNHStatusWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
|
|
||||||
|
hdc = BeginPaint(hWnd, &ps);
|
||||||
|
GetClientRect(hWnd, &rt);
|
||||||
|
|
||||||
|
oldFont = SelectObject(hdc, mswin_get_font(NHW_STATUS, ATR_NONE, hdc, FALSE));
|
||||||
|
|
||||||
|
OldBg = SetBkColor(hdc, status_bg_brush
|
||||||
|
? status_bg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_BG_STATUS));
|
||||||
|
OldFg = SetTextColor(hdc, status_fg_brush
|
||||||
|
? status_fg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_FG_STATUS));
|
||||||
|
|
||||||
|
for(i=0; i<NHSW_LINES; i++ ) {
|
||||||
|
int wlen = strlen(data->window_text[i]);
|
||||||
|
NH_A2W(data->window_text[i], wbuf, SIZE(wbuf));
|
||||||
|
GetTextExtentPoint32(hdc, wbuf, wlen, &sz);
|
||||||
|
DrawText(hdc, wbuf, wlen, &rt, DT_LEFT | DT_END_ELLIPSIS);
|
||||||
|
rt.top += sz.cy;
|
||||||
|
}
|
||||||
|
|
||||||
|
SelectObject(hdc, oldFont);
|
||||||
|
SetTextColor (hdc, OldFg);
|
||||||
|
SetBkColor (hdc, OldBg);
|
||||||
|
EndPaint(hWnd, &ps);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif /*STATUS_VIA_WINDOWPORT*/
|
||||||
|
|
||||||
void mswin_status_window_size (HWND hWnd, LPSIZE sz)
|
void mswin_status_window_size (HWND hWnd, LPSIZE sz)
|
||||||
{
|
{
|
||||||
TEXTMETRIC tm;
|
TEXTMETRIC tm;
|
||||||
@@ -194,20 +326,24 @@ void mswin_status_window_size (HWND hWnd, LPSIZE sz)
|
|||||||
HDC hdc;
|
HDC hdc;
|
||||||
PNHStatusWindow data;
|
PNHStatusWindow data;
|
||||||
RECT rt;
|
RECT rt;
|
||||||
GetWindowRect(hWnd, &rt);
|
SIZE text_sz;
|
||||||
sz->cx = rt.right - rt.left;
|
|
||||||
sz->cy = rt.bottom - rt.top;
|
GetClientRect(hWnd, &rt);
|
||||||
|
|
||||||
data = (PNHStatusWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
data = (PNHStatusWindow)GetWindowLongPtr(hWnd, GWLP_USERDATA);
|
||||||
if(data) {
|
if(data) {
|
||||||
hdc = GetDC(hWnd);
|
hdc = GetDC(hWnd);
|
||||||
saveFont = SelectObject(hdc, mswin_get_font(NHW_STATUS, ATR_NONE, hdc, FALSE));
|
saveFont = SelectObject(hdc, mswin_get_font(NHW_STATUS, ATR_NONE, hdc, FALSE));
|
||||||
|
GetTextExtentPoint32(hdc, _T("W"), 1, &text_sz);
|
||||||
GetTextMetrics(hdc, &tm);
|
GetTextMetrics(hdc, &tm);
|
||||||
|
|
||||||
sz->cy = tm.tmHeight * NHSW_LINES + 2*GetSystemMetrics(SM_CYSIZEFRAME);
|
rt.bottom = rt.top + text_sz.cy*NHSW_LINES;
|
||||||
|
|
||||||
SelectObject(hdc, saveFont);
|
SelectObject(hdc, saveFont);
|
||||||
ReleaseDC(hWnd, hdc);
|
ReleaseDC(hWnd, hdc);
|
||||||
}
|
}
|
||||||
|
AdjustWindowRect(&rt, GetWindowLong(hWnd, GWL_STYLE), FALSE);
|
||||||
|
sz->cx = rt.right - rt.left;
|
||||||
|
sz->cy = rt.bottom - rt.top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+24
-17
@@ -19,7 +19,7 @@ static WNDPROC editControlWndProc = 0;
|
|||||||
#define DEFAULT_COLOR_BG_TEXT COLOR_WINDOW
|
#define DEFAULT_COLOR_BG_TEXT COLOR_WINDOW
|
||||||
#define DEFAULT_COLOR_FG_TEXT COLOR_WINDOWTEXT
|
#define DEFAULT_COLOR_FG_TEXT COLOR_WINDOWTEXT
|
||||||
|
|
||||||
LRESULT CALLBACK NHTextWndProc(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK NHTextWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
LRESULT CALLBACK NHEditHookWndProc(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK NHEditHookWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
||||||
static void LayoutText(HWND hwnd);
|
static void LayoutText(HWND hwnd);
|
||||||
@@ -54,9 +54,9 @@ HWND mswin_init_text_window () {
|
|||||||
SetWindowText(ret, "Text");
|
SetWindowText(ret, "Text");
|
||||||
if( !GetNHApp()->bWindowsLocked ) {
|
if( !GetNHApp()->bWindowsLocked ) {
|
||||||
DWORD style;
|
DWORD style;
|
||||||
style = (DWORD)GetWindowLongPtr(ret, GWL_STYLE);
|
style = GetWindowLong(ret, GWL_STYLE);
|
||||||
style |= WS_CAPTION;
|
style |= WS_CAPTION;
|
||||||
SetWindowLongPtr(ret, GWL_STYLE, style);
|
SetWindowLong(ret, GWL_STYLE, style);
|
||||||
SetWindowPos(ret, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED);
|
SetWindowPos(ret, NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ HWND mswin_init_text_window () {
|
|||||||
data = (PNHTextWindow)malloc(sizeof(NHTextWindow));
|
data = (PNHTextWindow)malloc(sizeof(NHTextWindow));
|
||||||
if( !data ) panic("out of memory");
|
if( !data ) panic("out of memory");
|
||||||
ZeroMemory(data, sizeof(NHTextWindow));
|
ZeroMemory(data, sizeof(NHTextWindow));
|
||||||
SetWindowLongPtr(ret, GWLP_USERDATA, (LONG)data);
|
SetWindowLongPtr(ret, GWLP_USERDATA, (LONG_PTR)data);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,14 +77,14 @@ void mswin_display_text_window (HWND hWnd)
|
|||||||
HWND control;
|
HWND control;
|
||||||
control = GetDlgItem(hWnd, IDC_TEXT_CONTROL);
|
control = GetDlgItem(hWnd, IDC_TEXT_CONTROL);
|
||||||
SendMessage(control, EM_FMTLINES, 1, 0 );
|
SendMessage(control, EM_FMTLINES, 1, 0 );
|
||||||
SetWindowText(GetDlgItem(hWnd, IDC_TEXT_CONTROL), data->window_text);
|
SetWindowText(control, data->window_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
mswin_popup_display(hWnd, NULL);
|
mswin_popup_display(hWnd, NULL);
|
||||||
mswin_popup_destroy(hWnd);
|
mswin_popup_destroy(hWnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK NHTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK NHTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND control;
|
HWND control;
|
||||||
HDC hdc;
|
HDC hdc;
|
||||||
@@ -107,7 +107,7 @@ LRESULT CALLBACK NHTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
|
|
||||||
/* subclass edit control */
|
/* subclass edit control */
|
||||||
editControlWndProc = (WNDPROC)GetWindowLongPtr(control, GWLP_WNDPROC);
|
editControlWndProc = (WNDPROC)GetWindowLongPtr(control, GWLP_WNDPROC);
|
||||||
SetWindowLongPtr(control, GWLP_WNDPROC, (LONG)NHEditHookWndProc);
|
SetWindowLongPtr(control, GWLP_WNDPROC, (LONG_PTR)NHEditHookWndProc);
|
||||||
|
|
||||||
SetFocus(control);
|
SetFocus(control);
|
||||||
|
|
||||||
@@ -151,14 +151,7 @@ LRESULT CALLBACK NHTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
DestroyWindow(hWnd);
|
DestroyWindow(hWnd);
|
||||||
SetFocus(GetNHApp()->hMainWnd);
|
SetFocus(GetNHApp()->hMainWnd);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case IDC_TEXT_CONTROL:
|
}
|
||||||
switch (HIWORD(wParam))
|
|
||||||
{
|
|
||||||
case EN_SETFOCUS:
|
|
||||||
HideCaret((HWND)lParam);
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_CTLCOLORSTATIC: { /* sent by edit control before it is drawn */
|
case WM_CTLCOLORSTATIC: { /* sent by edit control before it is drawn */
|
||||||
@@ -171,7 +164,7 @@ LRESULT CALLBACK NHTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
SetTextColor(hdcEdit,
|
SetTextColor(hdcEdit,
|
||||||
text_fg_brush ? text_fg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_FG_TEXT)
|
text_fg_brush ? text_fg_color : (COLORREF)GetSysColor(DEFAULT_COLOR_FG_TEXT)
|
||||||
);
|
);
|
||||||
return (BOOL)(text_bg_brush
|
return (INT_PTR)(text_bg_brush
|
||||||
? text_bg_brush : SYSCLR_TO_BRUSH(DEFAULT_COLOR_BG_TEXT));
|
? text_bg_brush : SYSCLR_TO_BRUSH(DEFAULT_COLOR_BG_TEXT));
|
||||||
}
|
}
|
||||||
} return FALSE;
|
} return FALSE;
|
||||||
@@ -180,7 +173,7 @@ LRESULT CALLBACK NHTextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
if( data ) {
|
if( data ) {
|
||||||
if( data->window_text ) free(data->window_text);
|
if( data->window_text ) free(data->window_text);
|
||||||
free(data);
|
free(data);
|
||||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG)0);
|
SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -249,7 +242,15 @@ void LayoutText(HWND hWnd)
|
|||||||
/* Edit box hook */
|
/* Edit box hook */
|
||||||
LRESULT CALLBACK NHEditHookWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
LRESULT CALLBACK NHEditHookWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
HDC hDC;
|
||||||
|
RECT rc;
|
||||||
|
|
||||||
switch(message) {
|
switch(message) {
|
||||||
|
case WM_ERASEBKGND:
|
||||||
|
hDC = (HDC) wParam;
|
||||||
|
GetClientRect(hWnd, &rc);
|
||||||
|
FillRect(hDC, &rc, text_bg_brush? text_bg_brush : SYSCLR_TO_BRUSH(DEFAULT_COLOR_BG_TEXT));
|
||||||
|
return 1;
|
||||||
|
|
||||||
case WM_KEYDOWN:
|
case WM_KEYDOWN:
|
||||||
switch (wParam)
|
switch (wParam)
|
||||||
@@ -286,8 +287,14 @@ LRESULT CALLBACK NHEditHookWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA
|
|||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* edit control needs to know nothing of focus. We will take care of it for it */
|
||||||
|
case WM_SETFOCUS:
|
||||||
|
HideCaret(hWnd);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if( editControlWndProc )
|
if( editControlWndProc )
|
||||||
return CallWindowProc(editControlWndProc, hWnd, message, wParam, lParam);
|
return CallWindowProc(editControlWndProc, hWnd, message, wParam, lParam);
|
||||||
else
|
else
|
||||||
|
|||||||
+302
-9
@@ -12,6 +12,7 @@
|
|||||||
#include "dlb.h"
|
#include "dlb.h"
|
||||||
#include "func_tab.h" /* for extended commands */
|
#include "func_tab.h" /* for extended commands */
|
||||||
#include "winMS.h"
|
#include "winMS.h"
|
||||||
|
#include <assert.h>
|
||||||
#include "mhmap.h"
|
#include "mhmap.h"
|
||||||
#include "mhstatus.h"
|
#include "mhstatus.h"
|
||||||
#include "mhtext.h"
|
#include "mhtext.h"
|
||||||
@@ -29,7 +30,7 @@
|
|||||||
|
|
||||||
#define LLEN 128
|
#define LLEN 128
|
||||||
|
|
||||||
extern winid WIN_STATUS;
|
#define NHTRACE_LOG "nhtrace.log"
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
extern void logDebug(const char *fmt, ...);
|
extern void logDebug(const char *fmt, ...);
|
||||||
@@ -127,12 +128,12 @@ struct window_procs mswin_procs = {
|
|||||||
mswin_getmsghistory,
|
mswin_getmsghistory,
|
||||||
mswin_putmsghistory,
|
mswin_putmsghistory,
|
||||||
#ifdef STATUS_VIA_WINDOWPORT
|
#ifdef STATUS_VIA_WINDOWPORT
|
||||||
genl_status_init,
|
mswin_status_init,
|
||||||
genl_status_finish,
|
mswin_status_finish,
|
||||||
genl_status_enablefield,
|
mswin_status_enablefield,
|
||||||
genl_status_update,
|
mswin_status_update,
|
||||||
# ifdef STATUS_HILITES
|
# ifdef STATUS_HILITES
|
||||||
genl_status_threshold,
|
mswin_status_threshold,
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
genl_can_suspend_yes,
|
genl_can_suspend_yes,
|
||||||
@@ -155,12 +156,16 @@ init_nhwindows(int* argcp, char** argv)
|
|||||||
*/
|
*/
|
||||||
void mswin_init_nhwindows(int* argc, char** argv)
|
void mswin_init_nhwindows(int* argc, char** argv)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(argc);
|
||||||
|
UNREFERENCED_PARAMETER(argv);
|
||||||
|
|
||||||
logDebug("mswin_init_nhwindows()\n");
|
logDebug("mswin_init_nhwindows()\n");
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
if (showdebug(NHTRACE_LOG))
|
||||||
{
|
{
|
||||||
/* truncate trace file */
|
/* truncate trace file */
|
||||||
FILE *dfp = fopen("nhtrace.log", "w");
|
FILE *dfp = fopen(NHTRACE_LOG, "w");
|
||||||
fclose(dfp);
|
fclose(dfp);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -687,6 +692,7 @@ void mswin_get_nh_event(void)
|
|||||||
MSG msg;
|
MSG msg;
|
||||||
|
|
||||||
logDebug("mswin_get_nh_event()\n");
|
logDebug("mswin_get_nh_event()\n");
|
||||||
|
|
||||||
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)!=0 ) {
|
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)!=0 ) {
|
||||||
if (!TranslateAccelerator(msg.hwnd, GetNHApp()->hAccelTable, &msg)) {
|
if (!TranslateAccelerator(msg.hwnd, GetNHApp()->hAccelTable, &msg)) {
|
||||||
TranslateMessage(&msg);
|
TranslateMessage(&msg);
|
||||||
@@ -702,6 +708,7 @@ void mswin_get_nh_event(void)
|
|||||||
void mswin_exit_nhwindows(const char *str)
|
void mswin_exit_nhwindows(const char *str)
|
||||||
{
|
{
|
||||||
logDebug("mswin_exit_nhwindows(%s)\n", str);
|
logDebug("mswin_exit_nhwindows(%s)\n", str);
|
||||||
|
|
||||||
/* Write Window settings to the registry */
|
/* Write Window settings to the registry */
|
||||||
mswin_write_reg();
|
mswin_write_reg();
|
||||||
while (max_brush)
|
while (max_brush)
|
||||||
@@ -712,6 +719,7 @@ void mswin_exit_nhwindows(const char *str)
|
|||||||
void mswin_suspend_nhwindows(const char *str)
|
void mswin_suspend_nhwindows(const char *str)
|
||||||
{
|
{
|
||||||
logDebug("mswin_suspend_nhwindows(%s)\n", str);
|
logDebug("mswin_suspend_nhwindows(%s)\n", str);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -720,6 +728,7 @@ void mswin_suspend_nhwindows(const char *str)
|
|||||||
void mswin_resume_nhwindows()
|
void mswin_resume_nhwindows()
|
||||||
{
|
{
|
||||||
logDebug("mswin_resume_nhwindows()\n");
|
logDebug("mswin_resume_nhwindows()\n");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1817,6 +1826,7 @@ void mswin_outrip(winid wid, int how, time_t when)
|
|||||||
void mswin_preference_update(const char *pref)
|
void mswin_preference_update(const char *pref)
|
||||||
{
|
{
|
||||||
HDC hdc;
|
HDC hdc;
|
||||||
|
int i;
|
||||||
|
|
||||||
if( stricmp( pref, "font_menu")==0 ||
|
if( stricmp( pref, "font_menu")==0 ||
|
||||||
stricmp( pref, "font_size_menu")==0 ) {
|
stricmp( pref, "font_size_menu")==0 ) {
|
||||||
@@ -1853,7 +1863,12 @@ void mswin_preference_update(const char *pref)
|
|||||||
mswin_get_font(NHW_STATUS, ATR_INVERSE, hdc, TRUE);
|
mswin_get_font(NHW_STATUS, ATR_INVERSE, hdc, TRUE);
|
||||||
ReleaseDC(GetNHApp()->hMainWnd, hdc);
|
ReleaseDC(GetNHApp()->hMainWnd, hdc);
|
||||||
|
|
||||||
InvalidateRect(mswin_hwnd_from_winid(WIN_STATUS), NULL, TRUE);
|
for (i=1; i<MAXWINDOWS; i++) {
|
||||||
|
if (GetNHApp()->windowlist[i].type == NHW_STATUS
|
||||||
|
&& GetNHApp()->windowlist[i].win != NULL) {
|
||||||
|
InvalidateRect(GetNHApp()->windowlist[i].win, NULL, TRUE);
|
||||||
|
}
|
||||||
|
}
|
||||||
mswin_layout_main_window(NULL);
|
mswin_layout_main_window(NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -1968,6 +1983,8 @@ void mswin_putmsghistory(const char * msg, BOOLEAN_P restoring)
|
|||||||
{
|
{
|
||||||
BOOL save_sound_opt;
|
BOOL save_sound_opt;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(restoring);
|
||||||
|
|
||||||
if (!msg) return; /* end of message history restore */
|
if (!msg) return; /* end of message history restore */
|
||||||
save_sound_opt = GetNHApp()->bNoSounds;
|
save_sound_opt = GetNHApp()->bNoSounds;
|
||||||
GetNHApp()->bNoSounds = TRUE; /* disable sounds while restoring message history */
|
GetNHApp()->bNoSounds = TRUE; /* disable sounds while restoring message history */
|
||||||
@@ -2147,8 +2164,11 @@ void mswin_popup_destroy(HWND hWnd)
|
|||||||
void
|
void
|
||||||
logDebug(const char *fmt, ...)
|
logDebug(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
FILE *dfp = fopen("nhtrace.log", "a");
|
FILE *dfp;
|
||||||
|
|
||||||
|
if (!showdebug(NHTRACE_LOG)) return;
|
||||||
|
|
||||||
|
dfp = fopen(NHTRACE_LOG, "a");
|
||||||
if (dfp) {
|
if (dfp) {
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
@@ -2583,3 +2603,276 @@ int NHMessageBox(HWND hWnd, LPCTSTR text, UINT type)
|
|||||||
return MessageBox(hWnd, text, title, type);
|
return MessageBox(hWnd, text, title, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef STATUS_VIA_WINDOWPORT
|
||||||
|
static const char *_status_fieldnm[MAXBLSTATS];
|
||||||
|
static const char *_status_fieldfmt[MAXBLSTATS];
|
||||||
|
static char *_status_vals[MAXBLSTATS];
|
||||||
|
static int _status_colors[MAXBLSTATS];
|
||||||
|
static boolean _status_activefields[MAXBLSTATS];
|
||||||
|
extern winid WIN_STATUS;
|
||||||
|
|
||||||
|
# ifdef STATUS_HILITES
|
||||||
|
typedef struct hilite_data_struct {
|
||||||
|
int thresholdtype;
|
||||||
|
anything threshold;
|
||||||
|
int behavior;
|
||||||
|
int under;
|
||||||
|
int over;
|
||||||
|
} hilite_data_t;
|
||||||
|
static hilite_data_t _status_hilites[MAXBLSTATS];
|
||||||
|
#endif /* STATUS_HILITES */
|
||||||
|
/*
|
||||||
|
status_init() -- core calls this to notify the window port that a status
|
||||||
|
display is required. The window port should perform
|
||||||
|
the necessary initialization in here, allocate memory, etc.
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
mswin_status_init(void)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
logDebug("mswin_status_init()\n");
|
||||||
|
for (i = 0; i < MAXBLSTATS; ++i) {
|
||||||
|
_status_vals[i] = (char *)alloc(BUFSZ);
|
||||||
|
*_status_vals[i] = '\0';
|
||||||
|
_status_activefields[i] = FALSE;
|
||||||
|
_status_fieldfmt[i] = (const char *)0;
|
||||||
|
_status_colors[i] = CLR_MAX; /* no color */
|
||||||
|
# ifdef STATUS_HILITES
|
||||||
|
_status_hilites[i].thresholdtype = 0;
|
||||||
|
_status_hilites[i].behavior = BL_TH_NONE;
|
||||||
|
_status_hilites[i].under = BL_HILITE_NONE;
|
||||||
|
_status_hilites[i].over = BL_HILITE_NONE;
|
||||||
|
#endif /* STATUS_HILITES */
|
||||||
|
}
|
||||||
|
/* Use a window for the genl version; backward port compatibility */
|
||||||
|
WIN_STATUS = create_nhwindow(NHW_STATUS);
|
||||||
|
display_nhwindow(WIN_STATUS, FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
status_finish() -- called when it is time for the window port to tear down
|
||||||
|
the status display and free allocated memory, etc.
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
mswin_status_finish(void)
|
||||||
|
{
|
||||||
|
/* tear down routine */
|
||||||
|
int i;
|
||||||
|
|
||||||
|
logDebug("mswin_status_finish()\n");
|
||||||
|
|
||||||
|
/* free alloc'd memory here */
|
||||||
|
for (i = 0; i < MAXBLSTATS; ++i) {
|
||||||
|
if (_status_vals[i]) free((genericptr_t)_status_vals[i]);
|
||||||
|
_status_vals[i] = (char *)0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
status_enablefield(int fldindex, char fldname, char fieldfmt, boolean enable)
|
||||||
|
-- notifies the window port which fields it is authorized to
|
||||||
|
display.
|
||||||
|
-- This may be called at any time, and is used
|
||||||
|
to disable as well as enable fields, depending on the
|
||||||
|
value of the final argument (TRUE = enable).
|
||||||
|
-- fldindex could be one of the following from botl.h:
|
||||||
|
BL_TITLE, BL_STR, BL_DX, BL_CO, BL_IN, BL_WI, BL_CH,
|
||||||
|
BL_ALIGN, BL_SCORE, BL_CAP, BL_GOLD, BL_ENE, BL_ENEMAX,
|
||||||
|
BL_XP, BL_AC, BL_HD, BL_TIME, BL_HUNGER, BL_HP, BL_HPMAX,
|
||||||
|
BL_LEVELDESC, BL_EXP, BL_CONDITION
|
||||||
|
-- There are MAXBLSTATS status fields (from botl.h)
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
mswin_status_enablefield(int fieldidx, const char *nm, const char *fmt, boolean enable)
|
||||||
|
{
|
||||||
|
logDebug("mswin_status_enablefield(%d, %s, %s, %d)\n", fieldidx, nm, fmt, (int)enable);
|
||||||
|
_status_fieldfmt[fieldidx] = fmt;
|
||||||
|
_status_fieldnm[fieldidx] = nm;
|
||||||
|
_status_activefields[fieldidx] = enable;
|
||||||
|
}
|
||||||
|
|
||||||
|
# ifdef STATUS_HILITES
|
||||||
|
/*
|
||||||
|
status_threshold(int fldidx, int threshholdtype, anything threshold,
|
||||||
|
int behavior, int under, int over)
|
||||||
|
-- called when a hiliting preference is added, changed, or
|
||||||
|
removed.
|
||||||
|
-- the fldindex identifies which field is having its hiliting
|
||||||
|
preference set. It is an integer index value from botl.h
|
||||||
|
-- fldindex could be any one of the following from botl.h:
|
||||||
|
BL_TITLE, BL_STR, BL_DX, BL_CO, BL_IN, BL_WI, BL_CH,
|
||||||
|
BL_ALIGN, BL_SCORE, BL_CAP, BL_GOLD, BL_ENE, BL_ENEMAX,
|
||||||
|
BL_XP, BL_AC, BL_HD, BL_TIME, BL_HUNGER, BL_HP, BL_HPMAX,
|
||||||
|
BL_LEVELDESC, BL_EXP, BL_CONDITION
|
||||||
|
-- datatype is P_INT, P_UINT, P_LONG, or P_MASK.
|
||||||
|
-- threshold is an "anything" union which can contain the
|
||||||
|
datatype value.
|
||||||
|
-- behavior is used to define how threshold is used and can
|
||||||
|
be BL_TH_NONE, BL_TH_VAL_PERCENTAGE, BL_TH_VAL_ABSOLUTE,
|
||||||
|
or BL_TH_UPDOWN. BL_TH_NONE means don't do anything above
|
||||||
|
or below the threshold. BL_TH_VAL_PERCENTAGE treats the
|
||||||
|
threshold value as a precentage of the maximum possible
|
||||||
|
value. BL_TH_VAL_ABSOLUTE means that the threshold is an
|
||||||
|
actual value. BL_TH_UPDOWN means that threshold is not
|
||||||
|
used, and the two below/above hilite values indicate how
|
||||||
|
to display something going down (under) or rising (over).
|
||||||
|
-- under is the hilite attribute used if value is below the
|
||||||
|
threshold. The attribute can be BL_HILITE_NONE,
|
||||||
|
BL_HILITE_INVERSE, BL_HILITE_BOLD (-1, -2, or -3), or one
|
||||||
|
of the color indexes of CLR_BLACK, CLR_RED, CLR_GREEN,
|
||||||
|
CLR_BROWN, CLR_BLUE, CLR_MAGENTA, CLR_CYAN, CLR_GRAY,
|
||||||
|
CLR_ORANGE, CLR_BRIGHT_GREEN, CLR_YELLOW, CLR_BRIGHT_BLUE,
|
||||||
|
CLR_BRIGHT_MAGENTA, CLR_BRIGHT_CYAN, or CLR_WHITE (0 - 15).
|
||||||
|
-- over is the hilite attribute used if value is at or above
|
||||||
|
the threshold. The attribute can be BL_HILITE_NONE,
|
||||||
|
BL_HILITE_INVERSE, BL_HILITE_BOLD (-1, -2, or -3), or one
|
||||||
|
of the color indexes of CLR_BLACK, CLR_RED, CLR_GREEN,
|
||||||
|
CLR_BROWN, CLR_BLUE, CLR_MAGENTA, CLR_CYAN, CLR_GRAY,
|
||||||
|
CLR_ORANGE, CLR_BRIGHT_GREEN, CLR_YELLOW, CLR_BRIGHT_BLUE,
|
||||||
|
CLR_BRIGHT_MAGENTA, CLR_BRIGHT_CYAN, or CLR_WHITE (0 - 15).
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
mswin_status_threshold(int fldidx, int thresholdtype, anything threshold, int behavior, int under, int over)
|
||||||
|
{
|
||||||
|
logDebug("mswin_status_threshold(%d, %d, %d, %d, %d)\n", fldidx, thresholdtype, behavior, under, over);
|
||||||
|
assert(fldidx>=0 && fldidx<MAXBLSTATS);
|
||||||
|
_status_hilites[fldidx].thresholdtype = thresholdtype;
|
||||||
|
_status_hilites[fldidx].threshold = threshold;
|
||||||
|
_status_hilites[fldidx].behavior = behavior;
|
||||||
|
_status_hilites[fldidx].under = under;
|
||||||
|
_status_hilites[fldidx].over = over;
|
||||||
|
}
|
||||||
|
#endif /* STATUS_HILITES */
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
status_update(int fldindex, genericptr_t ptr, int chg, int percentage)
|
||||||
|
-- update the value of a status field.
|
||||||
|
-- the fldindex identifies which field is changing and
|
||||||
|
is an integer index value from botl.h
|
||||||
|
-- fldindex could be any one of the following from botl.h:
|
||||||
|
BL_TITLE, BL_STR, BL_DX, BL_CO, BL_IN, BL_WI, BL_CH,
|
||||||
|
BL_ALIGN, BL_SCORE, BL_CAP, BL_GOLD, BL_ENE, BL_ENEMAX,
|
||||||
|
BL_XP, BL_AC, BL_HD, BL_TIME, BL_HUNGER, BL_HP, BL_HPMAX,
|
||||||
|
BL_LEVELDESC, BL_EXP, BL_CONDITION
|
||||||
|
-- fldindex could also be BL_FLUSH (-1), which is not really
|
||||||
|
a field index, but is a special trigger to tell the
|
||||||
|
windowport that it should redisplay all its status fields,
|
||||||
|
even if no changes have been presented to it.
|
||||||
|
-- ptr is usually a "char *", unless fldindex is BL_CONDITION.
|
||||||
|
If fldindex is BL_CONDITION, then ptr is a long value with
|
||||||
|
any or none of the following bits set (from botl.h):
|
||||||
|
BL_MASK_BLIND 0x00000001L
|
||||||
|
BL_MASK_CONF 0x00000002L
|
||||||
|
BL_MASK_FOODPOIS 0x00000004L
|
||||||
|
BL_MASK_ILL 0x00000008L
|
||||||
|
BL_MASK_HALLU 0x00000010L
|
||||||
|
BL_MASK_STUNNED 0x00000020L
|
||||||
|
BL_MASK_SLIMED 0x00000040L
|
||||||
|
-- The value passed for BL_GOLD includes a leading
|
||||||
|
symbol for GOLD "$:nnn". If the window port needs to use
|
||||||
|
the textual gold amount without the leading "$:" the port
|
||||||
|
will have to add 2 to the passed "ptr" for the BL_GOLD case.
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
mswin_status_update(int idx, genericptr_t ptr, int chg, int percent)
|
||||||
|
{
|
||||||
|
long cond, *condptr = (long *)ptr;
|
||||||
|
char *text = (char *)ptr;
|
||||||
|
MSNHMsgUpdateStatus update_cmd_data;
|
||||||
|
int ocolor, ochar;
|
||||||
|
unsigned ospecial;
|
||||||
|
long value = -1;
|
||||||
|
|
||||||
|
logDebug("mswin_status_update(%d, %p, %d, %d)\n", idx, ptr, chg, percent);
|
||||||
|
|
||||||
|
if (idx != BL_FLUSH) {
|
||||||
|
if (!_status_activefields[idx]) return;
|
||||||
|
switch(idx) {
|
||||||
|
case BL_CONDITION: {
|
||||||
|
cond = *condptr;
|
||||||
|
*_status_vals[idx] = '\0';
|
||||||
|
if (cond & BL_MASK_BLIND) Strcat(_status_vals[idx], " Blind");
|
||||||
|
if (cond & BL_MASK_CONF) Strcat(_status_vals[idx], " Conf");
|
||||||
|
if (cond & BL_MASK_FOODPOIS)
|
||||||
|
Strcat(_status_vals[idx], " FoodPois");
|
||||||
|
if (cond & BL_MASK_ILL) Strcat(_status_vals[idx], " Ill");
|
||||||
|
if (cond & BL_MASK_STUNNED) Strcat(_status_vals[idx], " Stun");
|
||||||
|
if (cond & BL_MASK_HALLU) Strcat(_status_vals[idx], " Hallu");
|
||||||
|
if (cond & BL_MASK_SLIMED) Strcat(_status_vals[idx], " Slime");
|
||||||
|
value = cond;
|
||||||
|
} break;
|
||||||
|
case BL_GOLD: {
|
||||||
|
char buf[BUFSZ];
|
||||||
|
char* p;
|
||||||
|
ZeroMemory(buf, sizeof(buf));
|
||||||
|
mapglyph(objnum_to_glyph(GOLD_PIECE), &ochar, &ocolor, &ospecial, 0, 0);
|
||||||
|
buf[0] = ochar;
|
||||||
|
p = strchr(text, ':');
|
||||||
|
if(p) strncpy(buf+1, p, sizeof(buf)-2);
|
||||||
|
value = atol(buf);
|
||||||
|
Sprintf(_status_vals[idx],
|
||||||
|
_status_fieldfmt[idx] ? _status_fieldfmt[idx] : "%s", buf);
|
||||||
|
} break;
|
||||||
|
default: {
|
||||||
|
value = atol(text);
|
||||||
|
Sprintf(_status_vals[idx],
|
||||||
|
_status_fieldfmt[idx] ? _status_fieldfmt[idx] : "%s", text);
|
||||||
|
} break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# ifdef STATUS_HILITES
|
||||||
|
switch(_status_hilites[idx].behavior) {
|
||||||
|
case BL_TH_NONE: {
|
||||||
|
_status_colors[idx] = CLR_MAX;
|
||||||
|
} break;
|
||||||
|
|
||||||
|
case BL_TH_UPDOWN: {
|
||||||
|
if(chg > 0) _status_colors[idx] = _status_hilites[idx].over;
|
||||||
|
else if(chg < 0) _status_colors[idx] = _status_hilites[idx].under;
|
||||||
|
else _status_colors[idx] = CLR_MAX;
|
||||||
|
} break;
|
||||||
|
|
||||||
|
case BL_TH_VAL_PERCENTAGE: {
|
||||||
|
int pct_th = 0;
|
||||||
|
if(_status_hilites[idx].thresholdtype!=ANY_INT) {
|
||||||
|
impossible("mswin_status_update: unsupported percentage threshold type %d", _status_hilites[idx].thresholdtype);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
pct_th = _status_hilites[idx].threshold.a_int;
|
||||||
|
_status_colors[idx] = (percent >= pct_th)? _status_hilites[idx].over : _status_hilites[idx].under;
|
||||||
|
} break;
|
||||||
|
|
||||||
|
case BL_TH_VAL_ABSOLUTE: {
|
||||||
|
int c = CLR_MAX;
|
||||||
|
int o = _status_hilites[idx].over;
|
||||||
|
int u = _status_hilites[idx].under;
|
||||||
|
anything* t = &_status_hilites[idx].threshold;
|
||||||
|
switch (_status_hilites[idx].thresholdtype) {
|
||||||
|
case ANY_LONG: c = (value >= t->a_long)? o : u; break;
|
||||||
|
case ANY_INT: c = (value >= t->a_int)? o : u; break;
|
||||||
|
case ANY_UINT: c = ((unsigned long)value >= t->a_uint)? o : u; break;
|
||||||
|
case ANY_ULONG: c = ((unsigned long)value >= t->a_ulong)? o : u; break;
|
||||||
|
case ANY_MASK32: c = (value & t->a_ulong)? o : u; break;
|
||||||
|
default:
|
||||||
|
impossible("mswin_status_update: unsupported absolute threshold type %d\n", _status_hilites[idx].thresholdtype);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
_status_colors[idx] = c;
|
||||||
|
} break;
|
||||||
|
}
|
||||||
|
#endif /* STATUS_HILITES */
|
||||||
|
|
||||||
|
/* send command to status window */
|
||||||
|
ZeroMemory(&update_cmd_data, sizeof(update_cmd_data));
|
||||||
|
update_cmd_data.n_fields = MAXBLSTATS;
|
||||||
|
update_cmd_data.vals = _status_vals;
|
||||||
|
update_cmd_data.activefields = _status_activefields;
|
||||||
|
update_cmd_data.colors = _status_colors;
|
||||||
|
SendMessage(
|
||||||
|
mswin_hwnd_from_winid(WIN_STATUS),
|
||||||
|
WM_MSNH_COMMAND, (WPARAM)MSNH_MSG_UPDATE_STATUS, (LPARAM)&update_cmd_data );
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /*STATUS_VIA_WINDOWPORT*/
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
@@ -185,7 +185,7 @@ chdir ..\build
|
|||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
@@ -279,7 +279,7 @@ chdir ..\build
|
|||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
@@ -376,7 +376,7 @@ chdir ..\build
|
|||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<PrecompiledHeaderOutputFile>.\Debug/levcomp.pch</PrecompiledHeaderOutputFile>
|
<PrecompiledHeaderOutputFile>.\Debug/levcomp.pch</PrecompiledHeaderOutputFile>
|
||||||
@@ -0,0 +1,187 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Express 2013 for Windows Desktop
|
||||||
|
VisualStudioVersion = 12.0.31101.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NetHackW", "build\NetHackW.vcxproj", "{CEC5D360-8804-454F-8591-002184C23499}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dgncomp", "build\dgncomp.vcxproj", "{8A3F81C7-2968-49A8-86BF-2669412AD7DE}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42} = {642BC75D-ABAF-403E-8224-7C725FD4CB42}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dgnstuff", "build\dgnstuff.vcxproj", "{B9E02F2C-8851-442B-BF2A-3581802B78D4}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782} = {FF144DFB-83A5-4D26-A598-715A2B354782}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dlb_main", "build\dlb_main.vcxproj", "{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "levcomp", "build\levcomp.vcxproj", "{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4} = {B9E02F2C-8851-442B-BF2A-3581802B78D4}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "levstuff", "build\levstuff.vcxproj", "{FF144DFB-83A5-4D26-A598-715A2B354782}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "makedefs", "build\makedefs.vcxproj", "{BA3DD34C-04B7-40D0-B373-9329AA9E8945}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "recover", "build\recover.vcxproj", "{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tile2bmp", "build\tile2bmp.vcxproj", "{642BC75D-ABAF-403E-8224-7C725FD4CB42}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA} = {9DD9C52E-E8C9-4533-BD22-83C055C0AABA}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tilemap", "build\tilemap.vcxproj", "{93F10526-209E-41D7-BBEA-775787876895}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE} = {8A3F81C7-2968-49A8-86BF-2669412AD7DE}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tiles", "build\tiles.vcxproj", "{55946465-FC65-47B3-BB48-742C7694C0D6}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895} = {93F10526-209E-41D7-BBEA-775787876895}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "uudecode", "build\uudecode.vcxproj", "{63F9B82B-F589-4082-ABE5-D4F0682050AB}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945} = {BA3DD34C-04B7-40D0-B373-9329AA9E8945}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NetHack", "build\NetHack.vcxproj", "{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB} = {63F9B82B-F589-4082-ABE5-D4F0682050AB}
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA} = {9DD9C52E-E8C9-4533-BD22-83C055C0AABA}
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945} = {BA3DD34C-04B7-40D0-B373-9329AA9E8945}
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC} = {0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE} = {8A3F81C7-2968-49A8-86BF-2669412AD7DE}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nhdefkey", "build\nhdefkey.vcxproj", "{6813477F-64B6-4B97-B230-438D0D233385}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945} = {BA3DD34C-04B7-40D0-B373-9329AA9E8945}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{CEC5D360-8804-454F-8591-002184C23499}.Release|x64.Build.0 = Release|x64
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{8A3F81C7-2968-49A8-86BF-2669412AD7DE}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B9E02F2C-8851-442B-BF2A-3581802B78D4}.Release|x64.Build.0 = Release|x64
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}.Release|x64.Build.0 = Release|x64
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FF144DFB-83A5-4D26-A598-715A2B354782}.Release|x64.Build.0 = Release|x64
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{BA3DD34C-04B7-40D0-B373-9329AA9E8945}.Release|x64.Build.0 = Release|x64
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}.Release|x64.Build.0 = Release|x64
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{642BC75D-ABAF-403E-8224-7C725FD4CB42}.Release|x64.Build.0 = Release|x64
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{93F10526-209E-41D7-BBEA-775787876895}.Release|x64.Build.0 = Release|x64
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{55946465-FC65-47B3-BB48-742C7694C0D6}.Release|x64.Build.0 = Release|x64
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{63F9B82B-F589-4082-ABE5-D4F0682050AB}.Release|x64.Build.0 = Release|x64
|
||||||
|
{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}.Debug|x64.ActiveCfg = Debug|Win32
|
||||||
|
{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}.Release|x64.ActiveCfg = Release|Win32
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{6813477F-64B6-4B97-B230-438D0D233385}.Release|x64.Build.0 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,492 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{609BC774-C6F8-4B2B-AA7D-5B3D0EA95751}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>NetHack</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\Release\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>false</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/NetHack.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;winmm.lib;Winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\Release/NetHack.pdb</ProgramDatabaseFile>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
<MapFileName>.\Release/NetHack.map</MapFileName>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<MapExports>true</MapExports>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/NetHack.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Install exe</Message>
|
||||||
|
<Command>
|
||||||
|
copy $(OutDir)NetHack.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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>false</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/NetHack.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\Release/NetHack.pdb</ProgramDatabaseFile>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
<MapFileName>.\Release/NetHack.map</MapFileName>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/NetHack.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Install exe</Message>
|
||||||
|
<Command>
|
||||||
|
copy $(OutDir)NetHack.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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;NDEBUG;WIN32;WIN32CON;DLB;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/NetHack.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<ProgramDatabaseFile>.\Release/NetHack.pdb</ProgramDatabaseFile>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
<MapFileName>.\Release/NetHack.map</MapFileName>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/NetHack.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Install exe</Message>
|
||||||
|
<Command>
|
||||||
|
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||||
|
copy $(OutDir)NetHack.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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/NetHack.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<ProgramDatabaseFile>.\Release/NetHack.pdb</ProgramDatabaseFile>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
<MapFileName>.\Release/NetHack.map</MapFileName>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;winmm.lib;Winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/NetHack.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Install exe</Message>
|
||||||
|
<Command>
|
||||||
|
if NOT exist ..\binary\*.* mkdir ..\binary
|
||||||
|
copy $(OutDir)NetHack.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>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\src\allmain.c" />
|
||||||
|
<ClCompile Include="..\src\alloc.c" />
|
||||||
|
<ClCompile Include="..\src\apply.c" />
|
||||||
|
<ClCompile Include="..\src\artifact.c" />
|
||||||
|
<ClCompile Include="..\src\attrib.c" />
|
||||||
|
<ClCompile Include="..\src\ball.c" />
|
||||||
|
<ClCompile Include="..\src\bones.c" />
|
||||||
|
<ClCompile Include="..\src\botl.c" />
|
||||||
|
<ClCompile Include="..\src\cmd.c" />
|
||||||
|
<ClCompile Include="..\src\dbridge.c" />
|
||||||
|
<ClCompile Include="..\src\decl.c" />
|
||||||
|
<ClCompile Include="..\src\detect.c" />
|
||||||
|
<ClCompile Include="..\src\dig.c" />
|
||||||
|
<ClCompile Include="..\src\display.c" />
|
||||||
|
<ClCompile Include="..\src\dlb.c" />
|
||||||
|
<ClCompile Include="..\src\do.c" />
|
||||||
|
<ClCompile Include="..\src\dog.c" />
|
||||||
|
<ClCompile Include="..\src\dogmove.c" />
|
||||||
|
<ClCompile Include="..\src\dokick.c" />
|
||||||
|
<ClCompile Include="..\src\dothrow.c" />
|
||||||
|
<ClCompile Include="..\src\do_name.c" />
|
||||||
|
<ClCompile Include="..\src\do_wear.c" />
|
||||||
|
<ClCompile Include="..\src\drawing.c" />
|
||||||
|
<ClCompile Include="..\src\dungeon.c" />
|
||||||
|
<ClCompile Include="..\src\eat.c" />
|
||||||
|
<ClCompile Include="..\src\end.c" />
|
||||||
|
<ClCompile Include="..\src\engrave.c" />
|
||||||
|
<ClCompile Include="..\src\exper.c" />
|
||||||
|
<ClCompile Include="..\src\explode.c" />
|
||||||
|
<ClCompile Include="..\src\extralev.c" />
|
||||||
|
<ClCompile Include="..\src\files.c" />
|
||||||
|
<ClCompile Include="..\src\fountain.c" />
|
||||||
|
<ClCompile Include="..\src\hack.c" />
|
||||||
|
<ClCompile Include="..\src\hacklib.c" />
|
||||||
|
<ClCompile Include="..\src\invent.c" />
|
||||||
|
<ClCompile Include="..\src\light.c" />
|
||||||
|
<ClCompile Include="..\src\lock.c" />
|
||||||
|
<ClCompile Include="..\src\mail.c" />
|
||||||
|
<ClCompile Include="..\src\makemon.c" />
|
||||||
|
<ClCompile Include="..\src\mapglyph.c" />
|
||||||
|
<ClCompile Include="..\src\mcastu.c" />
|
||||||
|
<ClCompile Include="..\src\mhitm.c" />
|
||||||
|
<ClCompile Include="..\src\mhitu.c" />
|
||||||
|
<ClCompile Include="..\src\minion.c" />
|
||||||
|
<ClCompile Include="..\src\mklev.c" />
|
||||||
|
<ClCompile Include="..\src\mkmap.c" />
|
||||||
|
<ClCompile Include="..\src\mkmaze.c" />
|
||||||
|
<ClCompile Include="..\src\mkobj.c" />
|
||||||
|
<ClCompile Include="..\src\mkroom.c" />
|
||||||
|
<ClCompile Include="..\src\mon.c" />
|
||||||
|
<ClCompile Include="..\src\mondata.c" />
|
||||||
|
<ClCompile Include="..\src\monmove.c" />
|
||||||
|
<ClCompile Include="..\src\monst.c" />
|
||||||
|
<ClCompile Include="..\src\monstr.c" />
|
||||||
|
<ClCompile Include="..\src\mplayer.c" />
|
||||||
|
<ClCompile Include="..\src\mthrowu.c" />
|
||||||
|
<ClCompile Include="..\src\muse.c" />
|
||||||
|
<ClCompile Include="..\src\music.c" />
|
||||||
|
<ClCompile Include="..\src\objects.c" />
|
||||||
|
<ClCompile Include="..\src\objnam.c" />
|
||||||
|
<ClCompile Include="..\src\options.c" />
|
||||||
|
<ClCompile Include="..\src\o_init.c" />
|
||||||
|
<ClCompile Include="..\src\pager.c" />
|
||||||
|
<ClCompile Include="..\src\pickup.c" />
|
||||||
|
<ClCompile Include="..\src\pline.c" />
|
||||||
|
<ClCompile Include="..\src\polyself.c" />
|
||||||
|
<ClCompile Include="..\src\potion.c" />
|
||||||
|
<ClCompile Include="..\src\pray.c" />
|
||||||
|
<ClCompile Include="..\src\priest.c" />
|
||||||
|
<ClCompile Include="..\src\quest.c" />
|
||||||
|
<ClCompile Include="..\src\questpgr.c" />
|
||||||
|
<ClCompile Include="..\src\read.c" />
|
||||||
|
<ClCompile Include="..\src\rect.c" />
|
||||||
|
<ClCompile Include="..\src\region.c" />
|
||||||
|
<ClCompile Include="..\src\restore.c" />
|
||||||
|
<ClCompile Include="..\src\rip.c" />
|
||||||
|
<ClCompile Include="..\src\rnd.c" />
|
||||||
|
<ClCompile Include="..\src\role.c" />
|
||||||
|
<ClCompile Include="..\src\rumors.c" />
|
||||||
|
<ClCompile Include="..\src\save.c" />
|
||||||
|
<ClCompile Include="..\src\shk.c" />
|
||||||
|
<ClCompile Include="..\src\shknam.c" />
|
||||||
|
<ClCompile Include="..\src\sit.c" />
|
||||||
|
<ClCompile Include="..\src\sounds.c" />
|
||||||
|
<ClCompile Include="..\src\spell.c" />
|
||||||
|
<ClCompile Include="..\src\sp_lev.c" />
|
||||||
|
<ClCompile Include="..\src\steal.c" />
|
||||||
|
<ClCompile Include="..\src\steed.c" />
|
||||||
|
<ClCompile Include="..\src\sys.c" />
|
||||||
|
<ClCompile Include="..\src\teleport.c" />
|
||||||
|
<ClCompile Include="..\src\tile.c" />
|
||||||
|
<ClCompile Include="..\src\timeout.c" />
|
||||||
|
<ClCompile Include="..\src\topten.c" />
|
||||||
|
<ClCompile Include="..\src\track.c" />
|
||||||
|
<ClCompile Include="..\src\trap.c" />
|
||||||
|
<ClCompile Include="..\src\uhitm.c" />
|
||||||
|
<ClCompile Include="..\src\u_init.c" />
|
||||||
|
<ClCompile Include="..\src\vault.c" />
|
||||||
|
<ClCompile Include="..\src\version.c" />
|
||||||
|
<ClCompile Include="..\src\vision.c" />
|
||||||
|
<ClCompile Include="..\src\weapon.c" />
|
||||||
|
<ClCompile Include="..\src\were.c" />
|
||||||
|
<ClCompile Include="..\src\wield.c" />
|
||||||
|
<ClCompile Include="..\src\windows.c" />
|
||||||
|
<ClCompile Include="..\src\wizard.c" />
|
||||||
|
<ClCompile Include="..\src\worm.c" />
|
||||||
|
<ClCompile Include="..\src\worn.c" />
|
||||||
|
<ClCompile Include="..\src\write.c" />
|
||||||
|
<ClCompile Include="..\src\zap.c" />
|
||||||
|
<ClCompile Include="..\sys\share\cppregex.cpp" />
|
||||||
|
<ClCompile Include="..\sys\share\nhlan.c" />
|
||||||
|
<ClCompile Include="..\sys\share\pcmain.c" />
|
||||||
|
<ClCompile Include="..\sys\share\pcsys.c" />
|
||||||
|
<ClCompile Include="..\sys\share\pcunix.c" />
|
||||||
|
<ClCompile Include="..\sys\share\random.c" />
|
||||||
|
<ClCompile Include="..\sys\winnt\ntsound.c" />
|
||||||
|
<ClCompile Include="..\sys\winnt\nttty.c" />
|
||||||
|
<ClCompile Include="..\sys\winnt\stubs.c">
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">GUISTUB;NDEBUG;WIN32;WIN32CON;DLB;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">GUISTUB;WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">GUISTUB;WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">GUISTUB;WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\sys\winnt\winnt.c" />
|
||||||
|
<ClCompile Include="..\win\tty\getline.c" />
|
||||||
|
<ClCompile Include="..\win\tty\topl.c" />
|
||||||
|
<ClCompile Include="..\win\tty\wintty.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\align.h" />
|
||||||
|
<ClInclude Include="..\include\artifact.h" />
|
||||||
|
<ClInclude Include="..\include\artilist.h" />
|
||||||
|
<ClInclude Include="..\include\attrib.h" />
|
||||||
|
<ClInclude Include="..\include\botl.h" />
|
||||||
|
<ClInclude Include="..\include\color.h" />
|
||||||
|
<ClInclude Include="..\include\config.h" />
|
||||||
|
<ClInclude Include="..\include\config1.h" />
|
||||||
|
<ClInclude Include="..\include\context.h" />
|
||||||
|
<ClInclude Include="..\include\coord.h" />
|
||||||
|
<ClInclude Include="..\include\date.h" />
|
||||||
|
<ClInclude Include="..\include\decl.h" />
|
||||||
|
<ClInclude Include="..\include\display.h" />
|
||||||
|
<ClInclude Include="..\include\dlb.h" />
|
||||||
|
<ClInclude Include="..\include\dungeon.h" />
|
||||||
|
<ClInclude Include="..\include\engrave.h" />
|
||||||
|
<ClInclude Include="..\include\extern.h" />
|
||||||
|
<ClInclude Include="..\include\flag.h" />
|
||||||
|
<ClInclude Include="..\include\func_tab.h" />
|
||||||
|
<ClInclude Include="..\include\global.h" />
|
||||||
|
<ClInclude Include="..\include\hack.h" />
|
||||||
|
<ClInclude Include="..\include\lev.h" />
|
||||||
|
<ClInclude Include="..\include\mextra.h" />
|
||||||
|
<ClInclude Include="..\include\mfndpos.h" />
|
||||||
|
<ClInclude Include="..\include\mkroom.h" />
|
||||||
|
<ClInclude Include="..\include\monattk.h" />
|
||||||
|
<ClInclude Include="..\include\mondata.h" />
|
||||||
|
<ClInclude Include="..\include\monflag.h" />
|
||||||
|
<ClInclude Include="..\include\monst.h" />
|
||||||
|
<ClInclude Include="..\include\monsym.h" />
|
||||||
|
<ClInclude Include="..\include\ntconf.h" />
|
||||||
|
<ClInclude Include="..\include\obj.h" />
|
||||||
|
<ClInclude Include="..\include\objclass.h" />
|
||||||
|
<ClInclude Include="..\include\onames.h" />
|
||||||
|
<ClInclude Include="..\include\patchlevel.h" />
|
||||||
|
<ClInclude Include="..\include\permonst.h" />
|
||||||
|
<ClInclude Include="..\include\pm.h" />
|
||||||
|
<ClInclude Include="..\include\prop.h" />
|
||||||
|
<ClInclude Include="..\include\qtext.h" />
|
||||||
|
<ClInclude Include="..\include\quest.h" />
|
||||||
|
<ClInclude Include="..\include\rect.h" />
|
||||||
|
<ClInclude Include="..\include\region.h" />
|
||||||
|
<ClInclude Include="..\include\rm.h" />
|
||||||
|
<ClInclude Include="..\include\skills.h" />
|
||||||
|
<ClInclude Include="..\include\spell.h" />
|
||||||
|
<ClInclude Include="..\include\sp_lev.h" />
|
||||||
|
<ClInclude Include="..\include\timeout.h" />
|
||||||
|
<ClInclude Include="..\include\tradstdc.h" />
|
||||||
|
<ClInclude Include="..\include\trap.h" />
|
||||||
|
<ClInclude Include="..\include\vision.h" />
|
||||||
|
<ClInclude Include="..\include\winprocs.h" />
|
||||||
|
<ClInclude Include="..\include\wintty.h" />
|
||||||
|
<ClInclude Include="..\include\wintype.h" />
|
||||||
|
<ClInclude Include="..\include\you.h" />
|
||||||
|
<ClInclude Include="..\include\youprop.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,508 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{CEC5D360-8804-454F-8591-002184C23499}</ProjectGuid>
|
||||||
|
<RootNamespace>NetHackW</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\Release\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TargetEnvironment>Win32</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Release/NetHackW.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;WIN32CONNDEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/NetHackW.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions>/MAPINFO:EXPORTS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>comctl32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\Release/NetHackW.pdb</ProgramDatabaseFile>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
<MapFileName>.\Release/NetHackW.map</MapFileName>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/NetHackW.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Install exe</Message>
|
||||||
|
<Command>copy $(OutDir)NetHackW.exe ..\binary
|
||||||
|
copy ..\dat\nhdat ..\binary
|
||||||
|
copy ..\dat\license ..\binary
|
||||||
|
if exist ..\src\tiles.bmp copy ..\src\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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TypeLibraryName>.\Release/NetHackW.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;WIN32CONNDEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/NetHackW.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalOptions>/MAPINFO:EXPORTS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalDependencies>comctl32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\Release/NetHackW.pdb</ProgramDatabaseFile>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
<MapFileName>.\Release/NetHackW.map</MapFileName>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/NetHackW.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Install exe</Message>
|
||||||
|
<Command>copy $(OutDir)NetHackW.exe ..\binary
|
||||||
|
copy ..\dat\nhdat ..\binary
|
||||||
|
copy ..\dat\license ..\binary
|
||||||
|
if exist ..\src\tiles.bmp copy ..\src\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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TargetEnvironment>Win32</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Debug/NetHackW.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;WIN32CON_DEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/NetHackW.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>comctl32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/NetHackW.bsc</OutputFile>
|
||||||
|
</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 ..\src\tiles.bmp copy ..\src\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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TypeLibraryName>.\Debug/NetHackW.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>TILES;MSWIN_GRAPHICS;WIN32CON_DEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/NetHackW.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/Gs /Oi- /FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>comctl32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/NetHackW.bsc</OutputFile>
|
||||||
|
</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 ..\src\tiles.bmp copy ..\src\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>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\src\allmain.c" />
|
||||||
|
<ClCompile Include="..\src\alloc.c" />
|
||||||
|
<ClCompile Include="..\src\apply.c" />
|
||||||
|
<ClCompile Include="..\src\artifact.c" />
|
||||||
|
<ClCompile Include="..\src\attrib.c" />
|
||||||
|
<ClCompile Include="..\src\ball.c" />
|
||||||
|
<ClCompile Include="..\src\bones.c" />
|
||||||
|
<ClCompile Include="..\src\botl.c" />
|
||||||
|
<ClCompile Include="..\src\cmd.c" />
|
||||||
|
<ClCompile Include="..\src\dbridge.c" />
|
||||||
|
<ClCompile Include="..\src\decl.c" />
|
||||||
|
<ClCompile Include="..\src\detect.c" />
|
||||||
|
<ClCompile Include="..\src\dig.c" />
|
||||||
|
<ClCompile Include="..\src\display.c" />
|
||||||
|
<ClCompile Include="..\src\dlb.c" />
|
||||||
|
<ClCompile Include="..\src\do.c" />
|
||||||
|
<ClCompile Include="..\src\dog.c" />
|
||||||
|
<ClCompile Include="..\src\dogmove.c" />
|
||||||
|
<ClCompile Include="..\src\dokick.c" />
|
||||||
|
<ClCompile Include="..\src\dothrow.c" />
|
||||||
|
<ClCompile Include="..\src\do_name.c" />
|
||||||
|
<ClCompile Include="..\src\do_wear.c" />
|
||||||
|
<ClCompile Include="..\src\drawing.c" />
|
||||||
|
<ClCompile Include="..\src\dungeon.c" />
|
||||||
|
<ClCompile Include="..\src\eat.c" />
|
||||||
|
<ClCompile Include="..\src\end.c" />
|
||||||
|
<ClCompile Include="..\src\engrave.c" />
|
||||||
|
<ClCompile Include="..\src\exper.c" />
|
||||||
|
<ClCompile Include="..\src\explode.c" />
|
||||||
|
<ClCompile Include="..\src\extralev.c" />
|
||||||
|
<ClCompile Include="..\src\files.c" />
|
||||||
|
<ClCompile Include="..\src\fountain.c" />
|
||||||
|
<ClCompile Include="..\src\hack.c" />
|
||||||
|
<ClCompile Include="..\src\hacklib.c" />
|
||||||
|
<ClCompile Include="..\src\invent.c" />
|
||||||
|
<ClCompile Include="..\src\light.c" />
|
||||||
|
<ClCompile Include="..\src\lock.c" />
|
||||||
|
<ClCompile Include="..\src\mail.c" />
|
||||||
|
<ClCompile Include="..\src\makemon.c" />
|
||||||
|
<ClCompile Include="..\src\mapglyph.c" />
|
||||||
|
<ClCompile Include="..\src\mcastu.c" />
|
||||||
|
<ClCompile Include="..\src\mhitm.c" />
|
||||||
|
<ClCompile Include="..\src\mhitu.c" />
|
||||||
|
<ClCompile Include="..\src\minion.c" />
|
||||||
|
<ClCompile Include="..\src\mklev.c" />
|
||||||
|
<ClCompile Include="..\src\mkmap.c" />
|
||||||
|
<ClCompile Include="..\src\mkmaze.c" />
|
||||||
|
<ClCompile Include="..\src\mkobj.c" />
|
||||||
|
<ClCompile Include="..\src\mkroom.c" />
|
||||||
|
<ClCompile Include="..\src\mon.c" />
|
||||||
|
<ClCompile Include="..\src\mondata.c" />
|
||||||
|
<ClCompile Include="..\src\monmove.c" />
|
||||||
|
<ClCompile Include="..\src\monst.c" />
|
||||||
|
<ClCompile Include="..\src\monstr.c" />
|
||||||
|
<ClCompile Include="..\src\mplayer.c" />
|
||||||
|
<ClCompile Include="..\src\mthrowu.c" />
|
||||||
|
<ClCompile Include="..\src\muse.c" />
|
||||||
|
<ClCompile Include="..\src\music.c" />
|
||||||
|
<ClCompile Include="..\src\objects.c" />
|
||||||
|
<ClCompile Include="..\src\objnam.c" />
|
||||||
|
<ClCompile Include="..\src\options.c" />
|
||||||
|
<ClCompile Include="..\src\o_init.c" />
|
||||||
|
<ClCompile Include="..\src\pager.c" />
|
||||||
|
<ClCompile Include="..\src\pickup.c" />
|
||||||
|
<ClCompile Include="..\src\pline.c" />
|
||||||
|
<ClCompile Include="..\src\polyself.c" />
|
||||||
|
<ClCompile Include="..\src\potion.c" />
|
||||||
|
<ClCompile Include="..\src\pray.c" />
|
||||||
|
<ClCompile Include="..\src\priest.c" />
|
||||||
|
<ClCompile Include="..\src\quest.c" />
|
||||||
|
<ClCompile Include="..\src\questpgr.c" />
|
||||||
|
<ClCompile Include="..\src\read.c" />
|
||||||
|
<ClCompile Include="..\src\rect.c" />
|
||||||
|
<ClCompile Include="..\src\region.c" />
|
||||||
|
<ClCompile Include="..\src\restore.c" />
|
||||||
|
<ClCompile Include="..\src\rip.c" />
|
||||||
|
<ClCompile Include="..\src\rnd.c" />
|
||||||
|
<ClCompile Include="..\src\role.c" />
|
||||||
|
<ClCompile Include="..\src\rumors.c" />
|
||||||
|
<ClCompile Include="..\src\save.c" />
|
||||||
|
<ClCompile Include="..\src\shk.c" />
|
||||||
|
<ClCompile Include="..\src\shknam.c" />
|
||||||
|
<ClCompile Include="..\src\sit.c" />
|
||||||
|
<ClCompile Include="..\src\sounds.c" />
|
||||||
|
<ClCompile Include="..\src\spell.c" />
|
||||||
|
<ClCompile Include="..\src\sp_lev.c" />
|
||||||
|
<ClCompile Include="..\src\steal.c" />
|
||||||
|
<ClCompile Include="..\src\steed.c" />
|
||||||
|
<ClCompile Include="..\src\sys.c" />
|
||||||
|
<ClCompile Include="..\src\teleport.c" />
|
||||||
|
<ClCompile Include="..\src\tile.c" />
|
||||||
|
<ClCompile Include="..\src\timeout.c" />
|
||||||
|
<ClCompile Include="..\src\topten.c" />
|
||||||
|
<ClCompile Include="..\src\track.c" />
|
||||||
|
<ClCompile Include="..\src\trap.c" />
|
||||||
|
<ClCompile Include="..\src\uhitm.c" />
|
||||||
|
<ClCompile Include="..\src\u_init.c" />
|
||||||
|
<ClCompile Include="..\src\vault.c" />
|
||||||
|
<ClCompile Include="..\src\version.c" />
|
||||||
|
<ClCompile Include="..\src\vision.c" />
|
||||||
|
<ClCompile Include="..\src\vis_tab.c" />
|
||||||
|
<ClCompile Include="..\src\weapon.c" />
|
||||||
|
<ClCompile Include="..\src\were.c" />
|
||||||
|
<ClCompile Include="..\src\wield.c" />
|
||||||
|
<ClCompile Include="..\src\windows.c" />
|
||||||
|
<ClCompile Include="..\src\wizard.c" />
|
||||||
|
<ClCompile Include="..\src\worm.c" />
|
||||||
|
<ClCompile Include="..\src\worn.c" />
|
||||||
|
<ClCompile Include="..\src\write.c" />
|
||||||
|
<ClCompile Include="..\src\zap.c" />
|
||||||
|
<ClCompile Include="..\sys\share\cppregex.cpp" />
|
||||||
|
<ClCompile Include="..\sys\share\nhlan.c" />
|
||||||
|
<ClCompile Include="..\sys\share\pcmain.c" />
|
||||||
|
<ClCompile Include="..\sys\share\pcsys.c" />
|
||||||
|
<ClCompile Include="..\sys\share\pcunix.c" />
|
||||||
|
<ClCompile Include="..\sys\share\random.c" />
|
||||||
|
<ClCompile Include="..\sys\winnt\ntsound.c" />
|
||||||
|
<ClCompile Include="..\sys\winnt\stubs.c">
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TTYSTUB; _DEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">TTYSTUB;NDEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">TTYSTUB; _DEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">TTYSTUB;NDEBUG;WIN32;_WINDOWS;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\sys\winnt\winnt.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhaskyn.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhdlg.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhfont.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhinput.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhmain.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhmap.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhmenu.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhmsgwnd.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhrip.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhsplash.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhstatus.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mhtext.c" />
|
||||||
|
<ClCompile Include="..\win\win32\mswproc.c" />
|
||||||
|
<ClCompile Include="..\win\win32\winhack.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="dgncomp.vcxproj">
|
||||||
|
<Project>{8a3f81c7-2968-49a8-86bf-2669412ad7de}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="dlb_main.vcxproj">
|
||||||
|
<Project>{0303a585-3f83-4bb7-af6b-1e12c8fb54ac}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="levcomp.vcxproj">
|
||||||
|
<Project>{9dd9c52e-e8c9-4533-bd22-83c055c0aaba}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="makedefs.vcxproj">
|
||||||
|
<Project>{ba3dd34c-04b7-40d0-b373-9329aa9e8945}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="tilemap.vcxproj">
|
||||||
|
<Project>{93f10526-209e-41d7-bbea-775787876895}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="tiles.vcxproj">
|
||||||
|
<Project>{55946465-fc65-47b3-bb48-742c7694c0d6}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="uudecode.vcxproj">
|
||||||
|
<Project>{63f9b82b-f589-4082-abe5-d4f0682050ab}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="..\win\win32\winhack.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,399 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{8A3F81C7-2968-49A8-86BF-2669412AD7DE}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/dgncomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/dgncomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\..\util/dgncomp.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/dgncomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>dgncomp</Message>
|
||||||
|
<Command>echo Building dungeon
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo ..\util\dgncomp.exe dungeon.pdf
|
||||||
|
..\util\dgncomp.exe dungeon.pdf
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/dgncomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/dgncomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\..\util/dgncomp.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/dgncomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>dgncomp</Message>
|
||||||
|
<Command>echo Building dungeon
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo ..\util\dgncomp.exe dungeon.pdf
|
||||||
|
..\util\dgncomp.exe dungeon.pdf
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/dgncomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/dgncomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/dgncomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>dgncomp</Message>
|
||||||
|
<Command>echo Building dungeon
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo ..\util\dgncomp.exe dungeon.pdf
|
||||||
|
..\util\dgncomp.exe dungeon.pdf
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/dgncomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/dgncomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/dgncomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>dgncomp</Message>
|
||||||
|
<Command>echo Building dungeon
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo ..\util\dgncomp.exe dungeon.pdf
|
||||||
|
..\util\dgncomp.exe dungeon.pdf
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\src\alloc.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\dgn_lex.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\dgn_main.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\dgn_yacc.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\panic.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\align.h" />
|
||||||
|
<ClInclude Include="..\include\attrib.h" />
|
||||||
|
<ClInclude Include="..\include\color.h" />
|
||||||
|
<ClInclude Include="..\include\config.h" />
|
||||||
|
<ClInclude Include="..\include\config1.h" />
|
||||||
|
<ClInclude Include="..\include\context.h" />
|
||||||
|
<ClInclude Include="..\include\coord.h" />
|
||||||
|
<ClInclude Include="..\include\decl.h" />
|
||||||
|
<ClInclude Include="..\include\dgn_comp.h" />
|
||||||
|
<ClInclude Include="..\include\dgn_file.h" />
|
||||||
|
<ClInclude Include="..\include\display.h" />
|
||||||
|
<ClInclude Include="..\include\dungeon.h" />
|
||||||
|
<ClInclude Include="..\include\engrave.h" />
|
||||||
|
<ClInclude Include="..\include\flag.h" />
|
||||||
|
<ClInclude Include="..\include\global.h" />
|
||||||
|
<ClInclude Include="..\include\mkroom.h" />
|
||||||
|
<ClInclude Include="..\include\monattk.h" />
|
||||||
|
<ClInclude Include="..\include\monst.h" />
|
||||||
|
<ClInclude Include="..\include\monsym.h" />
|
||||||
|
<ClInclude Include="..\include\nhlan.h" />
|
||||||
|
<ClInclude Include="..\include\ntconf.h" />
|
||||||
|
<ClInclude Include="..\include\obj.h" />
|
||||||
|
<ClInclude Include="..\include\objclass.h" />
|
||||||
|
<ClInclude Include="..\include\onames.h" />
|
||||||
|
<ClInclude Include="..\include\permonst.h" />
|
||||||
|
<ClInclude Include="..\include\pm.h" />
|
||||||
|
<ClInclude Include="..\include\prop.h" />
|
||||||
|
<ClInclude Include="..\include\quest.h" />
|
||||||
|
<ClInclude Include="..\include\rect.h" />
|
||||||
|
<ClInclude Include="..\include\region.h" />
|
||||||
|
<ClInclude Include="..\include\rm.h" />
|
||||||
|
<ClInclude Include="..\include\skills.h" />
|
||||||
|
<ClInclude Include="..\include\spell.h" />
|
||||||
|
<ClInclude Include="..\include\timeout.h" />
|
||||||
|
<ClInclude Include="..\include\tradstdc.h" />
|
||||||
|
<ClInclude Include="..\include\trampoli.h" />
|
||||||
|
<ClInclude Include="..\include\trap.h" />
|
||||||
|
<ClInclude Include="..\include\vision.h" />
|
||||||
|
<ClInclude Include="..\include\winprocs.h" />
|
||||||
|
<ClInclude Include="..\include\wintty.h" />
|
||||||
|
<ClInclude Include="..\include\wintype.h" />
|
||||||
|
<ClInclude Include="..\include\you.h" />
|
||||||
|
<ClInclude Include="..\include\youprop.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="dgnstuff.vcxproj">
|
||||||
|
<Project>{b9e02f2c-8851-442b-bf2a-3581802b78d4}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,124 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B9E02F2C-8851-442B-BF2A-3581802B78D4}</ProjectGuid>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\dgnstuff___Win32_Debug\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\dgnstuff___Win32_Debug\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\</IntDir>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f "dgnstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f "dgnstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f "dgnstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f "dgnstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\util\dgncomp.exe</NMakeOutput>
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\util\dgncomp.exe</NMakeOutput>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\Release\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\Release\</IntDir>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f "dgnstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f "dgnstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f "dgnstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f "dgnstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\util\dgncomp.exe</NMakeOutput>
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\util\dgncomp.exe</NMakeOutput>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="makedefs.vcxproj">
|
||||||
|
<Project>{ba3dd34c-04b7-40d0-b373-9329aa9e8945}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,435 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{0303A585-3F83-4BB7-AF6B-1E12C8FB54AC}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/dlb_main.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;DLB;WIN32CON;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/dlb_main.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/dlb_main.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/dlb_main.bsc</OutputFile>
|
||||||
|
</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 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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/dlb_main.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;DLB;WIN32CON;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/dlb_main.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/dlb_main.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/dlb_main.bsc</OutputFile>
|
||||||
|
</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 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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/dlb_main.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;DLB;WIN32CON;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/dlb_main.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/dlb_main.bsc</OutputFile>
|
||||||
|
</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 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>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/dlb_main.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;DLB;WIN32CON;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/dlb_main.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/dlb_main.bsc</OutputFile>
|
||||||
|
</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 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>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\src\alloc.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\dlb.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\dlb_main.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\panic.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\dlb.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="dgncomp.vcxproj">
|
||||||
|
<Project>{8a3f81c7-2968-49a8-86bf-2669412ad7de}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="levcomp.vcxproj">
|
||||||
|
<Project>{9dd9c52e-e8c9-4533-bd22-83c055c0aaba}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="makedefs.vcxproj">
|
||||||
|
<Project>{ba3dd34c-04b7-40d0-b373-9329aa9e8945}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,581 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{9DD9C52E-E8C9-4533-BD22-83C055C0AABA}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/levcomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/levcomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\..\util/levcomp.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/levcomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>levcomp</Message>
|
||||||
|
<Command>echo Building special levels
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo arch.des
|
||||||
|
..\util\levcomp.exe arch.des
|
||||||
|
echo barb.des
|
||||||
|
..\util\levcomp.exe barb.des
|
||||||
|
echo bigroom.des
|
||||||
|
..\util\levcomp.exe bigroom.des
|
||||||
|
echo castle.des
|
||||||
|
..\util\levcomp.exe castle.des
|
||||||
|
echo caveman.des
|
||||||
|
..\util\levcomp.exe caveman.des
|
||||||
|
echo endgame.des
|
||||||
|
..\util\levcomp.exe endgame.des
|
||||||
|
echo gehennom.des
|
||||||
|
..\util\levcomp.exe gehennom.des
|
||||||
|
echo healer.des
|
||||||
|
..\util\levcomp.exe healer.des
|
||||||
|
echo knight.des
|
||||||
|
..\util\levcomp.exe knight.des
|
||||||
|
echo knox.des
|
||||||
|
..\util\levcomp.exe knox.des
|
||||||
|
echo medusa.des
|
||||||
|
..\util\levcomp.exe medusa.des
|
||||||
|
echo mines.des
|
||||||
|
..\util\levcomp.exe mines.des
|
||||||
|
echo monk.des
|
||||||
|
..\util\levcomp.exe monk.des
|
||||||
|
echo oracle.des
|
||||||
|
..\util\levcomp.exe oracle.des
|
||||||
|
echo priest.des
|
||||||
|
..\util\levcomp.exe priest.des
|
||||||
|
echo ranger.des
|
||||||
|
..\util\levcomp.exe ranger.des
|
||||||
|
echo rogue.des
|
||||||
|
..\util\levcomp.exe rogue.des
|
||||||
|
echo samurai.des
|
||||||
|
..\util\levcomp.exe samurai.des
|
||||||
|
echo sokoban.des
|
||||||
|
..\util\levcomp.exe sokoban.des
|
||||||
|
echo tourist.des
|
||||||
|
..\util\levcomp.exe tourist.des
|
||||||
|
echo tower.des
|
||||||
|
..\util\levcomp.exe tower.des
|
||||||
|
echo valkyrie.des
|
||||||
|
..\util\levcomp.exe valkyrie.des
|
||||||
|
echo wizard .des
|
||||||
|
..\util\levcomp.exe wizard.des
|
||||||
|
echo yendor.des
|
||||||
|
..\util\levcomp.exe yendor.des
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/levcomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/levcomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\..\util/levcomp.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/levcomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>levcomp</Message>
|
||||||
|
<Command>echo Building special levels
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo arch.des
|
||||||
|
..\util\levcomp.exe arch.des
|
||||||
|
echo barb.des
|
||||||
|
..\util\levcomp.exe barb.des
|
||||||
|
echo bigroom.des
|
||||||
|
..\util\levcomp.exe bigroom.des
|
||||||
|
echo castle.des
|
||||||
|
..\util\levcomp.exe castle.des
|
||||||
|
echo caveman.des
|
||||||
|
..\util\levcomp.exe caveman.des
|
||||||
|
echo endgame.des
|
||||||
|
..\util\levcomp.exe endgame.des
|
||||||
|
echo gehennom.des
|
||||||
|
..\util\levcomp.exe gehennom.des
|
||||||
|
echo healer.des
|
||||||
|
..\util\levcomp.exe healer.des
|
||||||
|
echo knight.des
|
||||||
|
..\util\levcomp.exe knight.des
|
||||||
|
echo knox.des
|
||||||
|
..\util\levcomp.exe knox.des
|
||||||
|
echo medusa.des
|
||||||
|
..\util\levcomp.exe medusa.des
|
||||||
|
echo mines.des
|
||||||
|
..\util\levcomp.exe mines.des
|
||||||
|
echo monk.des
|
||||||
|
..\util\levcomp.exe monk.des
|
||||||
|
echo oracle.des
|
||||||
|
..\util\levcomp.exe oracle.des
|
||||||
|
echo priest.des
|
||||||
|
..\util\levcomp.exe priest.des
|
||||||
|
echo ranger.des
|
||||||
|
..\util\levcomp.exe ranger.des
|
||||||
|
echo rogue.des
|
||||||
|
..\util\levcomp.exe rogue.des
|
||||||
|
echo samurai.des
|
||||||
|
..\util\levcomp.exe samurai.des
|
||||||
|
echo sokoban.des
|
||||||
|
..\util\levcomp.exe sokoban.des
|
||||||
|
echo tourist.des
|
||||||
|
..\util\levcomp.exe tourist.des
|
||||||
|
echo tower.des
|
||||||
|
..\util\levcomp.exe tower.des
|
||||||
|
echo valkyrie.des
|
||||||
|
..\util\levcomp.exe valkyrie.des
|
||||||
|
echo wizard .des
|
||||||
|
..\util\levcomp.exe wizard.des
|
||||||
|
echo yendor.des
|
||||||
|
..\util\levcomp.exe yendor.des
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/levcomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/levcomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/levcomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>levcomp</Message>
|
||||||
|
<Command>echo Building special levels
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo arch.des
|
||||||
|
..\util\levcomp.exe arch.des
|
||||||
|
echo barb.des
|
||||||
|
..\util\levcomp.exe barb.des
|
||||||
|
echo bigroom.des
|
||||||
|
..\util\levcomp.exe bigroom.des
|
||||||
|
echo castle.des
|
||||||
|
..\util\levcomp.exe castle.des
|
||||||
|
echo caveman.des
|
||||||
|
..\util\levcomp.exe caveman.des
|
||||||
|
echo endgame.des
|
||||||
|
..\util\levcomp.exe endgame.des
|
||||||
|
echo gehennom.des
|
||||||
|
..\util\levcomp.exe gehennom.des
|
||||||
|
echo healer.des
|
||||||
|
..\util\levcomp.exe healer.des
|
||||||
|
echo knight.des
|
||||||
|
..\util\levcomp.exe knight.des
|
||||||
|
echo knox.des
|
||||||
|
..\util\levcomp.exe knox.des
|
||||||
|
echo medusa.des
|
||||||
|
..\util\levcomp.exe medusa.des
|
||||||
|
echo mines.des
|
||||||
|
..\util\levcomp.exe mines.des
|
||||||
|
echo monk.des
|
||||||
|
..\util\levcomp.exe monk.des
|
||||||
|
echo oracle.des
|
||||||
|
..\util\levcomp.exe oracle.des
|
||||||
|
echo priest.des
|
||||||
|
..\util\levcomp.exe priest.des
|
||||||
|
echo ranger.des
|
||||||
|
..\util\levcomp.exe ranger.des
|
||||||
|
echo rogue.des
|
||||||
|
..\util\levcomp.exe rogue.des
|
||||||
|
echo samurai.des
|
||||||
|
..\util\levcomp.exe samurai.des
|
||||||
|
echo sokoban.des
|
||||||
|
..\util\levcomp.exe sokoban.des
|
||||||
|
echo tourist.des
|
||||||
|
..\util\levcomp.exe tourist.des
|
||||||
|
echo tower.des
|
||||||
|
..\util\levcomp.exe tower.des
|
||||||
|
echo valkyrie.des
|
||||||
|
..\util\levcomp.exe valkyrie.des
|
||||||
|
echo wizard .des
|
||||||
|
..\util\levcomp.exe wizard.des
|
||||||
|
echo yendor.des
|
||||||
|
..\util\levcomp.exe yendor.des
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/levcomp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;YY_NO_UNISTD_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/levcomp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/levcomp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>levcomp</Message>
|
||||||
|
<Command>echo Building special levels
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
echo arch.des
|
||||||
|
..\util\levcomp.exe arch.des
|
||||||
|
echo barb.des
|
||||||
|
..\util\levcomp.exe barb.des
|
||||||
|
echo bigroom.des
|
||||||
|
..\util\levcomp.exe bigroom.des
|
||||||
|
echo castle.des
|
||||||
|
..\util\levcomp.exe castle.des
|
||||||
|
echo caveman.des
|
||||||
|
..\util\levcomp.exe caveman.des
|
||||||
|
echo endgame.des
|
||||||
|
..\util\levcomp.exe endgame.des
|
||||||
|
echo gehennom.des
|
||||||
|
..\util\levcomp.exe gehennom.des
|
||||||
|
echo healer.des
|
||||||
|
..\util\levcomp.exe healer.des
|
||||||
|
echo knight.des
|
||||||
|
..\util\levcomp.exe knight.des
|
||||||
|
echo knox.des
|
||||||
|
..\util\levcomp.exe knox.des
|
||||||
|
echo medusa.des
|
||||||
|
..\util\levcomp.exe medusa.des
|
||||||
|
echo mines.des
|
||||||
|
..\util\levcomp.exe mines.des
|
||||||
|
echo monk.des
|
||||||
|
..\util\levcomp.exe monk.des
|
||||||
|
echo oracle.des
|
||||||
|
..\util\levcomp.exe oracle.des
|
||||||
|
echo priest.des
|
||||||
|
..\util\levcomp.exe priest.des
|
||||||
|
echo ranger.des
|
||||||
|
..\util\levcomp.exe ranger.des
|
||||||
|
echo rogue.des
|
||||||
|
..\util\levcomp.exe rogue.des
|
||||||
|
echo samurai.des
|
||||||
|
..\util\levcomp.exe samurai.des
|
||||||
|
echo sokoban.des
|
||||||
|
..\util\levcomp.exe sokoban.des
|
||||||
|
echo tourist.des
|
||||||
|
..\util\levcomp.exe tourist.des
|
||||||
|
echo tower.des
|
||||||
|
..\util\levcomp.exe tower.des
|
||||||
|
echo valkyrie.des
|
||||||
|
..\util\levcomp.exe valkyrie.des
|
||||||
|
echo wizard .des
|
||||||
|
..\util\levcomp.exe wizard.des
|
||||||
|
echo yendor.des
|
||||||
|
..\util\levcomp.exe yendor.des
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\src\alloc.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\decl.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\drawing.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\lev_lex.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\lev_main.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\lev_yacc.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\monst.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\objects.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\util\panic.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\lev_comp.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="levstuff.vcxproj">
|
||||||
|
<Project>{ff144dfb-83a5-4d26-a598-715a2b354782}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,124 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FF144DFB-83A5-4D26-A598-715A2B354782}</ProjectGuid>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\Release\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\Release\</IntDir>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f "levstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f "levstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f "levstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f "levstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\util\lev_lex.c</NMakeOutput>
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\util\lev_lex.c</NMakeOutput>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\levstuff___Win32_Debug0\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\levstuff___Win32_Debug0\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\levstuff___Win32_Debug0\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\levstuff___Win32_Debug0\</IntDir>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f "levstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f "levstuff.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f "levstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f "levstuff.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\util\lev_lex.c</NMakeOutput>
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\util\lev_lex.c</NMakeOutput>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="makedefs.vcxproj">
|
||||||
|
<Project>{ba3dd34c-04b7-40d0-b373-9329aa9e8945}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,452 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{BA3DD34C-04B7-40D0-B373-9329AA9E8945}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/makedefs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>.;..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/makedefs.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\..\util/makedefs.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/makedefs.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Running makedefs</Message>
|
||||||
|
<Command>echo chdir ..\util
|
||||||
|
chdir ..\util
|
||||||
|
chdir
|
||||||
|
echo makedefs.exe -v
|
||||||
|
makedefs.exe -v
|
||||||
|
echo makedefs.exe -o
|
||||||
|
makedefs.exe -o
|
||||||
|
echo makedefs.exe -p
|
||||||
|
makedefs.exe -p
|
||||||
|
echo makedefs.exe -m
|
||||||
|
makedefs.exe -m
|
||||||
|
echo makedefs.exe -z
|
||||||
|
makedefs.exe -z
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
chdir
|
||||||
|
echo Generating NetHack database
|
||||||
|
echo ..\util\makedefs.exe -d
|
||||||
|
..\util\makedefs.exe -d
|
||||||
|
echo Generating rumors
|
||||||
|
echo ..\util\makedefs.exe -r
|
||||||
|
..\util\makedefs.exe -r
|
||||||
|
echo Generating quests
|
||||||
|
echo ..\util\makedefs.exe -q
|
||||||
|
..\util\makedefs.exe -q
|
||||||
|
echo Generating oracles
|
||||||
|
echo ..\util\makedefs.exe -h
|
||||||
|
..\util\makedefs.exe -h
|
||||||
|
echo Generating dungeon.pdf
|
||||||
|
echo ..\util\makedefs.exe -e
|
||||||
|
..\util\makedefs.exe -e
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/makedefs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>.;..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/makedefs.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\..\util/makedefs.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/makedefs.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Running makedefs</Message>
|
||||||
|
<Command>echo chdir ..\util
|
||||||
|
chdir ..\util
|
||||||
|
chdir
|
||||||
|
echo makedefs.exe -v
|
||||||
|
makedefs.exe -v
|
||||||
|
echo makedefs.exe -o
|
||||||
|
makedefs.exe -o
|
||||||
|
echo makedefs.exe -p
|
||||||
|
makedefs.exe -p
|
||||||
|
echo makedefs.exe -m
|
||||||
|
makedefs.exe -m
|
||||||
|
echo makedefs.exe -z
|
||||||
|
makedefs.exe -z
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
chdir
|
||||||
|
echo Generating NetHack database
|
||||||
|
echo ..\util\makedefs.exe -d
|
||||||
|
..\util\makedefs.exe -d
|
||||||
|
echo Generating rumors
|
||||||
|
echo ..\util\makedefs.exe -r
|
||||||
|
..\util\makedefs.exe -r
|
||||||
|
echo Generating quests
|
||||||
|
echo ..\util\makedefs.exe -q
|
||||||
|
..\util\makedefs.exe -q
|
||||||
|
echo Generating oracles
|
||||||
|
echo ..\util\makedefs.exe -h
|
||||||
|
..\util\makedefs.exe -h
|
||||||
|
echo Generating dungeon.pdf
|
||||||
|
echo ..\util\makedefs.exe -e
|
||||||
|
..\util\makedefs.exe -e
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/makedefs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>.;..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/makedefs.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/makedefs.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Running makedefs</Message>
|
||||||
|
<Command>echo chdir ..\util
|
||||||
|
chdir ..\util
|
||||||
|
chdir
|
||||||
|
echo makedefs.exe -v
|
||||||
|
makedefs.exe -v
|
||||||
|
echo makedefs.exe -o
|
||||||
|
makedefs.exe -o
|
||||||
|
echo makedefs.exe -p
|
||||||
|
makedefs.exe -p
|
||||||
|
echo makedefs.exe -m
|
||||||
|
makedefs.exe -m
|
||||||
|
echo makedefs.exe -z
|
||||||
|
makedefs.exe -z
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
chdir
|
||||||
|
echo Generating NetHack database
|
||||||
|
echo ..\util\makedefs.exe -d
|
||||||
|
..\util\makedefs.exe -d
|
||||||
|
echo Generating rumors
|
||||||
|
echo ..\util\makedefs.exe -r
|
||||||
|
..\util\makedefs.exe -r
|
||||||
|
echo Generating quests
|
||||||
|
echo ..\util\makedefs.exe -q
|
||||||
|
..\util\makedefs.exe -q
|
||||||
|
echo Generating oracles
|
||||||
|
echo ..\util\makedefs.exe -h
|
||||||
|
..\util\makedefs.exe -h
|
||||||
|
echo Generating dungeon.pdf
|
||||||
|
echo ..\util\makedefs.exe -e
|
||||||
|
..\util\makedefs.exe -e
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\..\util/makedefs.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>.;..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/makedefs.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\..\util/makedefs.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Running makedefs</Message>
|
||||||
|
<Command>echo chdir ..\util
|
||||||
|
chdir ..\util
|
||||||
|
chdir
|
||||||
|
echo makedefs.exe -v
|
||||||
|
makedefs.exe -v
|
||||||
|
echo makedefs.exe -o
|
||||||
|
makedefs.exe -o
|
||||||
|
echo makedefs.exe -p
|
||||||
|
makedefs.exe -p
|
||||||
|
echo makedefs.exe -m
|
||||||
|
makedefs.exe -m
|
||||||
|
echo makedefs.exe -z
|
||||||
|
makedefs.exe -z
|
||||||
|
echo chdir ..\dat
|
||||||
|
chdir ..\dat
|
||||||
|
chdir
|
||||||
|
echo Generating NetHack database
|
||||||
|
echo ..\util\makedefs.exe -d
|
||||||
|
..\util\makedefs.exe -d
|
||||||
|
echo Generating rumors
|
||||||
|
echo ..\util\makedefs.exe -r
|
||||||
|
..\util\makedefs.exe -r
|
||||||
|
echo Generating quests
|
||||||
|
echo ..\util\makedefs.exe -q
|
||||||
|
..\util\makedefs.exe -q
|
||||||
|
echo Generating oracles
|
||||||
|
echo ..\util\makedefs.exe -h
|
||||||
|
..\util\makedefs.exe -h
|
||||||
|
echo Generating dungeon.pdf
|
||||||
|
echo ..\util\makedefs.exe -e
|
||||||
|
..\util\makedefs.exe -e
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
copy ..\win\share\tilemap.c ..\win\share\tiletxt.c
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\util\makedefs.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\monst.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\objects.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\config.h" />
|
||||||
|
<ClInclude Include="..\include\config1.h" />
|
||||||
|
<ClInclude Include="..\include\context.h" />
|
||||||
|
<ClInclude Include="..\include\coord.h" />
|
||||||
|
<ClInclude Include="..\include\global.h" />
|
||||||
|
<ClInclude Include="..\include\monattk.h" />
|
||||||
|
<ClInclude Include="..\include\monflag.h" />
|
||||||
|
<ClInclude Include="..\include\monsym.h" />
|
||||||
|
<ClInclude Include="..\include\nhlan.h" />
|
||||||
|
<ClInclude Include="..\include\ntconf.h" />
|
||||||
|
<ClInclude Include="..\include\objclass.h" />
|
||||||
|
<ClInclude Include="..\include\patchlevel.h" />
|
||||||
|
<ClInclude Include="..\include\qtext.h" />
|
||||||
|
<ClInclude Include="..\include\tradstdc.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,197 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{6813477F-64B6-4B97-B230-438D0D233385}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>nhdefkey</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>NotSet</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;WIN32CON;_DEBUG;_WINDOWS;_USRDLL;NHDEFKEY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)..\include;$(ProjectDir)..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ModuleDefinitionFile>$(ProjectDir)..\build\nhdefkey.def</ModuleDefinitionFile>
|
||||||
|
<MapExports>true</MapExports>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy $(TargetPath) ..\binary & if exist $(TargetDir)$(TargetName).PDB copy $(TargetDir)$(TargetName).PDB ..\binary</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
<PreLinkEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreLinkEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;WIN32CON;_DEBUG;_WINDOWS;_USRDLL;NHDEFKEY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)..\include;$(ProjectDir)..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ModuleDefinitionFile>$(ProjectDir)..\build\nhdefkey64.def</ModuleDefinitionFile>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy $(TargetPath) ..\binary & if exist $(TargetDir)$(TargetName).PDB copy $(TargetDir)$(TargetName).PDB ..\binary</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
<PreLinkEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreLinkEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;WIN32CON;NDEBUG;_WINDOWS;_USRDLL;NHDEFKEY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)..\include;$(ProjectDir)..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<ModuleDefinitionFile>$(ProjectDir)..\build\nhdefkey.def</ModuleDefinitionFile>
|
||||||
|
<MapExports>true</MapExports>
|
||||||
|
<GenerateMapFile>true</GenerateMapFile>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy $(TargetPath) ..\binary & if exist $(TargetDir)$(TargetName).PDB copy $(TargetDir)$(TargetName).PDB ..\binary</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
<PreLinkEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreLinkEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;WIN32CON;NDEBUG;_WINDOWS;_USRDLL;NHDEFKEY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(ProjectDir)..\include;$(ProjectDir)..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<ModuleDefinitionFile>$(ProjectDir)..\build\nhdefkey64.def</ModuleDefinitionFile>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy $(TargetPath) ..\binary & if exist $(TargetDir)$(TargetName).PDB copy $(TargetDir)$(TargetName).PDB ..\binary</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
<PreLinkEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreLinkEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\sys\winnt\nhdefkey.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\hack.h" />
|
||||||
|
<ClInclude Include="..\include\ntconf.h" />
|
||||||
|
<ClInclude Include="..\include\wintty.h" />
|
||||||
|
<ClInclude Include="..\sys\winnt\win32api.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,306 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{2F35F228-6733-4FE5-9B46-B3AA10D4BC2E}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/recover.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/recover.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/recover.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>install exe</Message>
|
||||||
|
<Command>copy $(OutDir)recover.exe ..\binary
|
||||||
|
if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/recover.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/recover.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/recover.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>install exe</Message>
|
||||||
|
<Command>copy $(OutDir)recover.exe ..\binary
|
||||||
|
if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/recover.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/recover.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/recover.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/recover.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy $(OutDir)recover.exe ..\binary
|
||||||
|
if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/recover.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/recover.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/recover.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/recover.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>copy $(OutDir)recover.exe ..\binary
|
||||||
|
if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\util\recover.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\config.h" />
|
||||||
|
<ClInclude Include="..\include\config1.h" />
|
||||||
|
<ClInclude Include="..\include\coord.h" />
|
||||||
|
<ClInclude Include="..\include\global.h" />
|
||||||
|
<ClInclude Include="..\include\nhlan.h" />
|
||||||
|
<ClInclude Include="..\include\ntconf.h" />
|
||||||
|
<ClInclude Include="..\include\tradstdc.h" />
|
||||||
|
<ClInclude Include="..\sys\winnt\win32api.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="dlb_main.vcxproj">
|
||||||
|
<Project>{0303a585-3f83-4bb7-af6b-1e12c8fb54ac}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="makedefs.vcxproj">
|
||||||
|
<Project>{ba3dd34c-04b7-40d0-b373-9329aa9e8945}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,324 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{642BC75D-ABAF-403E-8224-7C725FD4CB42}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/tile2bmp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/tile2bmp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/tile2bmp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/tile2bmp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/tile2bmp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/tile2bmp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/tile2bmp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/tile2bmp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/tile2bmp.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/tile2bmp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/tile2bmp.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/tile2bmp.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/tile2bmp.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/tile2bmp.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\src\decl.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\drawing.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\monst.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\objects.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\win\share\tile2bmp.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">PACKED_FILE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">PACKED_FILE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\win\share\tiletext.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\win\share\tiletxt.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TILETEXT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">TILETEXT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">TILETEXT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">TILETEXT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,345 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{93F10526-209E-41D7-BBEA-775787876895}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/tilemap.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt\include;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/tilemap.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/tilemap.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Generating src\tile.c</Message>
|
||||||
|
<Command>echo chdir ..\src
|
||||||
|
chdir ..\src
|
||||||
|
..\util\tilemap.exe
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/tilemap.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt\include;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/tilemap.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/tilemap.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Generating src\tile.c</Message>
|
||||||
|
<Command>echo chdir ..\src
|
||||||
|
chdir ..\src
|
||||||
|
..\util\tilemap.exe
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/tilemap.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt\include;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/tilemap.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/tilemap.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/tilemap.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Generating src\tile.c</Message>
|
||||||
|
<Command>echo chdir ..\src
|
||||||
|
chdir ..\src
|
||||||
|
..\util\tilemap.exe
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/tilemap.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>..\include;..\sys\winnt\include;..\win\share;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;WIN32CON;DLB;MSWIN_GRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/tilemap.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/tilemap.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/tilemap.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Message>Generating src\tile.c</Message>
|
||||||
|
<Command>echo chdir ..\src
|
||||||
|
chdir ..\src
|
||||||
|
..\util\tilemap.exe
|
||||||
|
echo chdir ..\build
|
||||||
|
chdir ..\build
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\win\share\tilemap.c">
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\include\align.h" />
|
||||||
|
<ClInclude Include="..\include\attrib.h" />
|
||||||
|
<ClInclude Include="..\include\color.h" />
|
||||||
|
<ClInclude Include="..\include\config.h" />
|
||||||
|
<ClInclude Include="..\include\config1.h" />
|
||||||
|
<ClInclude Include="..\include\context.h" />
|
||||||
|
<ClInclude Include="..\include\coord.h" />
|
||||||
|
<ClInclude Include="..\include\decl.h" />
|
||||||
|
<ClInclude Include="..\include\dgn_comp.h" />
|
||||||
|
<ClInclude Include="..\include\dgn_file.h" />
|
||||||
|
<ClInclude Include="..\include\display.h" />
|
||||||
|
<ClInclude Include="..\include\dungeon.h" />
|
||||||
|
<ClInclude Include="..\include\engrave.h" />
|
||||||
|
<ClInclude Include="..\include\flag.h" />
|
||||||
|
<ClInclude Include="..\include\global.h" />
|
||||||
|
<ClInclude Include="..\include\mkroom.h" />
|
||||||
|
<ClInclude Include="..\include\monattk.h" />
|
||||||
|
<ClInclude Include="..\include\monst.h" />
|
||||||
|
<ClInclude Include="..\include\monsym.h" />
|
||||||
|
<ClInclude Include="..\include\nhlan.h" />
|
||||||
|
<ClInclude Include="..\include\ntconf.h" />
|
||||||
|
<ClInclude Include="..\include\obj.h" />
|
||||||
|
<ClInclude Include="..\include\objclass.h" />
|
||||||
|
<ClInclude Include="..\include\onames.h" />
|
||||||
|
<ClInclude Include="..\include\permonst.h" />
|
||||||
|
<ClInclude Include="..\include\pm.h" />
|
||||||
|
<ClInclude Include="..\include\prop.h" />
|
||||||
|
<ClInclude Include="..\include\quest.h" />
|
||||||
|
<ClInclude Include="..\include\rect.h" />
|
||||||
|
<ClInclude Include="..\include\region.h" />
|
||||||
|
<ClInclude Include="..\include\rm.h" />
|
||||||
|
<ClInclude Include="..\include\skills.h" />
|
||||||
|
<ClInclude Include="..\include\spell.h" />
|
||||||
|
<ClInclude Include="..\include\timeout.h" />
|
||||||
|
<ClInclude Include="..\include\tradstdc.h" />
|
||||||
|
<ClInclude Include="..\include\trampoli.h" />
|
||||||
|
<ClInclude Include="..\include\trap.h" />
|
||||||
|
<ClInclude Include="..\include\vision.h" />
|
||||||
|
<ClInclude Include="..\include\winprocs.h" />
|
||||||
|
<ClInclude Include="..\include\wintty.h" />
|
||||||
|
<ClInclude Include="..\include\wintype.h" />
|
||||||
|
<ClInclude Include="..\include\you.h" />
|
||||||
|
<ClInclude Include="..\include\youprop.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,124 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{55946465-FC65-47B3-BB48-742C7694C0D6}</ProjectGuid>
|
||||||
|
<Keyword>MakeFileProj</Keyword>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\</IntDir>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f "tiles.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f "tiles.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f "tiles.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f "tiles.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\win\win32\tiles.bmp</NMakeOutput>
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\win\win32\tiles.bmp</NMakeOutput>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\Release\</IntDir>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f "tiles.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f "tiles.mak"</NMakeBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f "tiles.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f "tiles.mak" /a</NMakeReBuildCommandLine>
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||||
|
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\win\win32\tiles.bmp</NMakeOutput>
|
||||||
|
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\win\win32\tiles.bmp</NMakeOutput>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeIncludeSearchPath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeForcedIncludes Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeAssemblySearchPath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="tile2bmp.vcxproj">
|
||||||
|
<Project>{642bc75d-abaf-403e-8224-7c725fd4cb42}</Project>
|
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,336 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{63F9B82B-F589-4082-ABE5-D4F0682050AB}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\..\util\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\$(ConfigurationName)\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\Debug\$(ProjectName)\</IntDir>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\..\util\</OutDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\..\util\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/uudecode.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/uudecode.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/uudecode.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/uudecode.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>echo chdir ..\win\win32
|
||||||
|
chdir ..\win\win32
|
||||||
|
echo decoding icon (nhico.uu to NetHack.ico)
|
||||||
|
..\..\util\uudecode.exe ../../sys/winnt/nhico.uu
|
||||||
|
echo decoding mnsel (mnsel.uu to mnsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnsel.uu
|
||||||
|
echo decoding mnselcnt (mnselcnt.uu to mnselcnt.bmp)
|
||||||
|
..\..\util\uudecode.exe mnselcnt.uu
|
||||||
|
echo decoding mnunsel (mnunsel.uu to mnunsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnunsel.uu
|
||||||
|
echo decoding petmark (petmark.uu to petmark.bmp)
|
||||||
|
..\..\util\uudecode.exe petmark.uu
|
||||||
|
echo decoding splash (splash.uu to splash.bmp)
|
||||||
|
..\..\util\uudecode.exe splash.uu
|
||||||
|
echo decoding tombstone (rip.uu to rip.bmp)
|
||||||
|
..\..\util\uudecode.exe rip.uu
|
||||||
|
chdir ..\..\binary
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Release/uudecode.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/uudecode.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/uudecode.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/uudecode.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>echo chdir ..\win\win32
|
||||||
|
chdir ..\win\win32
|
||||||
|
echo decoding icon (nhico.uu to NetHack.ico)
|
||||||
|
..\..\util\uudecode.exe ../../sys/winnt/nhico.uu
|
||||||
|
echo decoding mnsel (mnsel.uu to mnsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnsel.uu
|
||||||
|
echo decoding mnselcnt (mnselcnt.uu to mnselcnt.bmp)
|
||||||
|
..\..\util\uudecode.exe mnselcnt.uu
|
||||||
|
echo decoding mnunsel (mnunsel.uu to mnunsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnunsel.uu
|
||||||
|
echo decoding petmark (petmark.uu to petmark.bmp)
|
||||||
|
..\..\util\uudecode.exe petmark.uu
|
||||||
|
echo decoding splash (splash.uu to splash.bmp)
|
||||||
|
..\..\util\uudecode.exe splash.uu
|
||||||
|
echo decoding tombstone (rip.uu to rip.bmp)
|
||||||
|
..\..\util\uudecode.exe rip.uu
|
||||||
|
chdir ..\..\binary
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/uudecode.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/uudecode.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/uudecode.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>echo chdir ..\win\win32
|
||||||
|
chdir ..\win\win32
|
||||||
|
echo decoding icon (nhico.uu to NetHack.ico)
|
||||||
|
..\..\util\uudecode.exe ../../sys/winnt/nhico.uu
|
||||||
|
echo decoding mnsel (mnsel.uu to mnsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnsel.uu
|
||||||
|
echo decoding mnselcnt (mnselcnt.uu to mnselcnt.bmp)
|
||||||
|
..\..\util\uudecode.exe mnselcnt.uu
|
||||||
|
echo decoding mnunsel (mnunsel.uu to mnunsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnunsel.uu
|
||||||
|
echo decoding petmark (petmark.uu to petmark.bmp)
|
||||||
|
..\..\util\uudecode.exe petmark.uu
|
||||||
|
echo decoding splash (splash.uu to splash.bmp)
|
||||||
|
..\..\util\uudecode.exe splash.uu
|
||||||
|
echo decoding tombstone (rip.uu to rip.bmp)
|
||||||
|
..\..\util\uudecode.exe rip.uu
|
||||||
|
chdir ..\..\binary
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Midl>
|
||||||
|
<TypeLibraryName>.\Debug/uudecode.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName>
|
||||||
|
</HeaderFileName>
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/uudecode.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\$(ConfigurationName)\$(ProjectName)\</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\$(ConfigurationName)\$(ProjectName)\</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||||
|
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x0409</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\$(ConfigurationName)\$(ProjectName)\</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||||
|
<DataExecutionPrevention>
|
||||||
|
</DataExecutionPrevention>
|
||||||
|
<AdditionalOptions>/SAFESEH:NO %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/uudecode.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
<PostBuildEvent>
|
||||||
|
<Command>echo chdir ..\win\win32
|
||||||
|
chdir ..\win\win32
|
||||||
|
echo decoding icon (nhico.uu to NetHack.ico)
|
||||||
|
..\..\util\uudecode.exe ../../sys/winnt/nhico.uu
|
||||||
|
echo decoding mnsel (mnsel.uu to mnsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnsel.uu
|
||||||
|
echo decoding mnselcnt (mnselcnt.uu to mnselcnt.bmp)
|
||||||
|
..\..\util\uudecode.exe mnselcnt.uu
|
||||||
|
echo decoding mnunsel (mnunsel.uu to mnunsel.bmp)
|
||||||
|
..\..\util\uudecode.exe mnunsel.uu
|
||||||
|
echo decoding petmark (petmark.uu to petmark.bmp)
|
||||||
|
..\..\util\uudecode.exe petmark.uu
|
||||||
|
echo decoding splash (splash.uu to splash.bmp)
|
||||||
|
..\..\util\uudecode.exe splash.uu
|
||||||
|
echo decoding tombstone (rip.uu to rip.bmp)
|
||||||
|
..\..\util\uudecode.exe rip.uu
|
||||||
|
chdir ..\..\binary
|
||||||
|
</Command>
|
||||||
|
</PostBuildEvent>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\sys\share\uudecode.c">
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
+15
-3
@@ -164,6 +164,17 @@ void mswin_preference_update(const char *pref);
|
|||||||
char *mswin_getmsghistory(BOOLEAN_P init);
|
char *mswin_getmsghistory(BOOLEAN_P init);
|
||||||
void mswin_putmsghistory(const char * msg,BOOLEAN_P);
|
void mswin_putmsghistory(const char * msg,BOOLEAN_P);
|
||||||
|
|
||||||
|
#ifdef STATUS_VIA_WINDOWPORT
|
||||||
|
void mswin_status_init(void);
|
||||||
|
void mswin_status_finish(void);
|
||||||
|
void mswin_status_enablefield(int fieldidx, const char *nm, const char *fmt, boolean enable);
|
||||||
|
void mswin_status_update(int idx, genericptr_t ptr, int chg, int percent);
|
||||||
|
|
||||||
|
# ifdef STATUS_HILITES
|
||||||
|
void mswin_status_threshold(int fldidx, int thresholdtype, anything threshold, int behavior, int under, int over);
|
||||||
|
# endif /* STATUS_HILITES */
|
||||||
|
#endif /*STATUS_VIA_WINDOWPORT*/
|
||||||
|
|
||||||
/* helper function */
|
/* helper function */
|
||||||
HWND mswin_hwnd_from_winid(winid wid);
|
HWND mswin_hwnd_from_winid(winid wid);
|
||||||
winid mswin_winid_from_type(int type);
|
winid mswin_winid_from_type(int type);
|
||||||
@@ -211,9 +222,10 @@ extern COLORREF message_fg_color;
|
|||||||
#define SYSCLR_TO_BRUSH(x) ((HBRUSH)((x) + 1))
|
#define SYSCLR_TO_BRUSH(x) ((HBRUSH)((x) + 1))
|
||||||
|
|
||||||
/* unicode stuff */
|
/* unicode stuff */
|
||||||
#ifdef UNICODE
|
#define NH_CODEPAGE (SYMHANDLING(H_IBM)?GetOEMCP():GetACP())
|
||||||
|
#ifdef _UNICODE
|
||||||
#define NH_W2A(w, a, cb) ( WideCharToMultiByte( \
|
#define NH_W2A(w, a, cb) ( WideCharToMultiByte( \
|
||||||
CP_ACP, \
|
NH_CODEPAGE, \
|
||||||
0, \
|
0, \
|
||||||
(w), \
|
(w), \
|
||||||
-1, \
|
-1, \
|
||||||
@@ -223,7 +235,7 @@ extern COLORREF message_fg_color;
|
|||||||
NULL), (a) )
|
NULL), (a) )
|
||||||
|
|
||||||
#define NH_A2W(a, w, cb) ( MultiByteToWideChar( \
|
#define NH_A2W(a, w, cb) ( MultiByteToWideChar( \
|
||||||
CP_ACP, \
|
NH_CODEPAGE, \
|
||||||
0, \
|
0, \
|
||||||
(a), \
|
(a), \
|
||||||
-1, \
|
-1, \
|
||||||
|
|||||||
+6
-4
@@ -15,9 +15,8 @@
|
|||||||
#include "mhmain.h"
|
#include "mhmain.h"
|
||||||
#include "mhmap.h"
|
#include "mhmap.h"
|
||||||
|
|
||||||
#ifndef __BORLANDC__
|
/* Borland and MinGW redefine "boolean" in shlwapi.h,
|
||||||
#include <shlwapi.h>
|
so just use the little bit we need */
|
||||||
#else /* Borland redefines "boolean" in shlwapi.h so just use the little bit we need */
|
|
||||||
typedef struct _DLLVERSIONINFO
|
typedef struct _DLLVERSIONINFO
|
||||||
{
|
{
|
||||||
DWORD cbSize;
|
DWORD cbSize;
|
||||||
@@ -34,7 +33,7 @@ typedef struct _DLLVERSIONINFO
|
|||||||
|
|
||||||
typedef HRESULT (CALLBACK* DLLGETVERSIONPROC)(DLLVERSIONINFO *);
|
typedef HRESULT (CALLBACK* DLLGETVERSIONPROC)(DLLVERSIONINFO *);
|
||||||
|
|
||||||
#endif
|
/* end of shlwapi.h */
|
||||||
|
|
||||||
/* Minimal common control library version
|
/* Minimal common control library version
|
||||||
Version _WIN_32IE Platform/IE
|
Version _WIN_32IE Platform/IE
|
||||||
@@ -84,6 +83,9 @@ int APIENTRY WinMain(HINSTANCE hInstance,
|
|||||||
DWORD major, minor;
|
DWORD major, minor;
|
||||||
boolean resuming;
|
boolean resuming;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(hPrevInstance);
|
||||||
|
UNREFERENCED_PARAMETER(lpCmdLine);
|
||||||
|
UNREFERENCED_PARAMETER(nCmdShow);
|
||||||
|
|
||||||
/* ensure that we don't access violate on a panic() */
|
/* ensure that we don't access violate on a panic() */
|
||||||
windowprocs.win_raw_print = mswin_raw_print;
|
windowprocs.win_raw_print = mswin_raw_print;
|
||||||
|
|||||||
@@ -121,13 +121,13 @@ BEGIN
|
|||||||
END
|
END
|
||||||
|
|
||||||
IDD_NHTEXT DIALOGEX 0, 0, 172, 178
|
IDD_NHTEXT DIALOGEX 0, 0, 172, 178
|
||||||
STYLE DS_SETFOREGROUND | WS_CHILD | WS_THICKFRAME
|
STYLE WS_CHILD | WS_CLIPSIBLINGS | WS_THICKFRAME
|
||||||
EXSTYLE WS_EX_CLIENTEDGE
|
EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTROLPARENT
|
||||||
FONT 8, "MS Sans Serif", 0, 0
|
FONT 8, "MS Sans Serif", 0, 0
|
||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "OK",IDOK,54,163,50,14
|
|
||||||
EDITTEXT IDC_TEXT_CONTROL,0,0,172,160,ES_MULTILINE |
|
EDITTEXT IDC_TEXT_CONTROL,0,0,172,160,ES_MULTILINE |
|
||||||
ES_OEMCONVERT | ES_READONLY | WS_VSCROLL | WS_HSCROLL
|
ES_OEMCONVERT | ES_READONLY | WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP
|
||||||
|
DEFPUSHBUTTON "OK",IDOK,54,163,50,14,BS_FLAT | NOT WS_TABSTOP
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_MENU DIALOGEX 0, 0, 187, 153
|
IDD_MENU DIALOGEX 0, 0, 187, 153
|
||||||
@@ -135,11 +135,11 @@ STYLE WS_CHILD | WS_CLIPSIBLINGS | WS_THICKFRAME
|
|||||||
EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTROLPARENT
|
EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTROLPARENT
|
||||||
FONT 8, "MS Sans Serif", 0, 0
|
FONT 8, "MS Sans Serif", 0, 0
|
||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "OK",IDOK,7,132,50,14,BS_FLAT | NOT WS_TABSTOP
|
|
||||||
PUSHBUTTON "Cancel",IDCANCEL,130,132,50,14,BS_FLAT | NOT WS_TABSTOP
|
|
||||||
LISTBOX IDC_MENU_LIST,10,10,170,55,LBS_SORT
|
LISTBOX IDC_MENU_LIST,10,10,170,55,LBS_SORT
|
||||||
EDITTEXT IDC_MENU_TEXT,10,70,170,60,ES_MULTILINE | ES_OEMCONVERT |
|
EDITTEXT IDC_MENU_TEXT,10,70,170,60,ES_MULTILINE | ES_OEMCONVERT |
|
||||||
ES_READONLY | WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP
|
ES_READONLY | WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP
|
||||||
|
DEFPUSHBUTTON "OK",IDOK,7,132,50,14,BS_FLAT | NOT WS_TABSTOP
|
||||||
|
PUSHBUTTON "Cancel",IDCANCEL,130,132,50,14,BS_FLAT | NOT WS_TABSTOP
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_GETLIN DIALOG DISCARDABLE 0, 0, 131, 29
|
IDD_GETLIN DIALOG DISCARDABLE 0, 0, 131, 29
|
||||||
|
|||||||
Reference in New Issue
Block a user