Ivan Savenko 2 lat temu
rodzic
commit
f78470a301

+ 2 - 0
AI/Nullkiller/Pathfinding/Actions/SpecialAction.h

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

+ 4 - 1
AI/VCAI/Pathfinding/Actions/ISpecialAction.h

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

+ 4 - 0
lib/pathfinder/PathfinderOptions.cpp

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