summaryrefslogtreecommitdiff
path: root/src/tile_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-21 11:27:34 +0000
committerrubidium <rubidium@openttd.org>2014-09-21 11:27:34 +0000
commitf41b55f0ff6ee71d8e40cd522ae175bcb28c35c5 (patch)
tree3e1f5c7e5c6fc362ee671d9136d3dcdfce77570b /src/tile_type.h
parent9daf7e749ccb00873443e2261379bf31999664d9 (diff)
downloadopenttd-f41b55f0ff6ee71d8e40cd522ae175bcb28c35c5.tar.xz
(svn r26880) -Add: stub settings for limiting bridge and map height
Diffstat (limited to 'src/tile_type.h')
-rw-r--r--src/tile_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tile_type.h b/src/tile_type.h
index 34543eb93..7276307af 100644
--- a/src/tile_type.h
+++ b/src/tile_type.h
@@ -19,6 +19,10 @@ static const uint TILE_HEIGHT = 8; ///< The standard height-diffe
static const uint MAX_TILE_HEIGHT = 15; ///< 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 = 15; ///< 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_SNOWLINE_HEIGHT = 2; ///< Minimum snowline height
static const uint DEF_SNOWLINE_HEIGHT = 7; ///< Default snowline height
static const uint MAX_SNOWLINE_HEIGHT = (MAX_TILE_HEIGHT - 2); ///< Maximum allowed snowline height