From f6e4bc765ae9a69e3e0622724c6859d5b315c4af Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 12 Mar 2009 23:54:20 +0000 Subject: (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 --- src/settings_type.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/settings_type.h') 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 */ -- cgit v1.2.3-54-g00ecf