mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Implement curved paths for all road node objects
This commit is contained in:
@@ -121,6 +121,11 @@ ThreadSafeProxy<const rmg::Area> Zone::areaUsed() const
|
||||
return ThreadSafeProxy<const rmg::Area>(dAreaUsed, areaMutex);
|
||||
}
|
||||
|
||||
rmg::Area Zone::areaForRoads() const
|
||||
{
|
||||
return areaPossible() + freePaths();
|
||||
}
|
||||
|
||||
void Zone::clearTiles()
|
||||
{
|
||||
Lock lock(areaMutex);
|
||||
|
||||
Reference in New Issue
Block a user