1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

more sensible road placement

This commit is contained in:
AlexVinS
2015-01-03 09:20:52 +03:00
parent 896a2b17c0
commit eb60d9737f
4 changed files with 78 additions and 13 deletions

View File

@@ -66,6 +66,7 @@ public:
void createConnections();
void findZonesForQuestArts();
void foreach_neighbour(const int3 &pos, std::function<void(int3& pos)> foo);
void foreachDirectNeighbour(const int3 &pos, std::function<void(int3& pos)> foo);
bool isBlocked(const int3 &tile) const;
bool shouldBeBlocked(const int3 &tile) const;