mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
617e1f962e
* lib/ERMScriptModule.cpp * lib/ERMScriptModule.h * lib/CObstacleInstance.h More jugglery with callbacks. Moving stuff from CGameState to CGameInfoCallback. Work on unified game events interface for player (AI or GUI) and script module. Directing events to ERM interpretetr, first attempts of calling some triggers. Crashy, if there any scripts. Some other changes, including fighting amount of includes in includes and tracking of hero visits (need further work).
235 lines
12 KiB
XML
235 lines
12 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="RD|Win32">
|
|
<Configuration>RD</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{B952FFC5-3039-4DE1-9F08-90ACDA483D8F}</ProjectGuid>
|
|
<RootNamespace>VCMI_lib</RootNamespace>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RD|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='RD|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)'=='Release|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)'=='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>
|
|
<_ProjectFileVersion>10.0.30128.1</_ProjectFileVersion>
|
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)</OutDir>
|
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
|
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
|
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
|
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">$(SolutionDir)$(Configuration)\bin\</OutDir>
|
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">$(Configuration)\</IntDir>
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='RD|Win32'" />
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='RD|Win32'" />
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
<IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IncludePath)</IncludePath>
|
|
<IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IncludePath)</IncludePath>
|
|
<IncludePath Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">$(IncludePath)</IncludePath>
|
|
<LibraryPath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(LibraryPath)</LibraryPath>
|
|
<LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(LibraryPath)</LibraryPath>
|
|
<LibraryPath Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">$(LibraryPath)</LibraryPath>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<AdditionalOptions>/MP4 %(AdditionalOptions) /bigobj
|
|
</AdditionalOptions>
|
|
<Optimization>Disabled</Optimization>
|
|
<AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<WarningLevel>Level1</WarningLevel>
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
<DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
<ExpandAttributedSource>false</ExpandAttributedSource>
|
|
<AssemblerOutput>NoListing</AssemblerOutput>
|
|
<PreprocessToFile>false</PreprocessToFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>SDL.lib;zdll.lib;SDL_image.lib;SDL_ttf.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>../../libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<Optimization>Full</Optimization>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
<OmitFramePointers>true</OmitFramePointers>
|
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<StringPooling>true</StringPooling>
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<FunctionLevelLinking>false</FunctionLevelLinking>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<AdditionalOptions> /bigobj
|
|
</AdditionalOptions>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>zdll.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<Version>
|
|
</Version>
|
|
<AdditionalLibraryDirectories>../../libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<LinkTimeCodeGeneration>
|
|
</LinkTimeCodeGeneration>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">
|
|
<ClCompile>
|
|
<AdditionalOptions>/Oy- %(AdditionalOptions) /bigobj
|
|
</AdditionalOptions>
|
|
<Optimization>Full</Optimization>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
<OmitFramePointers>false</OmitFramePointers>
|
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<StringPooling>true</StringPooling>
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<FunctionLevelLinking>false</FunctionLevelLinking>
|
|
<AssemblerOutput>All</AssemblerOutput>
|
|
<AssemblerListingLocation>$(SolutionDir)$(Configuration)\</AssemblerListingLocation>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>zdll.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<Version>
|
|
</Version>
|
|
<AdditionalLibraryDirectories>../../libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<GenerateMapFile>true</GenerateMapFile>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<LinkTimeCodeGeneration>
|
|
</LinkTimeCodeGeneration>
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
<Profile>true</Profile>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\CConsoleHandler.cpp" />
|
|
<ClCompile Include="..\CThreadHelper.cpp" />
|
|
<ClCompile Include="BattleAction.cpp" />
|
|
<ClCompile Include="BattleState.cpp" />
|
|
<ClCompile Include="CArtHandler.cpp" />
|
|
<ClCompile Include="CBuildingHandler.cpp" />
|
|
<ClCompile Include="CCampaignHandler.cpp" />
|
|
<ClCompile Include="CCreatureHandler.cpp" />
|
|
<ClCompile Include="CCreatureSet.cpp" />
|
|
<ClCompile Include="CDefObjInfoHandler.cpp" />
|
|
<ClCompile Include="CGameState.cpp" />
|
|
<ClCompile Include="CGeneralTextHandler.cpp" />
|
|
<ClCompile Include="CHeroHandler.cpp" />
|
|
<ClCompile Include="CLodHandler.cpp" />
|
|
<ClCompile Include="CMapInfo.cpp" />
|
|
<ClCompile Include="CObjectHandler.cpp" />
|
|
<ClCompile Include="Connection.cpp" />
|
|
<ClCompile Include="CSpellHandler.cpp" />
|
|
<ClCompile Include="CTownHandler.cpp" />
|
|
<ClCompile Include="ERMInterpreter.cpp" />
|
|
<ClCompile Include="ERMParser.cpp" />
|
|
<ClCompile Include="ERMScriptModule.cpp" />
|
|
<ClCompile Include="HeroBonus.cpp" />
|
|
<ClCompile Include="IGameCallback.cpp" />
|
|
<ClCompile Include="map.cpp" />
|
|
<ClCompile Include="NetPacksLib.cpp" />
|
|
<ClCompile Include="RegisterTypes.cpp" />
|
|
<ClCompile Include="..\stdafx.cpp" />
|
|
<ClCompile Include="VCMI_Lib.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\CThreadHelper.h" />
|
|
<ClInclude Include="..\StartInfo.h" />
|
|
<ClInclude Include="BattleAction.h" />
|
|
<ClInclude Include="..\CConsoleHandler.h" />
|
|
<ClInclude Include="BattleState.h" />
|
|
<ClInclude Include="CArtHandler.h" />
|
|
<ClInclude Include="CBuildingHandler.h" />
|
|
<ClInclude Include="CCampaignHandler.h" />
|
|
<ClInclude Include="CCreatureHandler.h" />
|
|
<ClInclude Include="CCreatureSet.h" />
|
|
<ClInclude Include="CDefObjInfoHandler.h" />
|
|
<ClInclude Include="CGameState.h" />
|
|
<ClInclude Include="CGeneralTextHandler.h" />
|
|
<ClInclude Include="CHeroHandler.h" />
|
|
<ClInclude Include="CLodHandler.h" />
|
|
<ClInclude Include="CMapInfo.h" />
|
|
<ClInclude Include="CObjectHandler.h" />
|
|
<ClInclude Include="CObstacleInstance.h" />
|
|
<ClInclude Include="CondSh.h" />
|
|
<ClInclude Include="Connection.h" />
|
|
<ClInclude Include="ConstTransitivePtr.h" />
|
|
<ClInclude Include="CSpellHandler.h" />
|
|
<ClInclude Include="CTownHandler.h" />
|
|
<ClInclude Include="ERMInterpreter.h" />
|
|
<ClInclude Include="ERMParser.h" />
|
|
<ClInclude Include="ERMScriptModule.h" />
|
|
<ClInclude Include="HeroBonus.h" />
|
|
<ClInclude Include="IGameCallback.h" />
|
|
<ClInclude Include="IGameEventsReceiver.h" />
|
|
<ClInclude Include="Interprocess.h" />
|
|
<ClInclude Include="map.h" />
|
|
<ClInclude Include="NetPacks.h" />
|
|
<ClInclude Include="RegisterTypes.h" />
|
|
<ClInclude Include="VCMI_Lib.h" />
|
|
<ClInclude Include="VCMIDirs.h" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |