<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" 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>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{4A7C7DFD-1383-4C1A-926C-B70F654429A9}</ProjectGuid>
    <RootNamespace>RPL4TOOL</RootNamespace>
    <Keyword>Win32Proj</Keyword>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <PlatformToolset>v143</PlatformToolset>
    <CharacterSet>Unicode</CharacterSet>
    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
    <UseDebugLibraries>true</UseDebugLibraries>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <PropertyGroup>
    <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
    <!-- Keep a distinct IntDir from RP_L4.vcxproj (both live in this folder);
         the $(Configuration)-prefixed name stays inside .gitignore's Release*/ rule. -->
    <IntDir>$(Configuration)_RPL4TOOL\</IntDir>
    <TargetName>RPL4TOOL</TargetName>
    <!-- Legacy DirectX SDK (June 2010) after the Windows SDK so modern headers/libs win. -->
    <IncludePath>$(IncludePath);$(DXSDK_DIR)Include</IncludePath>
    <LibraryPath>$(LibraryPath);$(DXSDK_DIR)Lib\x86</LibraryPath>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Debug'">
    <LinkIncremental>true</LinkIncremental>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Release'">
    <LinkIncremental>false</LinkIncremental>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <WarningLevel>Level3</WarningLevel>
      <ConformanceMode>false</ConformanceMode>
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
      <!-- NOTE: the original RPL4TOOL project did NOT use /Zp1 - kept faithful. -->
      <PreprocessorDefinitions>WIN32;_CONSOLE;WINDOWS_IGNORE_PACKING_MISMATCH;_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <DisableSpecificWarnings>4996;4244;4267;4305;4018;4138;%(DisableSpecificWarnings)</DisableSpecificWarnings>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <TargetMachine>MachineX86</TargetMachine>
      <AdditionalOptions>/FORCE:MULTIPLE %(AdditionalOptions)</AdditionalOptions>
      <AdditionalLibraryDirectories>..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <!-- OpenAL32/d3d9/d3dx9 were historically merged into Munga_L4.lib by the
           librarian; the vcxproj build links them here instead. -->
      <AdditionalDependencies>ws2_32.lib;dinput8.lib;dxguid.lib;OpenAL32.lib;libsndfile-1.lib;d3d9.lib;legacy_stdio_definitions.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <GenerateDebugInformation>true</GenerateDebugInformation>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <Link>
      <AdditionalDependencies>d3dx9d.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
    <ClCompile>
      <Optimization>MaxSpeed</Optimization>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <Link>
      <AdditionalDependencies>d3dx9.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ProjectReference Include="..\MUNGA_L4\Munga_L4.vcxproj">
      <Project>{F988B198-A386-40DD-A50E-9A5CE17A92A5}</Project>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\RP\BLOCKER.cpp" />
    <ClCompile Include="..\RP\BOOSTER.cpp" />
    <ClCompile Include="..\RP\CHUTE.cpp" />
    <ClCompile Include="..\RP\CRUSHER.cpp" />
    <ClCompile Include="..\RP\DEMOPACK.cpp" />
    <ClCompile Include="..\RP\RIVET.cpp" />
    <ClCompile Include="..\RP\RPCNSL.cpp" />
    <ClCompile Include="..\RP\RPDIRECT.cpp" />
    <ClCompile Include=".\RPL4MODE.cpp" />
    <ClCompile Include=".\RPL4TOOL.cpp" />
    <ClCompile Include="..\RP\RPMSSN.cpp" />
    <ClCompile Include="..\RP\RPPLAYER.cpp" />
    <ClCompile Include="..\RP\RPREG.cpp" />
    <ClCompile Include="..\RP\RPTOOL.cpp" />
    <ClCompile Include="..\RP\RUNNER.cpp" />
    <ClCompile Include="..\RP\SCORZONE.cpp" />
    <ClCompile Include="..\RP\THRUSTER.cpp" />
    <ClCompile Include="..\RP\VTV.cpp" />
    <ClCompile Include="..\RP\VTVMPPR.cpp" />
    <ClCompile Include="..\RP\VTVPWR.cpp" />
    <ClCompile Include="..\RP\VTVSUB.cpp" />
    <ClCompile Include="..\RP\WEAPSYS.cpp" />
    <ClCompile Include=".\WTPresets.cpp" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\RP\RPTOOL.h" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>

