diff options
author | Patric Stout <truebrain@openttd.org> | 2021-03-24 23:25:51 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-03-26 12:22:32 +0100 |
commit | f05e2e0d408cfd018d9875855bd28383569481a9 (patch) | |
tree | 2f08a052703d6c745935e0abed5e7bb259c94287 /src/tile_type.h | |
parent | 45c2c29c35afeb4116ff8fb3393ddc67ea1708da (diff) | |
download | openttd-f05e2e0d408cfd018d9875855bd28383569481a9.tar.xz |
Feature: allow setting a custom terrain type to define highest peak
At least, TGP will try to reach it. It heavily depends on the map
if it is reachable at all. But for sure it will do its atmost to
get there!
Diffstat (limited to 'src/tile_type.h')
-rw-r--r-- | src/tile_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tile_type.h b/src/tile_type.h index efc057d2b..73fd0e97e 100644 --- a/src/tile_type.h +++ b/src/tile_type.h @@ -22,6 +22,7 @@ static const int MAX_VEHICLE_PIXEL_Y = 96; ///< Maximum heig static const uint MAX_TILE_HEIGHT = 255; ///< Maximum allowed tile height static const uint MIN_HEIGHTMAP_HEIGHT = 1; ///< Lowest possible peak value for heightmap creation +static const uint MIN_CUSTOM_TERRAIN_TYPE = 1; ///< Lowest possible peak value for world generation static const uint MIN_MAP_HEIGHT_LIMIT = 15; ///< Lower bound of maximum allowed heightlevel (in the construction settings) static const uint MAX_MAP_HEIGHT_LIMIT = MAX_TILE_HEIGHT; ///< Upper bound of maximum allowed heightlevel (in the construction settings) |