summaryrefslogtreecommitdiff
path: root/src/tile_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-10-13 14:30:59 +0000
committerrubidium <rubidium@openttd.org>2014-10-13 14:30:59 +0000
commitfca729138db2453956385ecff25c532ecc125641 (patch)
treeb2b19f179d77feeedb3c722f1284acdf3c7da809 /src/tile_type.h
parent8d90e86c2c6b0ae633714d015c0b9dcbba421185 (diff)
downloadopenttd-fca729138db2453956385ecff25c532ecc125641.tar.xz
(svn r27010) -Feature [FS#4126]: more height levels (ic111, ChillCore, CommanderZ)
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 7276307af..af0430936 100644
--- a/src/tile_type.h
+++ b/src/tile_type.h
@@ -17,14 +17,14 @@ static const uint TILE_UNIT_MASK = TILE_SIZE - 1; ///< For masking in/out the in
static const uint TILE_PIXELS = 32; ///< a tile is 32x32 pixels
static const uint TILE_HEIGHT = 8; ///< The standard height-difference between tiles on two levels is 8 (z-diff 8)
-static const uint MAX_TILE_HEIGHT = 15; ///< Maximum allowed tile height
+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 = 15; ///< Default 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_SNOWLINE_HEIGHT = 2; ///< Minimum snowline height
-static const uint DEF_SNOWLINE_HEIGHT = 7; ///< Default snowline height
+static const uint DEF_SNOWLINE_HEIGHT = 15; ///< Default snowline height
static const uint MAX_SNOWLINE_HEIGHT = (MAX_TILE_HEIGHT - 2); ///< Maximum allowed snowline height