mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
* More unused stuff removal
delete:
- giant 'metaheaders' (JA2 All.h, Laptop All.h, etc), preferring to add #includes directly where needed
- unused ExceptionHandling and DbMan translation units
- unused WizShare.h, Bitmap.h, trle.h, video_private.h headers
* remove mentions from vc proj files too
* remove preprocessor conditionals for unused definitions
find . -iname '*.h' -o -iname '*.cpp' -exec unifdef.exe -m -UPRECOMPILED_HEADERS -UJA2_PRECOMPILED_HEADERS -UWIZ8_PRECOMPILED_HEADERS -UPRECOMPILEDHEADERS {} ';'
then manually fixed a couple files the tool errored out on
* yes, the comments too
as title
314 lines
15 KiB
XML
314 lines
15 KiB
XML
<?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="MapEditorD|Win32">
|
|
<Configuration>MapEditorD</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="MapEditor|Win32">
|
|
<Configuration>MapEditor</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Relese_WithDebugInfo|Win32">
|
|
<Configuration>Relese_WithDebugInfo</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="ASD.h" />
|
|
<ClInclude Include="Assignments.h" />
|
|
<ClInclude Include="Auto Resolve.h" />
|
|
<ClInclude Include="Campaign Init.h" />
|
|
<ClInclude Include="Campaign Types.h" />
|
|
<ClInclude Include="Creature Spreading.h" />
|
|
<ClInclude Include="Facilities.h" />
|
|
<ClInclude Include="Game Clock.h" />
|
|
<ClInclude Include="Game Event Hook.h" />
|
|
<ClInclude Include="Game Events.h" />
|
|
<ClInclude Include="Game Init.h" />
|
|
<ClInclude Include="Ja25 Strategic Ai.h" />
|
|
<ClInclude Include="Luaglobal.h" />
|
|
<ClInclude Include="LuaInitNPCs.h" />
|
|
<ClInclude Include="Map Screen Helicopter.h" />
|
|
<ClInclude Include="Map Screen Interface Border.h" />
|
|
<ClInclude Include="Map Screen Interface Bottom.h" />
|
|
<ClInclude Include="Map Screen Interface Map Inventory.h" />
|
|
<ClInclude Include="Map Screen Interface Map.h" />
|
|
<ClInclude Include="Map Screen Interface TownMine Info.h" />
|
|
<ClInclude Include="Map Screen Interface.h" />
|
|
<ClInclude Include="MapScreen Quotes.h" />
|
|
<ClInclude Include="mapscreen.h" />
|
|
<ClInclude Include="Meanwhile.h" />
|
|
<ClInclude Include="Merc Contract.h" />
|
|
<ClInclude Include="MiniEvents.h" />
|
|
<ClInclude Include="MilitiaSquads.h" />
|
|
<ClInclude Include="MilitiaIndividual.h" />
|
|
<ClInclude Include="Player Command.h" />
|
|
<ClInclude Include="PreBattle Interface.h" />
|
|
<ClInclude Include="Queen Command.h" />
|
|
<ClInclude Include="Quest Debug System.h" />
|
|
<ClInclude Include="Quests.h" />
|
|
<ClInclude Include="QuestText.h" />
|
|
<ClInclude Include="Rebel Command.h" />
|
|
<ClInclude Include="Reinforcement.h" />
|
|
<ClInclude Include="Scheduling.h" />
|
|
<ClInclude Include="Strategic AI.h" />
|
|
<ClInclude Include="Strategic Event Handler.h" />
|
|
<ClInclude Include="Strategic Merc Handler.h" />
|
|
<ClInclude Include="Strategic Mines LUA.h" />
|
|
<ClInclude Include="Strategic Mines.h" />
|
|
<ClInclude Include="Strategic Movement.h" />
|
|
<ClInclude Include="Strategic Pathing.h" />
|
|
<ClInclude Include="Strategic Status.h" />
|
|
<ClInclude Include="Strategic Town Loyalty.h" />
|
|
<ClInclude Include="strategic town reputation.h" />
|
|
<ClInclude Include="Strategic Turns.h" />
|
|
<ClInclude Include="strategic.h" />
|
|
<ClInclude Include="strategicmap.h" />
|
|
<ClInclude Include="Town Militia.h" />
|
|
<ClInclude Include="UndergroundInit.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="AI Viewer.cpp" />
|
|
<ClCompile Include="ASD.cpp" />
|
|
<ClCompile Include="Assignments.cpp" />
|
|
<ClCompile Include="Auto Resolve.cpp" />
|
|
<ClCompile Include="Campaign Init.cpp" />
|
|
<ClCompile Include="Creature Spreading.cpp" />
|
|
<ClCompile Include="Facilities.cpp" />
|
|
<ClCompile Include="Game Clock.cpp" />
|
|
<ClCompile Include="Game Event Hook.cpp" />
|
|
<ClCompile Include="Game Events.cpp" />
|
|
<ClCompile Include="Game Init.cpp" />
|
|
<ClCompile Include="Hourly Update.cpp" />
|
|
<ClCompile Include="Ja25 Strategic Ai.cpp" />
|
|
<ClCompile Include="Luaglobal.cpp" />
|
|
<ClCompile Include="LuaInitNPCs.cpp" />
|
|
<ClCompile Include="Map Screen Helicopter.cpp" />
|
|
<ClCompile Include="Map Screen Interface Border.cpp" />
|
|
<ClCompile Include="Map Screen Interface Bottom.cpp" />
|
|
<ClCompile Include="Map Screen Interface Map Inventory.cpp" />
|
|
<ClCompile Include="Map Screen Interface Map.cpp" />
|
|
<ClCompile Include="Map Screen Interface TownMine Info.cpp" />
|
|
<ClCompile Include="Map Screen Interface.cpp" />
|
|
<ClCompile Include="MapScreen Quotes.cpp" />
|
|
<ClCompile Include="mapscreen.cpp" />
|
|
<ClCompile Include="Meanwhile.cpp" />
|
|
<ClCompile Include="Merc Contract.cpp" />
|
|
<ClCompile Include="MiniEvents.cpp" />
|
|
<ClCompile Include="MilitiaSquads.cpp" />
|
|
<ClCompile Include="MilitiaIndividual.cpp" />
|
|
<ClCompile Include="Player Command.cpp" />
|
|
<ClCompile Include="PreBattle Interface.cpp" />
|
|
<ClCompile Include="Queen Command.cpp" />
|
|
<ClCompile Include="Quest Debug System.cpp" />
|
|
<ClCompile Include="Quests.cpp" />
|
|
<ClCompile Include="Rebel Command.cpp" />
|
|
<ClCompile Include="Reinforcement.cpp" />
|
|
<ClCompile Include="Scheduling.cpp" />
|
|
<ClCompile Include="Strategic AI.cpp" />
|
|
<ClCompile Include="Strategic Event Handler.cpp" />
|
|
<ClCompile Include="Strategic Merc Handler.cpp" />
|
|
<ClCompile Include="Strategic Mines LUA.cpp" />
|
|
<ClCompile Include="Strategic Mines.cpp" />
|
|
<ClCompile Include="Strategic Movement Costs.cpp" />
|
|
<ClCompile Include="Strategic Movement.cpp" />
|
|
<ClCompile Include="Strategic Pathing.cpp" />
|
|
<ClCompile Include="Strategic Status.cpp" />
|
|
<ClCompile Include="Strategic Town Loyalty.cpp" />
|
|
<ClCompile Include="strategic town reputation.cpp" />
|
|
<ClCompile Include="Strategic Turns.cpp" />
|
|
<ClCompile Include="strategic.cpp" />
|
|
<ClCompile Include="strategicmap.cpp" />
|
|
<ClCompile Include="Town Militia.cpp" />
|
|
<ClCompile Include="UndergroundInit.cpp" />
|
|
<ClCompile Include="XML_Army.cpp" />
|
|
<ClCompile Include="XML_Bloodcats.cpp" />
|
|
<ClCompile Include="XML_CoolnessBySector.cpp" />
|
|
<ClCompile Include="XML_Creatures.cpp" />
|
|
<ClCompile Include="XML_ExtraItems.cpp" />
|
|
<ClCompile Include="XML_Facilities.cpp" />
|
|
<ClCompile Include="XML_FacilityTypes.cpp" />
|
|
<ClCompile Include="XML_Minerals.cpp" />
|
|
<ClCompile Include="XML_SectorNames.cpp" />
|
|
<ClCompile Include="XML_SquadNames.cpp" />
|
|
<ClCompile Include="XML_UniformColors.cpp" />
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{DE9B77CC-7CD5-4951-9B7F-BAC7B4A8169C}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<RootNamespace>Strategic</RootNamespace>
|
|
<ProjectName>Strategic</ProjectName>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MapEditorD|Win32'" Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MapEditor|Win32'" Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Relese_WithDebugInfo|Win32'" Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
</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" />
|
|
<Import Project="..\ja2.props" />
|
|
<Import Project="..\ja2_Debug.props" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='MapEditorD|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="..\ja2.props" />
|
|
<Import Project="..\ja2_Debug.props" />
|
|
<Import Project="..\ja2_Editor.props" />
|
|
</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" />
|
|
<Import Project="..\ja2.props" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='MapEditor|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="..\ja2.props" />
|
|
<Import Project="..\ja2_Editor.props" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Relese_WithDebugInfo|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="..\ja2.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MapEditorD|Win32'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MapEditor|Win32'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Relese_WithDebugInfo|Win32'" />
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='MapEditorD|Win32'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='MapEditor|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Relese_WithDebugInfo|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<Optimization>Disabled</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |