1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Implement curved paths for all road node objects

This commit is contained in:
Tomasz Zieliński
2024-11-22 09:28:37 +01:00
parent 9277c5f4e7
commit f95bb58433
8 changed files with 45 additions and 31 deletions

View File

@@ -34,6 +34,8 @@ public:
}
};
void replaceWithCurvedPath(rmg::Path & path, const Zone & zone, const int3 & src);
rmg::Tileset collectDistantTiles(const Zone & zone, int distance);
int chooseRandomAppearance(vstd::RNG & generator, si32 ObjID, TerrainId terrain);