summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2009-03-12 23:54:20 +0000
committerbelugas <belugas@openttd.org>2009-03-12 23:54:20 +0000
commitf6e4bc765ae9a69e3e0622724c6859d5b315c4af (patch)
treefa98a505935dda8630df645a1ed2db85cd425e43 /src/settings_type.h
parentaf18469455ff19d223ba7e7114f42041fb35aab7 (diff)
downloadopenttd-f6e4bc765ae9a69e3e0622724c6859d5b315c4af.tar.xz
(svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: -the maximum number of towns to be accepted is set to 5000 -the minimum number of towns to be accepted is set to 1 -the number that is specified is NOT guaranteed to be the exact number of towns generated. The normal mechanism of town creation has not been modified. So town placement can still fail. -setting a custom number of town will change your difficulty settings to custom as well
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 6185aae72..e96a25802 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -156,6 +156,7 @@ struct GameCreationSettings {
byte landscape; ///< the landscape we're currently in
byte snow_line; ///< the snowline level in this game
byte water_borders; ///< bitset of the borders that are water
+ uint16 custom_town_number; ///< manually entered number of towns
};
/** Settings related to construction in-game */