summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-25 19:13:55 +0000
committerrubidium <rubidium@openttd.org>2007-06-25 19:13:55 +0000
commitf40646bf82f61aa24235fa60e57c6607a54be416 (patch)
tree876c5604e0a8e4c90ab0fe50fdcd128feef0fca5 /src/settings.cpp
parent6b642ced3399c9491d84c3d9c3280068ecbb56ef (diff)
downloadopenttd-f40646bf82f61aa24235fa60e57c6607a54be416.tar.xz
(svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail type when you start a new game or load a game. This is done either static, i.e. rail, electrified rail, monorail and maglev, or dynamic which takes either the first or last available railtype or the railtype that is used most on the map.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 522063366..e7db26743 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1351,6 +1351,7 @@ const SettingDesc _patch_settings[] = {
SDT_BOOL(Patches, advanced_vehicle_list, S, 0, true, STR_CONFIG_PATCHES_ADVANCED_VEHICLE_LISTS, NULL),
SDT_BOOL(Patches, timetable_in_ticks, S, 0, false, STR_CONFIG_PATCHES_TIMETABLE_IN_TICKS, NULL),
SDT_BOOL(Patches, loading_indicators, S, 0, true, STR_CONFIG_PATCHES_LOADING_INDICATORS, RedrawScreen),
+ SDT_VAR(Patches, default_rail_type, SLE_UINT8, S,MS, 4, 0, 6, 0, STR_CONFIG_PATCHES_DEFAULT_RAIL_TYPE, NULL),
/***************************************************************************/
/* Construction section of the GUI-configure patches window */