summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-02-04 20:17:25 +0000
committersmatz <smatz@openttd.org>2009-02-04 20:17:25 +0000
commit832e392855c652766de1bdd15851f81d651eb9d6 (patch)
tree5a4050971fc92ae40d7612fdd0947e42eb1ae263 /src/settings_type.h
parent030984a763c0111ba17c8907a22cffe0eeb05f68 (diff)
downloadopenttd-832e392855c652766de1bdd15851f81d651eb9d6.tar.xz
(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore -Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index c7fec6d4c..d40e2b9c6 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -320,6 +320,7 @@ struct EconomySettings {
uint8 larger_towns; ///< the number of cities to build. These start off larger and grow twice as fast
uint8 initial_city_size; ///< multiplier for the initial size of the cities compared to towns
TownLayoutByte town_layout; ///< select town layout
+ bool allow_town_roads; ///< towns are allowed to build roads (always allowed when generating world / in SE)
bool station_noise_level; ///< build new airports when the town noise level is still within accepted limits
uint16 town_noise_population[3]; ///< population to base decision on noise evaluation (@see town_council_tolerance)
};