Get the game to compile, at least

- Scenario and PC editors still don't link
- Copy files stage set up in the Common project
- Scenario and PC editors now placed in Scenario Editor subfolder in the output directory
- Disabled some totally useless warnings
- "About" menuitem now considered to belong to "Help" menu (even on Mac code) as far as the handlers are concerned
- Dialog string filter is now a function instead of a custom iterator
- Modal session now requires parent window as additional parameter
- Preferences and menus work! Cursors still need some work.
- Since Visual Studio has no way of showing program output that I can find, stdout and stderr are now redirected to a file.
This commit is contained in:
2014-12-30 17:20:22 -05:00
parent c0642fe993
commit 0b330432b4
39 changed files with 990 additions and 141 deletions

View File

@@ -11,6 +11,7 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\classes.h" />
<ClInclude Include="..\..\classes\creatlist.h" />
<ClInclude Include="..\..\classes\item.h" />
<ClInclude Include="..\..\classes\location.h" />
@@ -45,6 +46,7 @@
<ClInclude Include="..\..\dialogxml\xml-parser\ticpprc.h" />
<ClInclude Include="..\..\dialogxml\xml-parser\tinystr.h" />
<ClInclude Include="..\..\dialogxml\xml-parser\tinyxml.h" />
<ClInclude Include="..\..\oldstructs.h" />
<ClInclude Include="..\..\tools\cursors.h" />
<ClInclude Include="..\..\tools\fileio.h" />
<ClInclude Include="..\..\tools\graphtool.h" />
@@ -96,16 +98,19 @@
<ClCompile Include="..\..\dialogxml\xml-parser\tinyxml.cpp" />
<ClCompile Include="..\..\dialogxml\xml-parser\tinyxmlerror.cpp" />
<ClCompile Include="..\..\dialogxml\xml-parser\tinyxmlparser.cpp" />
<ClCompile Include="..\..\tools\cursors.win.cpp" />
<ClCompile Include="..\..\tools\fileio.cpp" />
<ClCompile Include="..\..\tools\graphtool.cpp" />
<ClCompile Include="..\..\tools\gzstream\gzstream.cpp" />
<ClCompile Include="..\..\tools\map_parse.cpp" />
<ClCompile Include="..\..\tools\mathutil.cpp" />
<ClCompile Include="..\..\tools\porting.cpp" />
<ClCompile Include="..\..\tools\prefs.win.cpp" />
<ClCompile Include="..\..\tools\soundtool.cpp" />
<ClCompile Include="..\..\tools\specials_parse.cpp" />
<ClCompile Include="..\..\tools\tarball.cpp" />
<ClCompile Include="..\..\tools\undo.cpp" />
<ClCompile Include="..\..\tools\winutil.win.cpp" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1347FE79-73BD-4176-9280-0FE39E3534E2}</ProjectGuid>
@@ -146,6 +151,7 @@
<AdditionalIncludeDirectories>..\..\tools\resmgr;..\..\tools\gzstream;..\..\tools;..\..\dialogxml\xml-parser;..\..\dialogxml;..\..\classes;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableLanguageExtensions>false</DisableLanguageExtensions>
<AdditionalOptions>/FS %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>4800;4290</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -153,6 +159,10 @@
<AdditionalDependencies>opengl32.lib;sfml-system.lib;sfml-window.lib;sfml-graphics.lib;sfml-audio.lib;zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<NoEntryPoint>false</NoEntryPoint>
</Link>
<PostBuildEvent>
<Command>call $(ProjectDir)CopyFiles.bat $(SolutionDir)$(Configuration)</Command>
<Message>Copy resource files</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>