1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

AI goals refactoring (#524)

This commit is contained in:
Andrii Danylchenko
2018-12-01 10:30:37 +02:00
committed by ArseniyShestakov
parent 2c1f3dd742
commit e1b922f7b8
62 changed files with 3236 additions and 2380 deletions

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* AINodeStorage.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* AINodeStorage.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
@@ -13,7 +13,7 @@
#include "../../../lib/CPathfinder.h"
#include "../../../lib/mapObjects/CGHeroInstance.h"
#include "../AIUtility.h"
#include "../Goals.h"
#include "../Goals/AbstractGoal.h"
class ISpecialAction
{

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* AIPathfinder.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
@@ -67,4 +67,4 @@ std::vector<AIPath> AIPathfinder::getPathInfo(HeroPtr hero, int3 tile)
}
return nodeStorage->getChainInfo(tile, !tileInfo->isWater());
}
}

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* AIPathfinder.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* AIPathfinderConfig.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
@@ -9,6 +9,7 @@
*/
#include "StdInc.h"
#include "AIPathfinderConfig.h"
#include "../Goals/Goals.h"
#include "../../../CCallback.h"
#include "../../../lib/mapping/CMap.h"
#include "../../../lib/mapObjects/MapObjects.h"

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* AIPathfinderConfig.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
@@ -23,4 +23,4 @@ namespace AIPathfinding
VCAI * ai,
std::shared_ptr<AINodeStorage> nodeStorage);
};
}
}

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* PathfindingManager.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
@@ -11,6 +11,7 @@
#include "PathfindingManager.h"
#include "AIPathfinder.h"
#include "AIPathfinderConfig.h"
#include "Goals/Goals.h"
#include "../../../lib/CGameInfoCallback.h"
#include "../../../lib/mapping/CMap.h"
@@ -227,4 +228,4 @@ void PathfindingManager::resetPaths()
{
logAi->debug("AIPathfinder has been reseted.");
pathfinder->clear();
}
}

View File

@@ -1,5 +1,5 @@
/*
* AIhelper.h, part of VCMI engine
* PathfindingManager.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*