Files @ r23500:c75b85278ae0
Branch filter:

Location: cpp/openttd-patchpack/source/projects/strgen_vs142.vcxproj - annotation

Peter Nelson
Fix #7400: Water class for tree tiles was not converted for old saves preventing industry creation.

As the information is always available from the tree ground type, unconditionally
update the map array for tree tiles.
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
r23211:be0c64e8b669
<?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="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectName>strgen</ProjectName>
    <ProjectGuid>{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}</ProjectGuid>
    <RootNamespace>strgen</RootNamespace>
    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseOfMfc>false</UseOfMfc>
    <CharacterSet>MultiByte</CharacterSet>
    <PlatformToolset>v142</PlatformToolset>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\strgen\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\objs\strgen\</IntDir>
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <Midl>
      <TypeLibraryName>.\Debug/strgen.tlb</TypeLibraryName>
      <HeaderFileName>
      </HeaderFileName>
    </Midl>
    <ClCompile>
      <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
      <Optimization>MinSpace</Optimization>
      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
      <PreprocessorDefinitions>STRGEN;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <BasicRuntimeChecks>Default</BasicRuntimeChecks>
      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
      <PrecompiledHeaderOutputFile>
      </PrecompiledHeaderOutputFile>
      <AssemblerOutput>All</AssemblerOutput>
      <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
      <ObjectFileName>$(IntDir)</ObjectFileName>
      <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
      <WarningLevel>Level3</WarningLevel>
      <TreatWarningAsError>true</TreatWarningAsError>
      <SuppressStartupBanner>true</SuppressStartupBanner>
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <Culture>0x041d</Culture>
    </ResourceCompile>
    <Link>
      <SuppressStartupBanner>true</SuppressStartupBanner>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <ProgramDatabaseFile>$(IntDir)strgen.pdb</ProgramDatabaseFile>
      <SubSystem>Console</SubSystem>
      <RandomizedBaseAddress>false</RandomizedBaseAddress>
      <DataExecutionPrevention>
      </DataExecutionPrevention>
      <TargetMachine>MachineX86</TargetMachine>
      <MinimumRequiredVersion>5.01</MinimumRequiredVersion>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="..\src\core\alloc_func.cpp" />
    <ClCompile Include="..\src\strgen\strgen_base.cpp" />
    <ClCompile Include="..\src\strgen\strgen.cpp" />
    <ClCompile Include="..\src\string.cpp" />
    <ClCompile Include="..\src\misc\getoptdata.cpp" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\src\core\alloc_func.hpp" />
    <ClInclude Include="..\src\table\control_codes.h" />
    <ClInclude Include="..\src\debug.h" />
    <ClInclude Include="..\src\core\endian_func.hpp" />
    <ClInclude Include="..\src\stdafx.h" />
    <ClInclude Include="..\src\string_func.h" />
    <ClInclude Include="..\src\misc\getoptdata.h" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>