瀏覽代碼

Update the VS 2010 solution and projects to build both games.

legacy
Sam Hocevar sam 14 年之前
父節點
當前提交
c456feac9b
共有 4 個文件被更改,包括 195 次插入54 次删除
  1. +0
    -20
      win32/deushax.sln
  2. +30
    -34
      win32/deushax.vcxproj
  3. +26
    -0
      win32/lolengine.sln
  4. +139
    -0
      win32/monsterz.vcxproj

+ 0
- 20
win32/deushax.sln 查看文件

@@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-map", "test-map.vcxproj", "{D77D4446-2556-44AA-A3B5-AC236CA02901}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D77D4446-2556-44AA-A3B5-AC236CA02901}.Debug|Win32.ActiveCfg = Debug|Win32
{D77D4446-2556-44AA-A3B5-AC236CA02901}.Debug|Win32.Build.0 = Debug|Win32
{D77D4446-2556-44AA-A3B5-AC236CA02901}.Release|Win32.ActiveCfg = Release|Win32
{D77D4446-2556-44AA-A3B5-AC236CA02901}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

win32/test-map.vcxproj → win32/deushax.vcxproj 查看文件

@@ -11,50 +11,21 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\debugboard.cpp" />
<ClCompile Include="..\src\debugfps.cpp" />
<ClCompile Include="..\src\debugrecord.cpp" />
<ClCompile Include="..\src\debugsphere.cpp" />
<ClCompile Include="..\src\debugsprite.cpp" />
<ClCompile Include="..\src\debugstats.cpp" />
<ClCompile Include="..\src\dict.cpp" />
<ClCompile Include="..\src\entity.cpp" />
<ClCompile Include="..\src\font.cpp" />
<ClCompile Include="..\src\forge.cpp" />
<ClCompile Include="..\src\game.cpp" />
<ClCompile Include="..\src\input.cpp" />
<ClCompile Include="..\src\layer.cpp" />
<ClCompile Include="..\src\map.cpp" />
<ClCompile Include="..\src\mapviewer.cpp" />
<ClCompile Include="..\src\profiler.cpp" />
<ClCompile Include="..\src\scene.cpp" />
<ClCompile Include="..\src\sdlinput.cpp" />
<ClCompile Include="..\src\test-map.cpp" />
<ClCompile Include="..\src\ticker.cpp" />
<ClCompile Include="..\src\tiler.cpp" />
<ClCompile Include="..\src\tileset.cpp" />
<ClCompile Include="..\src\timer.cpp" />
<ClCompile Include="..\src\video.cpp" />
<ClCompile Include="..\src\world.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\deushax\debugsprite.h" />
<ClInclude Include="..\deushax\game.h" />
<ClInclude Include="..\src\bitfield.h" />
<ClInclude Include="..\src\core.h" />
<ClInclude Include="..\src\debugboard.h" />
<ClInclude Include="..\src\debugfps.h" />
<ClInclude Include="..\src\debugrecord.h" />
<ClInclude Include="..\src\debugsphere.h" />
<ClInclude Include="..\src\debugsprite.h" />
<ClInclude Include="..\src\debugstats.h" />
<ClInclude Include="..\src\dict.h" />
<ClInclude Include="..\src\entity.h" />
<ClInclude Include="..\src\font.h" />
<ClInclude Include="..\src\forge.h" />
<ClInclude Include="..\src\game.h" />
<ClInclude Include="..\src\input.h" />
<ClInclude Include="..\src\layer.h" />
<ClInclude Include="..\src\map.h" />
<ClInclude Include="..\src\mapviewer.h" />
<ClInclude Include="..\src\matrix.h" />
<ClInclude Include="..\src\profiler.h" />
<ClInclude Include="..\src\scene.h" />
@@ -66,8 +37,33 @@
<ClInclude Include="..\src\video.h" />
<ClInclude Include="..\src\world.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\deushax\debugsprite.cpp" />
<ClCompile Include="..\deushax\deushax.cpp" />
<ClCompile Include="..\deushax\game.cpp" />
<ClCompile Include="..\src\debugfps.cpp" />
<ClCompile Include="..\src\debugrecord.cpp" />
<ClCompile Include="..\src\debugsphere.cpp" />
<ClCompile Include="..\src\debugstats.cpp" />
<ClCompile Include="..\src\dict.cpp" />
<ClCompile Include="..\src\entity.cpp" />
<ClCompile Include="..\src\font.cpp" />
<ClCompile Include="..\src\forge.cpp" />
<ClCompile Include="..\src\input.cpp" />
<ClCompile Include="..\src\layer.cpp" />
<ClCompile Include="..\src\map.cpp" />
<ClCompile Include="..\src\profiler.cpp" />
<ClCompile Include="..\src\scene.cpp" />
<ClCompile Include="..\src\sdlinput.cpp" />
<ClCompile Include="..\src\ticker.cpp" />
<ClCompile Include="..\src\tiler.cpp" />
<ClCompile Include="..\src\tileset.cpp" />
<ClCompile Include="..\src\timer.cpp" />
<ClCompile Include="..\src\video.cpp" />
<ClCompile Include="..\src\world.cpp" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D77D4446-2556-44AA-A3B5-AC236CA02901}</ProjectGuid>
<ProjectGuid>{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>testmap</RootNamespace>
</PropertyGroup>
@@ -108,7 +104,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\include;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>C:\Users\s.hocevar\Desktop\deushax\src;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\include;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -126,7 +122,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\include;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>C:\Users\s.hocevar\Desktop\deushax\src;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\include;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>

+ 26
- 0
win32/lolengine.sln 查看文件

@@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "deushax", "deushax.vcxproj", "{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "monsterz", "monsterz.vcxproj", "{17F0F184-4436-4D08-B8AA-16572EA238DB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}.Debug|Win32.ActiveCfg = Debug|Win32
{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}.Debug|Win32.Build.0 = Debug|Win32
{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}.Release|Win32.ActiveCfg = Release|Win32
{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}.Release|Win32.Build.0 = Release|Win32
{17F0F184-4436-4D08-B8AA-16572EA238DB}.Debug|Win32.ActiveCfg = Debug|Win32
{17F0F184-4436-4D08-B8AA-16572EA238DB}.Debug|Win32.Build.0 = Debug|Win32
{17F0F184-4436-4D08-B8AA-16572EA238DB}.Release|Win32.ActiveCfg = Release|Win32
{17F0F184-4436-4D08-B8AA-16572EA238DB}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

+ 139
- 0
win32/monsterz.vcxproj 查看文件

@@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.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="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\monsterz\board.h" />
<ClInclude Include="..\monsterz\game.h" />
<ClInclude Include="..\src\bitfield.h" />
<ClInclude Include="..\src\core.h" />
<ClInclude Include="..\src\debugfps.h" />
<ClInclude Include="..\src\debugrecord.h" />
<ClInclude Include="..\src\debugsphere.h" />
<ClInclude Include="..\src\debugstats.h" />
<ClInclude Include="..\src\dict.h" />
<ClInclude Include="..\src\entity.h" />
<ClInclude Include="..\src\font.h" />
<ClInclude Include="..\src\forge.h" />
<ClInclude Include="..\src\input.h" />
<ClInclude Include="..\src\layer.h" />
<ClInclude Include="..\src\map.h" />
<ClInclude Include="..\src\matrix.h" />
<ClInclude Include="..\src\profiler.h" />
<ClInclude Include="..\src\scene.h" />
<ClInclude Include="..\src\sdlinput.h" />
<ClInclude Include="..\src\ticker.h" />
<ClInclude Include="..\src\tiler.h" />
<ClInclude Include="..\src\tileset.h" />
<ClInclude Include="..\src\timer.h" />
<ClInclude Include="..\src\video.h" />
<ClInclude Include="..\src\world.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\monsterz\board.cpp" />
<ClCompile Include="..\monsterz\game.cpp" />
<ClCompile Include="..\monsterz\monsterz.cpp" />
<ClCompile Include="..\src\debugfps.cpp" />
<ClCompile Include="..\src\debugrecord.cpp" />
<ClCompile Include="..\src\debugsphere.cpp" />
<ClCompile Include="..\src\debugstats.cpp" />
<ClCompile Include="..\src\dict.cpp" />
<ClCompile Include="..\src\entity.cpp" />
<ClCompile Include="..\src\font.cpp" />
<ClCompile Include="..\src\forge.cpp" />
<ClCompile Include="..\src\input.cpp" />
<ClCompile Include="..\src\layer.cpp" />
<ClCompile Include="..\src\map.cpp" />
<ClCompile Include="..\src\profiler.cpp" />
<ClCompile Include="..\src\scene.cpp" />
<ClCompile Include="..\src\sdlinput.cpp" />
<ClCompile Include="..\src\ticker.cpp" />
<ClCompile Include="..\src\tiler.cpp" />
<ClCompile Include="..\src\tileset.cpp" />
<ClCompile Include="..\src\timer.cpp" />
<ClCompile Include="..\src\video.cpp" />
<ClCompile Include="..\src\world.cpp" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{17f0f184-4436-4d08-b8aa-16572ea238db}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>testmap</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
</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 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>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\s.hocevar\Desktop\deushax\src;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\include;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<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;%(AdditionalDependencies);SDL.lib;SDLmain.lib;SDL_image.lib;opengl32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\lib;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\s.hocevar\Desktop\deushax\src;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\include;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</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;%(AdditionalDependencies);SDL.lib;SDLmain.lib;SDL_image.lib;opengl32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\Users\s.hocevar\Desktop\deushax\contrib\SDL_image-1.2.10\lib;C:\Users\s.hocevar\Desktop\deushax\contrib\SDL-1.2.14\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

Loading…
取消
儲存