<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="DebugLogMini|Win32">
      <Configuration>DebugLogMini</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="DebugLog|Win32">
      <Configuration>DebugLog</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="ReleaseWin2000|Win32">
      <Configuration>ReleaseWin2000</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="src\blt.c" />
    <ClCompile Include="src\crc32.c" />
    <ClCompile Include="src\ddclipper.c" />
    <ClCompile Include="src\debug.c" />
    <ClCompile Include="src\detours\creatwth.cpp" />
    <ClCompile Include="src\detours\detours.cpp" />
    <ClCompile Include="src\detours\disasm.cpp" />
    <ClCompile Include="src\detours\disolarm.cpp" />
    <ClCompile Include="src\detours\disolarm64.cpp" />
    <ClCompile Include="src\detours\disolia64.cpp" />
    <ClCompile Include="src\detours\disolx64.cpp" />
    <ClCompile Include="src\detours\disolx86.cpp" />
    <ClCompile Include="src\detours\image.cpp" />
    <ClCompile Include="src\detours\modules.cpp" />
    <ClCompile Include="src\detours\uimports.cpp">
      <ExcludedFromBuild>true</ExcludedFromBuild>
    </ClCompile>
    <ClCompile Include="src\directinput.c" />
    <ClCompile Include="src\dllmain.c" />
    <ClCompile Include="src\fps_limiter.c" />
    <ClCompile Include="src\IDirect3D\IDirect3D.c" />
    <ClCompile Include="src\IDirect3D\IDirect3D2.c" />
    <ClCompile Include="src\IDirect3D\IDirect3D3.c" />
    <ClCompile Include="src\IDirect3D\IDirect3D7.c" />
    <ClCompile Include="src\IAMMediaStream\IAMMediaStream.c" />
    <ClCompile Include="src\IDirectDraw\IDirectDrawGammaControl.c" />
    <ClCompile Include="src\utils.c" />
    <ClCompile Include="src\hook.c" />
    <ClCompile Include="src\IDirectDraw\IDirectDraw.c" />
    <ClCompile Include="src\IDirectDraw\IDirectDrawClipper.c" />
    <ClCompile Include="src\IDirectDraw\IDirectDrawPalette.c" />
    <ClCompile Include="src\IDirectDraw\IDirectDrawSurface.c" />
    <ClCompile Include="src\lodepng.c" />
    <ClCompile Include="src\dd.c" />
    <ClCompile Include="src\mouse.c" />
    <ClCompile Include="src\opengl_utils.c" />
    <ClCompile Include="src\ddpalette.c" />
    <ClCompile Include="src\render_ogl.c" />
    <ClCompile Include="src\render_d3d9.c" />
    <ClCompile Include="src\render_gdi.c" />
    <ClCompile Include="src\screenshot.c" />
    <ClCompile Include="src\config.c" />
    <ClCompile Include="src\ddsurface.c" />
    <ClCompile Include="src\winapi_hooks.c" />
    <ClCompile Include="src\wndproc.c" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="inc\blt.h" />
    <ClInclude Include="inc\crc32.h" />
    <ClInclude Include="inc\d3d9shader.h" />
    <ClInclude Include="inc\ddclipper.h" />
    <ClInclude Include="inc\ddraw.h" />
    <ClInclude Include="inc\directinput.h" />
    <ClInclude Include="inc\dllmain.h" />
    <ClInclude Include="inc\fps_limiter.h" />
    <ClInclude Include="inc\glcorearb.h" />
    <ClInclude Include="inc\IDirect3D.h" />
    <ClInclude Include="inc\IAMMediaStream.h" />
    <ClInclude Include="inc\IDirectDrawGammaControl.h" />
    <ClInclude Include="inc\patch.h" />
    <ClInclude Include="inc\utils.h" />
    <ClInclude Include="inc\hook.h" />
    <ClInclude Include="inc\IDirectDraw.h" />
    <ClInclude Include="inc\IDirectDrawClipper.h" />
    <ClInclude Include="inc\IDirectDrawPalette.h" />
    <ClInclude Include="inc\IDirectDrawSurface.h" />
    <ClInclude Include="inc\KHR\khrplatform.h" />
    <ClInclude Include="inc\lodepng.h" />
    <ClInclude Include="inc\mouse.h" />
    <ClInclude Include="inc\render_d3d9.h" />
    <ClInclude Include="inc\debug.h" />
    <ClInclude Include="inc\dd.h" />
    <ClInclude Include="inc\opengl_utils.h" />
    <ClInclude Include="inc\ddpalette.h" />
    <ClInclude Include="inc\openglshader.h" />
    <ClInclude Include="inc\render_ogl.h" />
    <ClInclude Include="inc\render_gdi.h" />
    <ClInclude Include="inc\screenshot.h" />
    <ClInclude Include="inc\config.h" />
    <ClInclude Include="inc\ddsurface.h" />
    <ClInclude Include="inc\version.h" />
    <ClInclude Include="inc\wglext.h" />
    <ClInclude Include="inc\winapi_hooks.h" />
    <ClInclude Include="inc\wndproc.h" />
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="ddraw.rc" />
  </ItemGroup>
  <ItemGroup>
    <MASM Condition="'$(Configuration)|$(Platform)'=='ReleaseWin2000|Win32'" Include="src\win2000.asm" />
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <RootNamespace>cnc_ddraw</RootNamespace>
    <WindowsTargetPlatformVersion>7.0</WindowsTargetPlatformVersion>
    <ProjectGuid>{96094551-5D52-4EBD-BE4C-5291A03507FC}</ProjectGuid>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>v141_xp</PlatformToolset>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v141_xp</PlatformToolset>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWin2000|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v141_xp</PlatformToolset>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v141_xp</PlatformToolset>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLogMini|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <PlatformToolset>v141_xp</PlatformToolset>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
    <Import Condition="'$(Configuration)|$(Platform)'=='ReleaseWin2000|Win32'" Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
  </ImportGroup>
  <ImportGroup Label="Shared">
  </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>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWin2000|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugLogMini|Win32'" Label="PropertySheets">
    <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'">
    <OutDir>$(SolutionDir)bin\Debug\</OutDir>
    <IntDir>$(SolutionDir)bin\Debug\</IntDir>
    <LinkIncremental>true</LinkIncremental>
    <TargetName>ddraw</TargetName>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <OutDir>$(SolutionDir)bin\Release\</OutDir>
    <IntDir>$(SolutionDir)bin\Release\</IntDir>
    <LinkIncremental>false</LinkIncremental>
    <TargetName>ddraw</TargetName>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWin2000|Win32'">
    <OutDir>$(SolutionDir)bin\ReleaseWin2000\</OutDir>
    <IntDir>$(SolutionDir)bin\ReleaseWin2000\</IntDir>
    <LinkIncremental>false</LinkIncremental>
    <TargetName>ddraw</TargetName>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'">
    <OutDir>$(SolutionDir)bin\DebugLog\</OutDir>
    <IntDir>$(SolutionDir)bin\DebugLog\</IntDir>
    <LinkIncremental>false</LinkIncremental>
    <TargetName>ddraw</TargetName>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugLogMini|Win32'">
    <OutDir>$(SolutionDir)bin\DebugLogMini\</OutDir>
    <IntDir>$(SolutionDir)bin\DebugLogMini\</IntDir>
    <LinkIncremental>false</LinkIncremental>
    <TargetName>ddraw</TargetName>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <ClCompile>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <WarningLevel>Level2</WarningLevel>
      <Optimization>Disabled</Optimization>
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
      <AdditionalIncludeDirectories>inc;src\detours</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <AdditionalDependencies>dbghelp.lib;winmm.lib;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)</AdditionalDependencies>
      <ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
    </Link>
    <PostBuildEvent>
      <Command>
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"  (
    copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
)
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <WarningLevel>Level2</WarningLevel>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
      <AdditionalIncludeDirectories>inc;src\detours</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalDependencies>winmm.lib;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)</AdditionalDependencies>
      <ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
    </Link>
    <PostBuildEvent>
      <Command>
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"  (
    copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
)
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWin2000|Win32'">
    <ClCompile>
      <WarningLevel>Level2</WarningLevel>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
      <AdditionalIncludeDirectories>inc;src\detours</AdditionalIncludeDirectories>
      <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalDependencies>winmm.lib;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)</AdditionalDependencies>
      <ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
    </Link>
    <PostBuildEvent>
      <Command>
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"  (
    copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
)
</Command>
    </PostBuildEvent>
    <MASM>
      <AdditionalOptions>/safeseh %(AdditionalOptions)</AdditionalOptions>
    </MASM>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugLog|Win32'">
    <ClCompile>
      <WarningLevel>Level2</WarningLevel>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>_DEBUG;_DEBUG_X;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
      <AdditionalIncludeDirectories>inc;src\detours</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalDependencies>dbghelp.lib;winmm.lib;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)</AdditionalDependencies>
      <ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
    </Link>
    <PostBuildEvent>
      <Command>
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"  (
    copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
)
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugLogMini|Win32'">
    <ClCompile>
      <WarningLevel>Level2</WarningLevel>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
      <AdditionalIncludeDirectories>inc;src\detours</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalDependencies>dbghelp.lib;winmm.lib;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)</AdditionalDependencies>
      <ModuleDefinitionFile>ddraw.def</ModuleDefinitionFile>
    </Link>
    <PostBuildEvent>
      <Command>
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"  (
    copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
)
</Command>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
    <Import Condition="'$(Configuration)|$(Platform)'=='ReleaseWin2000|Win32'" Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
  </ImportGroup>
</Project>