Allow specifying a custom number of industries in map generation window
This commit is contained in:
@@ -57,6 +57,8 @@ enum IndustryDensity {
|
||||
ID_NORMAL, ///< Normal amount of industries at game start.
|
||||
ID_HIGH, ///< Many industries at game start.
|
||||
|
||||
ID_CUSTOM, ///< Custom number of industries.
|
||||
|
||||
ID_END, ///< Number of industry density settings.
|
||||
};
|
||||
|
||||
@@ -407,6 +409,7 @@ struct GameCreationSettings {
|
||||
uint8 amount_of_rocks; ///< the amount of rocks
|
||||
uint8 height_affects_rocks; ///< the affect that map height has on rocks
|
||||
uint8 build_public_roads; ///< build public roads connecting towns
|
||||
uint16 custom_industry_number; ///< manually entered number of industries
|
||||
};
|
||||
|
||||
/** Settings related to construction in-game */
|
||||
|
Reference in New Issue
Block a user