1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +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 "../../Goals/AbstractGoal.h"
VCMI_LIB_NAMESPACE_BEGIN
struct PathNodeInfo;
struct CDestinationNodeInfo;
VCMI_LIB_NAMESPACE_END
namespace NKAI
{

View File

@ -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
{

View File

@ -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