summaryrefslogtreecommitdiff
path: root/src/tile_type.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-24 09:42:54 +0100
committerPatric Stout <github@truebrain.nl>2021-03-26 12:22:32 +0100
commit1a1049bc0db4e29402e950e56f3a6873c1f5a0ab (patch)
tree9b0919ad80fef38e3909a602bc2f3f3b7d51c2c7 /src/tile_type.h
parent23f27db8c30793384ca107db15548ea43dbdf329 (diff)
downloadopenttd-1a1049bc0db4e29402e950e56f3a6873c1f5a0ab.tar.xz
Change: rename setting "max_heightlevel" to "map_height_limit"
This better reflects what it is, and hopefully removes a bit of the confusion people are having what this setting actually does. Additionally, update the text on the setting to better inform users what it is doing exactly, so they can make an educated decision on how to change it. Next commit will introduce an "auto" value, which should be the new default. The rename has as added benefit that everyone will start out on the "auto" value.
Diffstat (limited to 'src/tile_type.h')
-rw-r--r--src/tile_type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tile_type.h b/src/tile_type.h
index e9fc272a5..ad3d1b563 100644
--- a/src/tile_type.h
+++ b/src/tile_type.h
@@ -21,9 +21,9 @@ 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_MAX_HEIGHTLEVEL = 15; ///< Lower bound of maximum allowed heightlevel (in the construction settings)
-static const uint DEF_MAX_HEIGHTLEVEL = 30; ///< Default maximum allowed heightlevel (in the construction settings)
-static const uint MAX_MAX_HEIGHTLEVEL = MAX_TILE_HEIGHT; ///< Upper bound of maximum allowed heightlevel (in the construction settings)
+static const uint MIN_MAP_HEIGHT_LIMIT = 15; ///< Lower bound of maximum allowed heightlevel (in the construction settings)
+static const uint DEF_MAP_HEIGHT_LIMIT = 30; ///< Default 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)
static const uint MIN_SNOWLINE_HEIGHT = 2; ///< Minimum snowline height
static const uint DEF_SNOWLINE_HEIGHT = 10; ///< Default snowline height