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
commitf2a14a813aefd84d11f540017d6400760d2dccca (patch)
tree5610013827e8a819441d28bafece386e0ad98632 /src/variables.h
parent3d81de8d7ecda44d3683163c1d8ecbdb7c17aaca (diff)
downloadopenttd-f2a14a813aefd84d11f540017d6400760d2dccca.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;