summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-12-31 10:41:03 +0000
committerpeter1138 <peter1138@openttd.org>2009-12-31 10:41:03 +0000
commit739aea3e1afb150100c06362d098b6e19ef2342e (patch)
tree96a085088fe20b79b8cd5267ca3361b68b536835 /src/table
parent2d14ced236388a69e80a5031c359d7f1f912a0d1 (diff)
downloadopenttd-739aea3e1afb150100c06362d098b6e19ef2342e.tar.xz
(svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen)
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index 8c2e6b5e1..232e55355 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -372,6 +372,7 @@ const SettingDesc _settings[] = {
SDT_CONDVAR(GameSettings, economy.found_town, SLE_UINT8,128, SL_MAX_VERSION, 0,MS,TF_FORBIDDEN,TF_BEGIN,TF_END - 1, 1, STR_CONFIG_SETTING_TOWN_FOUNDING, TownFoundingChanged),
SDT_VAR(GameSettings, vehicle.train_acceleration_model, SLE_UINT8, 0,MS, 0, 0, 1, 1, STR_CONFIG_SETTING_TRAIN_ACCELERATION_MODEL, TrainAccelerationModelChanged),
+ SDT_CONDVAR(GameSettings, vehicle.train_slope_steepness, SLE_UINT8,133, SL_MAX_VERSION, 0, 0, 3, 0, 10, 1, STR_CONFIG_SETTING_TRAIN_SLOPE_STEEPNESS, NULL),
SDT_BOOL(GameSettings, pf.forbid_90_deg, 0, 0, false, STR_CONFIG_SETTING_FORBID_90_DEG, NULL),
SDT_BOOL(GameSettings, vehicle.mammoth_trains, 0,NN, true, STR_CONFIG_SETTING_MAMMOTHTRAINS, NULL),
SDT_BOOL(GameSettings, order.gotodepot, 0, 0, true, STR_CONFIG_SETTING_GOTODEPOT, NULL),