Add setting for width of dynamic snowline range for arctic tree placement

Default: 75%
This commit is contained in:
Jonathan G Rennison
2022-05-01 00:41:08 +01:00
parent c183f07c15
commit 452d22ce37
7 changed files with 43 additions and 8 deletions

View File

@@ -51,6 +51,18 @@ inline byte LowestSnowLine()
return _cached_lowest_snowline;
}
inline byte HighestTreePlacementSnowLine()
{
extern byte _cached_tree_placement_highest_snowline;
return _cached_tree_placement_highest_snowline;
}
inline byte LowestTreePlacementSnowLine()
{
extern byte _cached_tree_placement_lowest_snowline;
return _cached_tree_placement_lowest_snowline;
}
int GetSlopeZInCorner(Slope tileh, Corner corner);
Slope GetFoundationSlope(TileIndex tile, int *z = nullptr);