|
@@ -49,6 +49,8 @@
|
|
|
#include "../../lib/mapObjects/CGHeroInstance.h"
|
|
#include "../../lib/mapObjects/CGHeroInstance.h"
|
|
|
#include "../../lib/CPathfinder.h"
|
|
#include "../../lib/CPathfinder.h"
|
|
|
|
|
|
|
|
|
|
+#include <chrono>
|
|
|
|
|
+
|
|
|
using namespace tbb;
|
|
using namespace tbb;
|
|
|
|
|
|
|
|
class CCallback;
|
|
class CCallback;
|
|
@@ -216,7 +218,7 @@ bool compareHeroStrength(HeroPtr h1, HeroPtr h2);
|
|
|
bool compareArmyStrength(const CArmedInstance * a1, const CArmedInstance * a2);
|
|
bool compareArmyStrength(const CArmedInstance * a1, const CArmedInstance * a2);
|
|
|
bool compareArtifacts(const CArtifactInstance * a1, const CArtifactInstance * a2);
|
|
bool compareArtifacts(const CArtifactInstance * a1, const CArtifactInstance * a2);
|
|
|
|
|
|
|
|
-uint64_t timeElapsed(boost::chrono::time_point<boost::chrono::steady_clock> start);
|
|
|
|
|
|
|
+uint64_t timeElapsed(std::chrono::time_point<std::chrono::steady_clock> start);
|
|
|
|
|
|
|
|
// todo: move to obj manager
|
|
// todo: move to obj manager
|
|
|
bool shouldVisit(const Nullkiller * ai, const CGHeroInstance * h, const CGObjectInstance * obj);
|
|
bool shouldVisit(const Nullkiller * ai, const CGHeroInstance * h, const CGObjectInstance * obj);
|