1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-06-21 13:51:31 +03:00
parent bd4d2788ed
commit f78470a301
3 changed files with 10 additions and 1 deletions

View File

@@ -13,8 +13,10 @@
#include "../../AIUtility.h" #include "../../AIUtility.h"
#include "../../Goals/AbstractGoal.h" #include "../../Goals/AbstractGoal.h"
VCMI_LIB_NAMESPACE_BEGIN
struct PathNodeInfo; struct PathNodeInfo;
struct CDestinationNodeInfo; struct CDestinationNodeInfo;
VCMI_LIB_NAMESPACE_END
namespace NKAI namespace NKAI
{ {

View File

@@ -13,9 +13,12 @@
#include "../../AIUtility.h" #include "../../AIUtility.h"
#include "../../Goals/AbstractGoal.h" #include "../../Goals/AbstractGoal.h"
struct AIPathNode; VCMI_LIB_NAMESPACE_BEGIN
struct PathNodeInfo; struct PathNodeInfo;
struct CDestinationNodeInfo; struct CDestinationNodeInfo;
VCMI_LIB_NAMESPACE_END
struct AIPathNode;
class ISpecialAction class ISpecialAction
{ {

View File

@@ -15,6 +15,8 @@
#include "PathfindingRules.h" #include "PathfindingRules.h"
#include "CPathfinder.h" #include "CPathfinder.h"
VCMI_LIB_NAMESPACE_BEGIN
PathfinderOptions::PathfinderOptions() PathfinderOptions::PathfinderOptions()
{ {
useFlying = settings["pathfinder"]["layers"]["flying"].Bool(); useFlying = settings["pathfinder"]["layers"]["flying"].Bool();
@@ -61,3 +63,5 @@ CPathfinderHelper * SingleHeroPathfinderConfig::getOrCreatePathfinderHelper(cons
{ {
return pathfinderHelper.get(); return pathfinderHelper.get();
} }
VCMI_LIB_NAMESPACE_END