Removed the defining of WIN32CONNDEBUG for NethackW.
Defined NOTTYGRAPHICS for NethackW.
This commit is contained in:
@@ -501,15 +501,6 @@ int code;
|
|||||||
exit(code);
|
exit(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
#ifndef TTY_GRAPHICS
|
|
||||||
void
|
|
||||||
synch_cursor()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Chdir back to original directory
|
/* Chdir back to original directory
|
||||||
*/
|
*/
|
||||||
#ifdef TOS
|
#ifdef TOS
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* WIN32 system functions.
|
* WIN32 system functions.
|
||||||
|
*
|
||||||
|
* Included in both console and window based clients on the windows platform.
|
||||||
*
|
*
|
||||||
* Initial Creation: Michael Allison - January 31/93
|
* Initial Creation: Michael Allison - January 31/93
|
||||||
*
|
*
|
||||||
@@ -229,15 +231,6 @@ Delay(int ms)
|
|||||||
(void) Sleep(ms);
|
(void) Sleep(ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TTY_GRAPHICS
|
|
||||||
extern void NDECL(backsp);
|
|
||||||
#else
|
|
||||||
void
|
|
||||||
backsp()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void
|
void
|
||||||
win32_abort()
|
win32_abort()
|
||||||
{
|
{
|
||||||
@@ -250,9 +243,13 @@ win32_abort()
|
|||||||
msmsg("Execute debug breakpoint wizard?");
|
msmsg("Execute debug breakpoint wizard?");
|
||||||
while ((ci = nhgetch()) != '\n') {
|
while ((ci = nhgetch()) != '\n') {
|
||||||
if (ct > 0) {
|
if (ct > 0) {
|
||||||
|
#ifdef TTY_GRAPHICS
|
||||||
backsp(); /* \b is visible on NT */
|
backsp(); /* \b is visible on NT */
|
||||||
|
#endif
|
||||||
(void) putchar(' ');
|
(void) putchar(' ');
|
||||||
|
#ifdef TTY_GRAPHICS
|
||||||
backsp();
|
backsp();
|
||||||
|
#endif
|
||||||
ct = 0;
|
ct = 0;
|
||||||
c = 'n';
|
c = 'n';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<AdditionalIncludeDirectories>$(WinWin32Dir);$(IncDir);$(SysWinntDir);$(SysShareDir);$(WinShareDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(WinWin32Dir);$(IncDir);$(SysWinntDir);$(SysShareDir);$(WinShareDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>TILES;_WINDOWS;DLB;MSWIN_GRAPHICS;WIN32CONNDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>TILES;_WINDOWS;DLB;MSWIN_GRAPHICS;NOTTYGRAPHICS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ResourceCompile>
|
<ResourceCompile>
|
||||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
|||||||
Reference in New Issue
Block a user