mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix build
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
#include "Goals/Goals.h"
|
||||
#include "VCAI.h"
|
||||
|
||||
#include "../../../lib/mapObjectConstructors/AObjectTypeHandler.h"
|
||||
#include "../../../lib/mapObjectConstructors/CObjectClassesHandler.h"
|
||||
#include "../../../lib/mapObjectConstructors/CommonConstructors.h"
|
||||
#include "../../../lib/mapObjects/CBank.h"
|
||||
#include "../../../lib/mapObjects/CGDwelling.h"
|
||||
#include "../../lib/mapObjectConstructors/AObjectTypeHandler.h"
|
||||
#include "../../lib/mapObjectConstructors/CObjectClassesHandler.h"
|
||||
#include "../../lib/mapObjectConstructors/CommonConstructors.h"
|
||||
#include "../../lib/mapObjects/CBank.h"
|
||||
#include "../../lib/mapObjects/CGDwelling.h"
|
||||
|
||||
FuzzyHelper * fh;
|
||||
|
||||
|
@@ -8,7 +8,8 @@
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#include "../../lib/mapObjects/CObjectClassesHandler.h"
|
||||
|
||||
#include "../../lib/mapObjectConstructors/CObjectClassesHandler.h"
|
||||
|
||||
class MapObjectsEvaluator
|
||||
{
|
||||
|
@@ -56,3 +56,5 @@ public:
|
||||
|
||||
virtual ~IObjectInfo() = default;
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include "../mapping/CMap.h"
|
||||
#include "../serializer/JsonSerializeFormat.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
//TODO: remove constructor
|
||||
CGObjectInstance::CGObjectInstance():
|
||||
pos(-1,-1,-1),
|
||||
@@ -342,3 +344,5 @@ BattleField CGObjectInstance::getBattlefield() const
|
||||
{
|
||||
return VLC->objtypeh->getHandlerFor(ID, subID)->getBattlefield();
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@@ -141,3 +141,5 @@ protected:
|
||||
|
||||
void serializeJsonOwner(JsonSerializeFormat & handler);
|
||||
};
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@@ -18,6 +18,8 @@
|
||||
|
||||
#include "../VCMI_Lib.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
bool IMarket::getOffer(int id1, int id2, int &val1, int &val2, EMarketMode::EMarketMode mode) const
|
||||
{
|
||||
switch(mode)
|
||||
@@ -173,3 +175,5 @@ std::vector<EMarketMode::EMarketMode> IMarket::availableModes() const
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
@@ -11,6 +11,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "../ResourceSet.h"
|
||||
#include "../bonuses/Bonus.h"
|
||||
#include "../CCreatureSet.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
|
@@ -12,6 +12,7 @@
|
||||
#include "MapComparer.h"
|
||||
|
||||
#include "../lib/mapping/CMap.h"
|
||||
#include "../lib/mapObjects/ObjectTemplate.h"
|
||||
|
||||
#define VCMI_CHECK_FIELD_EQUAL_P(field) EXPECT_EQ(actual->field, expected->field)
|
||||
|
||||
|
Reference in New Issue
Block a user