add debugger window support via _RPT*; add regex
currently it's locked behind _MSC_VER, but anything that runs on Win32 should be able to use those functions as long as it has something that can pass as a debug window. also, add a non-wildcard-accepting version of showdebug for the dumpit() functions in dungeon.c and questpgr.c; this makes DEBUGFILES=* workable without being excruciatingly painful
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
<PreprocessorDefinitions>NDEBUG;WIN32;WIN32CON;DLB;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<PrecompiledHeaderOutputFile>.\Debug/NetHack.pch</PrecompiledHeaderOutputFile>
|
||||
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||
@@ -261,7 +261,7 @@
|
||||
<PreprocessorDefinitions>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>MultiThreaded</RuntimeLibrary>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<PrecompiledHeaderOutputFile>.\Debug/NetHack.pch</PrecompiledHeaderOutputFile>
|
||||
<AssemblerListingLocation>.\$(ConfigurationName)\$(ProjectName)\</AssemblerListingLocation>
|
||||
@@ -410,6 +410,7 @@
|
||||
<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" />
|
||||
@@ -418,7 +419,6 @@
|
||||
<ClCompile Include="..\sys\winnt\ntsound.c" />
|
||||
<ClCompile Include="..\sys\winnt\nttty.c" />
|
||||
<ClCompile Include="..\sys\winnt\winnt.c" />
|
||||
<ClCompile Include="..\sys\share\cppregex.cpp" />
|
||||
<ClCompile Include="..\win\tty\getline.c" />
|
||||
<ClCompile Include="..\win\tty\topl.c" />
|
||||
<ClCompile Include="..\win\tty\wintty.c" />
|
||||
|
||||
@@ -650,6 +650,7 @@ copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\sys\share\cppregex.cpp" />
|
||||
<ClCompile Include="..\win\tty\getline.c">
|
||||
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
|
||||
Reference in New Issue
Block a user