summaryrefslogtreecommitdiff
path: root/src/variables.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-04-12 17:24:34 +0000
committermaedhros <maedhros@openttd.org>2007-04-12 17:24:34 +0000
commit61fe35688046b7ef36305ebd92b79bfcc535783f (patch)
tree5610013827e8a819441d28bafece386e0ad98632 /src/variables.h
parentccaaa7d33ac92f91ebddcf4d1f6537639a38a13c (diff)
downloadopenttd-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/variables.h')
-rw-r--r--src/variables.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/variables.h b/src/variables.h
index 97581628f..ce1df0898 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -225,6 +225,9 @@ struct Patches {
uint8 scrollwheel_scrolling;
uint8 scrollwheel_multiplier;
+
+ uint8 town_growth_rate; ///< Town growth rate
+ uint8 larger_towns; ///< 1 in the specified number of towns will grow twice as fast
};
VARDEF Patches _patches;