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

@@ -53,14 +53,18 @@
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;TIXML_USE_TICPP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderFile />
<PrecompiledHeaderOutputFile />
<AdditionalIncludeDirectories>..\..\tools\resmgr;..\..\tools\gzstream;..\..\tools;..\..\dialogxml\xml-parser;..\..\dialogxml;..\..\classes;..\..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\tools\resmgr;..\..\tools\gzstream;..\..\tools;..\..\dialogxml\xml-parser;..\..\dialogxml;..\..\classes;..\..;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4800;4290</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>opengl32.lib;sfml-system.lib;sfml-window.lib;sfml-graphics.lib;sfml-audio.lib;zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>opengl32.lib;sfml-system-d.lib;sfml-window-d.lib;sfml-graphics-d.lib;sfml-audio-d.lib;zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
@@ -124,6 +128,7 @@
<ClCompile Include="..\..\boe.items.cpp" />
<ClCompile Include="..\..\boe.locutils.cpp" />
<ClCompile Include="..\..\boe.main.cpp" />
<ClCompile Include="..\..\boe.menus.win.cpp" />
<ClCompile Include="..\..\boe.monster.cpp" />
<ClCompile Include="..\..\boe.newgraph.cpp" />
<ClCompile Include="..\..\boe.party.cpp" />

View File

@@ -159,5 +159,8 @@
<ClCompile Include="..\..\pcedit\pc.editors.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\boe.menus.win.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -2,30 +2,51 @@
// Microsoft Visual C++ generated include file.
// Used by Blades of Exile.rc
//
#define IDI_BLADESOFEXILE 107
#define IDC_BLADESOFEXILE 109
#define IDM_FILE_OPEN 110
#define IDM_FILE_SAVE 111
#define IDM_FILE_SAVE_AS 112
#define IDM_FILE_NEW 113
#define IDM_FILE_PREFS 114
#define IDM_FILE_QUIT 115
#define IDM_OPTIONS_GRAPHIC 116
#define IDM_OPTIONS_NAME 117
#define IDM_OPTIONS_NEW 118
#define IDM_OPTIONS_DELETE 119
#define IDM_OPTIONS_TALKING 120
#define IDM_OPTIONS_ENCOUNTER 121
#define IDM_OPTIONS_STATS 122
#define IDM_ACTIONS_ALCHEMY 123
#define IDM_ACTIONS_WAIT 124
#define IDM_ACTIONS_MAP 125
#define IDM_MONSTERS_ABOUT 126
#define IDM_MAGE_ABOUT 127
#define IDM_PRIEST_ABOUT 128
#define IDM_FILE_ABORT 129
#define IDM_LIBRARY_MAGE 130
#define IDM_LIBRARY_PRIEST 131
#define IDM_LIBRARY_SKILLS 132
#define IDM_LIBRARY_ALCHEMY 133
#define IDM_LIBRARY_TIPS 134
#define IDM_LIBRARY_INTRO 135
#define IDM_HELP_INDEX 136
#define IDM_HELP_OUTDOOR 137
#define IDM_HELP_COMBAT 138
#define IDM_HELP_BARRIER 139
#define IDM_HELP_HINTS 140
#define IDM_HELP_SPELLS 141
#define IDM_HELP_ABOUT 142
#define IDM_HELP_TOWN 143
#define IDS_APP_TITLE 103
#define IDR_MAINFRAME 128
#define IDD_BLADESOFEXILE_DIALOG 102
#define IDD_ABOUTBOX 103
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDI_BLADESOFEXILE 107
#define IDI_SMALL 108
#define IDC_BLADESOFEXILE 109
#define IDC_MYICON 2
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
// Next default values for new objects
//
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 130
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 110
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_COMMAND_VALUE 32774
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 145
#endif
#endif