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

Pathfinding: do path calculation in separate thread

This commit is contained in:
ArseniyShestakov
2015-11-08 19:19:48 +03:00
parent 9cf35d1bfd
commit f376b27999
4 changed files with 28 additions and 1 deletions

View File

@@ -314,6 +314,8 @@ public:
boost::shared_mutex *mx;
unique_ptr<boost::thread> pathfinderWorking;
void giveHeroArtifact(CGHeroInstance *h, ArtifactID aid);
void apply(CPack *pack);