Allow specifying a custom number of industries in map generation window

This commit is contained in:
Jonathan G Rennison
2021-12-08 17:33:32 +00:00
parent b807f0d50e
commit b69521ea87
4 changed files with 48 additions and 5 deletions

View File

@@ -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 */