Public roads: Handle non-trivial existing foundations

This commit is contained in:
Jonathan G Rennison
2023-02-25 22:12:31 +00:00
parent 2d1b3fb6e7
commit ff189e44e4
3 changed files with 64 additions and 18 deletions

View File

@@ -63,6 +63,7 @@ inline byte LowestTreePlacementSnowLine()
}
int GetSlopeZInCorner(Slope tileh, Corner corner);
Slope GetFoundationSlopeFromTileSlope(TileIndex tile, Slope tileh, int *z = nullptr);
Slope GetFoundationSlope(TileIndex tile, int *z = nullptr);
uint GetPartialPixelZ(int x, int y, Slope corners);