Implement unit tests for the project. Fix Display Name bug (found in InternalNameCheck unit test). Add Monster Unit Tests.
parent
ce482d19b5
commit
b617120867
@ -0,0 +1,131 @@ |
||||
#include "CppUnitTest.h" |
||||
#include "olcUTIL_Geometry2D.h" |
||||
#include "AdventuresInLestoria.h" |
||||
#include "config.h" |
||||
#include "ItemDrop.h" |
||||
|
||||
using namespace Microsoft::VisualStudio::CppUnitTestFramework; |
||||
using namespace olc::utils; |
||||
|
||||
INCLUDE_MONSTER_DATA |
||||
INCLUDE_game |
||||
|
||||
TEST_MODULE_INITIALIZE(AiLTestSuite) |
||||
{ |
||||
debugLogger.open("debug.log"); |
||||
} |
||||
|
||||
namespace MonsterTests |
||||
{ |
||||
TEST_CLASS(MonsterTest) |
||||
{ |
||||
public: |
||||
std::unique_ptr<AiL>testGame; |
||||
#pragma region Setup Functions |
||||
//Makes MONSTER_DATA["TestName"] available.
|
||||
void SetupTestMonster(){ |
||||
testGame.reset(new AiL()); |
||||
testGame->EnableTestingMode(); |
||||
ItemAttribute::Initialize(); |
||||
ItemInfo::InitializeItems(); |
||||
testGame->InitializePlayer(); |
||||
Stats::InitializeDamageReductionTable(); |
||||
MonsterData testMonsterData{"TestName","Test Monster",30,10,5,{MonsterDropData{"Health Potion",100.f,1,1}}}; |
||||
MONSTER_DATA["TestName"]=testMonsterData; |
||||
} |
||||
void SetupMockMap(){ |
||||
game->MAP_DATA["CAMPAIGN_1_1"]; |
||||
} |
||||
#pragma endregion |
||||
|
||||
TEST_METHOD_INITIALIZE(MonsterInitialize){ |
||||
SetupTestMonster(); |
||||
SetupMockMap(); |
||||
} |
||||
~MonsterTest(){ |
||||
testGame.release(); |
||||
} |
||||
TEST_METHOD(DisplayNameCheck){ |
||||
Assert::AreEqual("Test Monster",MONSTER_DATA["TestName"].GetDisplayName().c_str()); |
||||
} |
||||
TEST_METHOD(InternalNameCheck){ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
Assert::AreEqual("TestName",testMonster.GetName().c_str()); |
||||
} |
||||
TEST_METHOD(HealthCheck){ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
Assert::AreEqual(testMonster.GetHealth(),testMonster.GetMaxHealth()); |
||||
Assert::AreEqual(testMonster.GetHealth(),30); |
||||
} |
||||
TEST_METHOD(Deal5Damage) |
||||
{ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
testMonster.Hurt(5,testMonster.OnUpperLevel(),testMonster.GetZ()); |
||||
Assert::AreEqual(testMonster.GetHealth(),testMonster.GetMaxHealth()-5); |
||||
} |
||||
TEST_METHOD(IFrameShouldResultInNoDamage){ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
testMonster.ApplyIframes(0.5f); |
||||
testMonster.Hurt(5,testMonster.OnUpperLevel(),testMonster.GetZ()); |
||||
Assert::AreEqual(testMonster.GetHealth(),testMonster.GetMaxHealth()); |
||||
} |
||||
TEST_METHOD(BeingInTheAirShouldAvoidAttacksFromTheGround){ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
testMonster.SetZ(2.f); |
||||
testMonster.Hurt(5,testMonster.OnUpperLevel(),0.f); |
||||
Assert::AreEqual(testMonster.GetHealth(),testMonster.GetMaxHealth()); |
||||
} |
||||
TEST_METHOD(MonstersDeal10Damage_NoDamageReduction) |
||||
{ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
Monster testMonster2{{},MONSTER_DATA["TestName"]}; |
||||
game->GetPlayer()->Hurt(testMonster.GetAttack(),testMonster.OnUpperLevel(),testMonster.GetZ()); |
||||
testMonster2.Hurt(testMonster.GetAttack(),testMonster.OnUpperLevel(),testMonster.GetZ()); |
||||
Assert::AreEqual(game->GetPlayer()->GetMaxHealth()-10,game->GetPlayer()->GetHealth()); |
||||
Assert::AreEqual(testMonster2.GetMaxHealth()-10,testMonster2.GetHealth()); |
||||
} |
||||
TEST_METHOD(DoubleAttackPctModifierWorks){ |
||||
Monster buffMonster{{},MONSTER_DATA["TestName"]}; |
||||
buffMonster.AddBuff(BuffType::STAT_UP,5,100._Pct,{ItemAttribute::Get("Attack %")}); |
||||
|
||||
Monster testMonster2{{},MONSTER_DATA["TestName"]}; |
||||
game->GetPlayer()->Hurt(buffMonster.GetAttack(),buffMonster.OnUpperLevel(),buffMonster.GetZ()); |
||||
testMonster2.Hurt(buffMonster.GetAttack(),buffMonster.OnUpperLevel(),buffMonster.GetZ()); |
||||
Assert::AreEqual(game->GetPlayer()->GetMaxHealth()-20,game->GetPlayer()->GetHealth()); |
||||
Assert::AreEqual(testMonster2.GetMaxHealth()-20,testMonster2.GetHealth()); |
||||
} |
||||
TEST_METHOD(AttackUpModifierWorks){ |
||||
Monster buffMonster{{},MONSTER_DATA["TestName"]}; |
||||
buffMonster.AddBuff(BuffType::STAT_UP,5,5.f,{ItemAttribute::Get("Attack")}); |
||||
|
||||
Monster testMonster2{{},MONSTER_DATA["TestName"]}; |
||||
game->GetPlayer()->Hurt(buffMonster.GetAttack(),buffMonster.OnUpperLevel(),buffMonster.GetZ()); |
||||
testMonster2.Hurt(buffMonster.GetAttack(),buffMonster.OnUpperLevel(),buffMonster.GetZ()); |
||||
Assert::AreEqual(game->GetPlayer()->GetMaxHealth()-15,game->GetPlayer()->GetHealth()); |
||||
Assert::AreEqual(testMonster2.GetMaxHealth()-15,testMonster2.GetHealth()); |
||||
} |
||||
TEST_METHOD(MonsterIsConsideredDeadAt0Health){ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
testMonster.Hurt(testMonster.GetMaxHealth(),testMonster.OnUpperLevel(),testMonster.GetZ()); |
||||
Assert::AreEqual(true,testMonster.IsDead()); |
||||
} |
||||
TEST_METHOD(ItemDropSpawnsWhenMonsterIsKilled){ |
||||
Monster testMonster{{},MONSTER_DATA["TestName"]}; |
||||
testMonster.Hurt(testMonster.GetMaxHealth(),testMonster.OnUpperLevel(),testMonster.GetZ()); |
||||
Assert::AreEqual(size_t(1),ItemDrop::GetDrops().size()); |
||||
} |
||||
}; |
||||
} |
||||
|
||||
namespace GeometryTests |
||||
{ |
||||
TEST_CLASS(GeometryTest) |
||||
{ |
||||
public: |
||||
|
||||
TEST_METHOD(CircleOverlapTest) |
||||
{ |
||||
Assert::IsTrue(geom2d::overlaps(geom2d::circle<float>{vf2d{},10},vf2d{5,5})); |
||||
} |
||||
}; |
||||
} |
@ -0,0 +1,453 @@ |
||||
<?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="Library (Debug)|Win32"> |
||||
<Configuration>Library (Debug)</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Library (Debug)|x64"> |
||||
<Configuration>Library (Debug)</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Library (Release)|Win32"> |
||||
<Configuration>Library (Release)</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Library (Release)|x64"> |
||||
<Configuration>Library (Release)</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|Win32"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>Win32</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Debug|x64"> |
||||
<Configuration>Debug</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
<ProjectConfiguration Include="Release|x64"> |
||||
<Configuration>Release</Configuration> |
||||
<Platform>x64</Platform> |
||||
</ProjectConfiguration> |
||||
</ItemGroup> |
||||
<PropertyGroup Label="Globals"> |
||||
<VCProjectVersion>17.0</VCProjectVersion> |
||||
<ProjectGuid>{11969B7B-3D50-4825-9584-AF01D15B88E0}</ProjectGuid> |
||||
<Keyword>Win32Proj</Keyword> |
||||
<RootNamespace>AdventuresinLestoriaTests</RootNamespace> |
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
||||
<ProjectSubType>NativeUnitTestProject</ProjectSubType> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Release)|Win32'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>true</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Release)|x64'" Label="Configuration"> |
||||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
||||
<UseDebugLibraries>false</UseDebugLibraries> |
||||
<PlatformToolset>v143</PlatformToolset> |
||||
<WholeProgramOptimization>true</WholeProgramOptimization> |
||||
<CharacterSet>Unicode</CharacterSet> |
||||
<UseOfMfc>false</UseOfMfc> |
||||
</PropertyGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||
<ImportGroup Label="ExtensionSettings"> |
||||
</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 Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|Win32'" Label="PropertySheets"> |
||||
<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)'=='Library (Release)|Win32'" Label="PropertySheets"> |
||||
<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)'=='Debug|x64'"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|x64'" Label="PropertySheets"> |
||||
<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|x64'"> |
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||
</ImportGroup> |
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Library (Release)|x64'" 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|x64'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|x64'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
<IncludePath>C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria;$(IncludePath)</IncludePath> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|Win32'"> |
||||
<LinkIncremental>true</LinkIncremental> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Release)|Win32'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Library (Release)|x64'"> |
||||
<LinkIncremental>false</LinkIncremental> |
||||
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria;$(IncludePath)</IncludePath> |
||||
</PropertyGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\steam;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\discord-files;C:\Users\sigon\OneDrive\Documents\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<AdditionalLibraryDirectories>C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\steam;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\discord-files;C:\Users\sigon\OneDrive\Documents\include;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria Tests;$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>discord_game_sdk.dll.lib;freetype.lib;steam_api64.lib;$(CoreLibraryDependencies);Adventures in Lestoria.lib;%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\steam;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\discord-files;C:\Users\sigon\OneDrive\Documents\include;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile> |
||||
</PrecompiledHeaderFile> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>Use</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Library (Debug)|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>Use</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>Use</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Library (Release)|Win32'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>Use</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>Use</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Library (Release)|x64'"> |
||||
<ClCompile> |
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader> |
||||
<WarningLevel>Level3</WarningLevel> |
||||
<FunctionLevelLinking>true</FunctionLevelLinking> |
||||
<IntrinsicFunctions>true</IntrinsicFunctions> |
||||
<SDLCheck>true</SDLCheck> |
||||
<AdditionalIncludeDirectories>C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\steam;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\discord-files;C:\Users\sigon\OneDrive\Documents\include;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||
<UseFullPaths>true</UseFullPaths> |
||||
<PrecompiledHeaderFile> |
||||
</PrecompiledHeaderFile> |
||||
<LanguageStandard>stdcpp20</LanguageStandard> |
||||
</ClCompile> |
||||
<Link> |
||||
<SubSystem>Windows</SubSystem> |
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
||||
<OptimizeReferences>true</OptimizeReferences> |
||||
<AdditionalLibraryDirectories>C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\steam;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria\discord-files;C:\Users\sigon\OneDrive\Documents\include;C:\Users\sigon\source\repos\AdventuresInLestoria\Adventures in Lestoria Tests;$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
||||
<AdditionalDependencies>discord_game_sdk.dll.lib;freetype.lib;steam_api64.lib;$(CoreLibraryDependencies);Adventures in Lestoria.lib;%(AdditionalDependencies)</AdditionalDependencies> |
||||
</Link> |
||||
</ItemDefinitionGroup> |
||||
<ItemGroup> |
||||
<ClCompile Include="Adventures in Lestoria Tests.cpp" /> |
||||
<ClCompile Include="discord-files\achievement_manager.cpp" /> |
||||
<ClCompile Include="discord-files\activity_manager.cpp" /> |
||||
<ClCompile Include="discord-files\application_manager.cpp" /> |
||||
<ClCompile Include="discord-files\core.cpp" /> |
||||
<ClCompile Include="discord-files\image_manager.cpp" /> |
||||
<ClCompile Include="discord-files\lobby_manager.cpp" /> |
||||
<ClCompile Include="discord-files\network_manager.cpp" /> |
||||
<ClCompile Include="discord-files\overlay_manager.cpp" /> |
||||
<ClCompile Include="discord-files\relationship_manager.cpp" /> |
||||
<ClCompile Include="discord-files\storage_manager.cpp" /> |
||||
<ClCompile Include="discord-files\store_manager.cpp" /> |
||||
<ClCompile Include="discord-files\types.cpp" /> |
||||
<ClCompile Include="discord-files\user_manager.cpp" /> |
||||
<ClCompile Include="discord-files\voice_manager.cpp" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ClInclude Include="discord-files\achievement_manager.h" /> |
||||
<ClInclude Include="discord-files\activity_manager.h" /> |
||||
<ClInclude Include="discord-files\application_manager.h" /> |
||||
<ClInclude Include="discord-files\core.h" /> |
||||
<ClInclude Include="discord-files\discord.h" /> |
||||
<ClInclude Include="discord-files\event.h" /> |
||||
<ClInclude Include="discord-files\ffi.h" /> |
||||
<ClInclude Include="discord-files\image_manager.h" /> |
||||
<ClInclude Include="discord-files\lobby_manager.h" /> |
||||
<ClInclude Include="discord-files\network_manager.h" /> |
||||
<ClInclude Include="discord-files\overlay_manager.h" /> |
||||
<ClInclude Include="discord-files\relationship_manager.h" /> |
||||
<ClInclude Include="discord-files\storage_manager.h" /> |
||||
<ClInclude Include="discord-files\store_manager.h" /> |
||||
<ClInclude Include="discord-files\types.h" /> |
||||
<ClInclude Include="discord-files\user_manager.h" /> |
||||
<ClInclude Include="discord-files\voice_manager.h" /> |
||||
<ClInclude Include="freetype\config\ftconfig.h" /> |
||||
<ClInclude Include="freetype\config\ftheader.h" /> |
||||
<ClInclude Include="freetype\config\ftmodule.h" /> |
||||
<ClInclude Include="freetype\config\ftoption.h" /> |
||||
<ClInclude Include="freetype\config\ftstdlib.h" /> |
||||
<ClInclude Include="freetype\config\integer-types.h" /> |
||||
<ClInclude Include="freetype\config\mac-support.h" /> |
||||
<ClInclude Include="freetype\config\public-macros.h" /> |
||||
<ClInclude Include="freetype\freetype.h" /> |
||||
<ClInclude Include="freetype\ftadvanc.h" /> |
||||
<ClInclude Include="freetype\ftbbox.h" /> |
||||
<ClInclude Include="freetype\ftbdf.h" /> |
||||
<ClInclude Include="freetype\ftbitmap.h" /> |
||||
<ClInclude Include="freetype\ftbzip2.h" /> |
||||
<ClInclude Include="freetype\ftcache.h" /> |
||||
<ClInclude Include="freetype\ftchapters.h" /> |
||||
<ClInclude Include="freetype\ftcid.h" /> |
||||
<ClInclude Include="freetype\ftcolor.h" /> |
||||
<ClInclude Include="freetype\ftdriver.h" /> |
||||
<ClInclude Include="freetype\fterrdef.h" /> |
||||
<ClInclude Include="freetype\fterrors.h" /> |
||||
<ClInclude Include="freetype\ftfntfmt.h" /> |
||||
<ClInclude Include="freetype\ftgasp.h" /> |
||||
<ClInclude Include="freetype\ftglyph.h" /> |
||||
<ClInclude Include="freetype\ftgxval.h" /> |
||||
<ClInclude Include="freetype\ftgzip.h" /> |
||||
<ClInclude Include="freetype\ftimage.h" /> |
||||
<ClInclude Include="freetype\ftincrem.h" /> |
||||
<ClInclude Include="freetype\ftlcdfil.h" /> |
||||
<ClInclude Include="freetype\ftlist.h" /> |
||||
<ClInclude Include="freetype\ftlogging.h" /> |
||||
<ClInclude Include="freetype\ftlzw.h" /> |
||||
<ClInclude Include="freetype\ftmac.h" /> |
||||
<ClInclude Include="freetype\ftmm.h" /> |
||||
<ClInclude Include="freetype\ftmodapi.h" /> |
||||
<ClInclude Include="freetype\ftmoderr.h" /> |
||||
<ClInclude Include="freetype\ftotval.h" /> |
||||
<ClInclude Include="freetype\ftoutln.h" /> |
||||
<ClInclude Include="freetype\ftparams.h" /> |
||||
<ClInclude Include="freetype\ftpfr.h" /> |
||||
<ClInclude Include="freetype\ftrender.h" /> |
||||
<ClInclude Include="freetype\ftsizes.h" /> |
||||
<ClInclude Include="freetype\ftsnames.h" /> |
||||
<ClInclude Include="freetype\ftstroke.h" /> |
||||
<ClInclude Include="freetype\ftsynth.h" /> |
||||
<ClInclude Include="freetype\ftsystem.h" /> |
||||
<ClInclude Include="freetype\fttrigon.h" /> |
||||
<ClInclude Include="freetype\fttypes.h" /> |
||||
<ClInclude Include="freetype\ftwinfnt.h" /> |
||||
<ClInclude Include="freetype\otsvg.h" /> |
||||
<ClInclude Include="freetype\t1tables.h" /> |
||||
<ClInclude Include="freetype\ttnameid.h" /> |
||||
<ClInclude Include="freetype\tttables.h" /> |
||||
<ClInclude Include="freetype\tttags.h" /> |
||||
<ClInclude Include="ft2build.h" /> |
||||
<ClInclude Include="pch.h" /> |
||||
<ClInclude Include="steam\isteamapps.h" /> |
||||
<ClInclude Include="steam\isteamappticket.h" /> |
||||
<ClInclude Include="steam\isteamclient.h" /> |
||||
<ClInclude Include="steam\isteamcontroller.h" /> |
||||
<ClInclude Include="steam\isteamdualsense.h" /> |
||||
<ClInclude Include="steam\isteamfriends.h" /> |
||||
<ClInclude Include="steam\isteamgamecoordinator.h" /> |
||||
<ClInclude Include="steam\isteamgameserver.h" /> |
||||
<ClInclude Include="steam\isteamgameserverstats.h" /> |
||||
<ClInclude Include="steam\isteamhtmlsurface.h" /> |
||||
<ClInclude Include="steam\isteamhttp.h" /> |
||||
<ClInclude Include="steam\isteaminput.h" /> |
||||
<ClInclude Include="steam\isteaminventory.h" /> |
||||
<ClInclude Include="steam\isteammatchmaking.h" /> |
||||
<ClInclude Include="steam\isteammusic.h" /> |
||||
<ClInclude Include="steam\isteammusicremote.h" /> |
||||
<ClInclude Include="steam\isteamnetworking.h" /> |
||||
<ClInclude Include="steam\isteamnetworkingmessages.h" /> |
||||
<ClInclude Include="steam\isteamnetworkingsockets.h" /> |
||||
<ClInclude Include="steam\isteamnetworkingutils.h" /> |
||||
<ClInclude Include="steam\isteamparentalsettings.h" /> |
||||
<ClInclude Include="steam\isteamps3overlayrenderer.h" /> |
||||
<ClInclude Include="steam\isteamremoteplay.h" /> |
||||
<ClInclude Include="steam\isteamremotestorage.h" /> |
||||
<ClInclude Include="steam\isteamscreenshots.h" /> |
||||
<ClInclude Include="steam\isteamugc.h" /> |
||||
<ClInclude Include="steam\isteamuser.h" /> |
||||
<ClInclude Include="steam\isteamuserstats.h" /> |
||||
<ClInclude Include="steam\isteamutils.h" /> |
||||
<ClInclude Include="steam\isteamvideo.h" /> |
||||
<ClInclude Include="steam\matchmakingtypes.h" /> |
||||
<ClInclude Include="steam\steamclientpublic.h" /> |
||||
<ClInclude Include="steam\steamencryptedappticket.h" /> |
||||
<ClInclude Include="steam\steamhttpenums.h" /> |
||||
<ClInclude Include="steam\steamnetworkingfakeip.h" /> |
||||
<ClInclude Include="steam\steamnetworkingtypes.h" /> |
||||
<ClInclude Include="steam\steamps3params.h" /> |
||||
<ClInclude Include="steam\steamtypes.h" /> |
||||
<ClInclude Include="steam\steamuniverse.h" /> |
||||
<ClInclude Include="steam\steam_api.h" /> |
||||
<ClInclude Include="steam\steam_api_common.h" /> |
||||
<ClInclude Include="steam\steam_api_flat.h" /> |
||||
<ClInclude Include="steam\steam_api_internal.h" /> |
||||
<ClInclude Include="steam\steam_gameserver.h" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<ProjectReference Include="..\Adventures in Lestoria\Adventures in Lestoria.vcxproj"> |
||||
<Project>{8e3067af-cfe7-4b11-bc6b-b867c32753d7}</Project> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<None Include="steam\steam_api.json" /> |
||||
</ItemGroup> |
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||
<ImportGroup Label="ExtensionTargets"> |
||||
</ImportGroup> |
||||
</Project> |
Binary file not shown.
Loading…
Reference in new issue