summaryrefslogtreecommitdiff
path: root/src/table
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/table
parent9daf7e749ccb00873443e2261379bf31999664d9 (diff)
downloadopenttd-f41b55f0ff6ee71d8e40cd522ae175bcb28c35c5.tar.xz
(svn r26880) -Add: stub settings for limiting bridge and map height
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 3e5a222de..e74b11e52 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -377,6 +377,19 @@ proc = CheckRoadSide
; Construction
+[SDT_VAR]
+base = GameSettings
+var = construction.max_heightlevel
+type = SLE_UINT8
+from = 194
+guiflags = SGF_NEWGAME_ONLY | SGF_NO_NETWORK
+def = DEF_MAX_HEIGHTLEVEL
+min = MIN_MAX_HEIGHTLEVEL
+max = MAX_MAX_HEIGHTLEVEL
+interval = 1
+strval = STR_JUST_INT
+cat = SC_BASIC
+
[SDT_BOOL]
base = GameSettings
var = construction.build_on_slopes
@@ -496,6 +509,19 @@ strval = STR_CONFIG_SETTING_TILE_LENGTH
[SDT_VAR]
base = GameSettings
+var = construction.max_bridge_height
+type = SLE_UINT8
+from = 194
+guiflags = SGF_NO_NETWORK
+def = 12
+min = 1
+max = MAX_TILE_HEIGHT
+interval = 1
+strval = STR_JUST_COMMA
+cat = SC_EXPERT
+
+[SDT_VAR]
+base = GameSettings
var = construction.max_tunnel_length
type = SLE_UINT16
from = 159