mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
[c::b] Updated projects, applied fixes
This commit is contained in:
parent
3579651b3c
commit
f17783cfb5
@ -14,7 +14,7 @@
|
|||||||
#include "ResourceManager.h"
|
#include "ResourceManager.h"
|
||||||
#include "../../lib/mapping/CMap.h" //for victory conditions
|
#include "../../lib/mapping/CMap.h" //for victory conditions
|
||||||
#include "../../lib/CPathfinder.h"
|
#include "../../lib/CPathfinder.h"
|
||||||
#include "StringConstants.h"
|
#include "../../lib/StringConstants.h"
|
||||||
|
|
||||||
#include "AIhelper.h"
|
#include "AIhelper.h"
|
||||||
|
|
||||||
|
@ -83,10 +83,14 @@
|
|||||||
</Linker>
|
</Linker>
|
||||||
<Unit filename="AIUtility.cpp" />
|
<Unit filename="AIUtility.cpp" />
|
||||||
<Unit filename="AIUtility.h" />
|
<Unit filename="AIUtility.h" />
|
||||||
|
<Unit filename="AIhelper.cpp" />
|
||||||
|
<Unit filename="AIhelper.h" />
|
||||||
<Unit filename="Fuzzy.cpp" />
|
<Unit filename="Fuzzy.cpp" />
|
||||||
<Unit filename="Fuzzy.h" />
|
<Unit filename="Fuzzy.h" />
|
||||||
<Unit filename="Goals.cpp" />
|
<Unit filename="Goals.cpp" />
|
||||||
<Unit filename="Goals.h" />
|
<Unit filename="Goals.h" />
|
||||||
|
<Unit filename="ResourceManager.cpp" />
|
||||||
|
<Unit filename="ResourceManager.h" />
|
||||||
<Unit filename="StdInc.h">
|
<Unit filename="StdInc.h">
|
||||||
<Option compile="1" />
|
<Option compile="1" />
|
||||||
<Option weight="0" />
|
<Option weight="0" />
|
||||||
|
@ -66,6 +66,8 @@
|
|||||||
<Add option="-lVCMI_lib" />
|
<Add option="-lVCMI_lib" />
|
||||||
<Add option="-lboost_filesystem$(#boost.libsuffix)" />
|
<Add option="-lboost_filesystem$(#boost.libsuffix)" />
|
||||||
<Add option="-lboost_system$(#boost.libsuffix)" />
|
<Add option="-lboost_system$(#boost.libsuffix)" />
|
||||||
|
<Add option="-lboost_thread$(#boost.libsuffix)" />
|
||||||
|
<Add library="../AI/VCAI.dll" />
|
||||||
<Add directory="../" />
|
<Add directory="../" />
|
||||||
</Linker>
|
</Linker>
|
||||||
<Unit filename="CMakeLists.txt" />
|
<Unit filename="CMakeLists.txt" />
|
||||||
@ -99,6 +101,8 @@
|
|||||||
<Unit filename="map/MapComparer.h" />
|
<Unit filename="map/MapComparer.h" />
|
||||||
<Unit filename="mock/mock_BonusBearer.cpp" />
|
<Unit filename="mock/mock_BonusBearer.cpp" />
|
||||||
<Unit filename="mock/mock_BonusBearer.h" />
|
<Unit filename="mock/mock_BonusBearer.h" />
|
||||||
|
<Unit filename="mock/mock_CPSICallback.cpp" />
|
||||||
|
<Unit filename="mock/mock_CPSICallback.h" />
|
||||||
<Unit filename="mock/mock_IGameCallback.cpp" />
|
<Unit filename="mock/mock_IGameCallback.cpp" />
|
||||||
<Unit filename="mock/mock_IGameCallback.h" />
|
<Unit filename="mock/mock_IGameCallback.h" />
|
||||||
<Unit filename="mock/mock_MapService.cpp" />
|
<Unit filename="mock/mock_MapService.cpp" />
|
||||||
@ -139,6 +143,13 @@
|
|||||||
<Unit filename="spells/targetConditions/TargetConditionItemFixture.cpp" />
|
<Unit filename="spells/targetConditions/TargetConditionItemFixture.cpp" />
|
||||||
<Unit filename="spells/targetConditions/TargetConditionItemFixture.h" />
|
<Unit filename="spells/targetConditions/TargetConditionItemFixture.h" />
|
||||||
<Unit filename="testdata/rmg/1.json" />
|
<Unit filename="testdata/rmg/1.json" />
|
||||||
|
<Unit filename="vcai/ResourceManagerTest.h" />
|
||||||
|
<Unit filename="vcai/ResurceManagerTest.cpp" />
|
||||||
|
<Unit filename="vcai/mock_ResourceManager.cpp" />
|
||||||
|
<Unit filename="vcai/mock_ResourceManager.h" />
|
||||||
|
<Unit filename="vcai/mock_VCAI.cpp" />
|
||||||
|
<Unit filename="vcai/mock_VCAI.h" />
|
||||||
|
<Unit filename="vcai/mock_VCAI_CGoal.h" />
|
||||||
<Extensions>
|
<Extensions>
|
||||||
<code_completion />
|
<code_completion />
|
||||||
<envvars />
|
<envvars />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* {file}.cpp, part of VCMI engine
|
* mock_CPLayerSpecificInfoCallback.cpp, part of VCMI engine
|
||||||
*
|
*
|
||||||
* Authors: listed in file AUTHORS in main folder
|
* Authors: listed in file AUTHORS in main folder
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
class CCallback;
|
class CCallback;
|
||||||
|
|
||||||
class GameCallbackMock : public CPlayerSpecificInfoCallback
|
class CPSICallbackMock : public CPlayerSpecificInfoCallback
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using CPlayerSpecificInfoCallback::CPlayerSpecificInfoCallback;
|
using CPlayerSpecificInfoCallback::CPlayerSpecificInfoCallback;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* {file}.h, part of VCMI engine
|
* mock_IGameCallback.h, part of VCMI engine
|
||||||
*
|
*
|
||||||
* Authors: listed in file AUTHORS in main folder
|
* Authors: listed in file AUTHORS in main folder
|
||||||
*
|
*
|
||||||
|
@ -27,7 +27,7 @@ struct ResourceManagerTest : public Test//, public IResourceManager
|
|||||||
{
|
{
|
||||||
std::unique_ptr<ResourceManagerMock> rm;
|
std::unique_ptr<ResourceManagerMock> rm;
|
||||||
|
|
||||||
NiceMock<GameCallbackMock> gcm;
|
NiceMock<CPSICallbackMock> gcm;
|
||||||
NiceMock<VCAIMock> aim;
|
NiceMock<VCAIMock> aim;
|
||||||
TSubgoal invalidGoal, gatherArmy, buildThis, buildAny, recruitHero;
|
TSubgoal invalidGoal, gatherArmy, buildThis, buildAny, recruitHero;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user