1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

cloned Nullkiller into Nullkiller2

This commit is contained in:
Mircea TheHonestCTO
2025-08-13 14:41:15 +02:00
parent a6df82c616
commit ffad6c6a43
249 changed files with 23306 additions and 377 deletions

View File

@@ -27,7 +27,7 @@ class ObjectGraphCalculator
{
private:
ObjectGraph * target;
const Nullkiller * ai;
const Nullkiller2 * ai;
std::mutex syncLock;
std::map<const CGHeroInstance *, HeroRole> actors;
@@ -37,7 +37,7 @@ private:
std::vector<std::unique_ptr<CGHeroInstance>> temporaryActorHeroes;
public:
ObjectGraphCalculator(ObjectGraph * target, const Nullkiller * ai);
ObjectGraphCalculator(ObjectGraph * target, const Nullkiller2 * ai);
void setGraphObjects();
void calculateConnections();
float getNeighborConnectionsCost(const int3 & pos, std::vector<AIPath> & pathCache);