diff options
author | maedhros <maedhros@openttd.org> | 2007-04-12 17:24:34 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-04-12 17:24:34 +0000 |
commit | 61fe35688046b7ef36305ebd92b79bfcc535783f (patch) | |
tree | 5610013827e8a819441d28bafece386e0ad98632 /src/settings.cpp | |
parent | ccaaa7d33ac92f91ebddcf4d1f6537639a38a13c (diff) | |
download | openttd-61fe35688046b7ef36305ebd92b79bfcc535783f.tar.xz |
(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.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |