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

Improved road routing so they can go under any passable object.

This commit is contained in:
DjWarmonger
2016-12-21 10:10:37 +01:00
parent f78b524731
commit cc452bdfa9
5 changed files with 19 additions and 9 deletions

View File

@@ -304,6 +304,7 @@ public:
bool isInTheMap(const int3 & pos) const;
bool isWaterTile(const int3 & pos) const;
bool canMoveBetween(const int3 &src, const int3 &dst) const;
bool checkForVisitableDir( const int3 & src, const TerrainTile *pom, const int3 & dst ) const;
int3 guardingCreaturePosition (int3 pos) const;