From f2a14a813aefd84d11f540017d6400760d2dccca Mon Sep 17 00:00:00 2001 From: maedhros Date: Thu, 12 Apr 2007 17:24:34 +0000 Subject: (svn r9613) -Feature: Make it possible to have some control over the town growth. The default rate is TTD's original rate, and to approximate OpenTTD's previous behaviour the rate should be set to "Fast" or "Very Fast". Town growth can be switched off entirely, and if so, buildings will not be rebuilt. It is also possible to specify a proportion of towns that grow twice as fast as the others. --- src/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 2836df2d7..c622ecbbb 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1392,6 +1392,8 @@ const SettingDesc _patch_settings[] = { SDT_VAR(Patches, ending_year, SLE_INT32,0,NC|NO,2051, MIN_YEAR, MAX_YEAR, 1, STR_CONFIG_PATCHES_ENDING_YEAR, NULL), SDT_BOOL(Patches, smooth_economy, 0, 0, true, STR_CONFIG_PATCHES_SMOOTH_ECONOMY, NULL), SDT_BOOL(Patches, allow_shares, 0, 0, false, STR_CONFIG_PATCHES_ALLOW_SHARES, NULL), + SDT_CONDVAR(Patches, town_growth_rate, SLE_UINT8, 54, SL_MAX_VERSION, 0, MS, 2, 0, 4, 0, STR_CONFIG_PATCHES_TOWN_GROWTH, NULL), + SDT_CONDVAR(Patches, larger_towns, SLE_UINT8, 54, SL_MAX_VERSION, 0, D0, 4, 0, 255, 1, STR_CONFIG_PATCHES_LARGER_TOWNS, NULL), /***************************************************************************/ /* AI section of the GUI-configure patches window */ -- cgit v1.2.3-54-g00ecf