Adds additional zone configuration for cities, renames existing zone configuration to towns.

This commit is contained in:
reldred
2021-04-10 15:15:16 +09:30
committed by Jonathan G Rennison
parent 272e583478
commit d1d27c0748
7 changed files with 153 additions and 36 deletions

View File

@@ -614,11 +614,16 @@ struct EconomySettings {
int8 town_growth_rate; ///< town growth rate
uint8 town_growth_cargo_transported; ///< percentage of town growth rate which depends on proportion of transported cargo in the last month
bool town_zone_calc_mode; ///< calc mode for town zones
uint16 town_zone_0_mult; ///< multiplier for the size of zone 0
uint16 town_zone_1_mult; ///< multiplier for the size of zone 1
uint16 town_zone_2_mult; ///< multiplier for the size of zone 2
uint16 town_zone_3_mult; ///< multiplier for the size of zone 3
uint16 town_zone_4_mult; ///< multiplier for the size of zone 4
uint16 town_zone_0_mult; ///< multiplier for the size of town zone 0
uint16 town_zone_1_mult; ///< multiplier for the size of town zone 1
uint16 town_zone_2_mult; ///< multiplier for the size of town zone 2
uint16 town_zone_3_mult; ///< multiplier for the size of town zone 3
uint16 town_zone_4_mult; ///< multiplier for the size of town zone 4
uint16 city_zone_0_mult; ///< multiplier for the size of city zone 0
uint16 city_zone_1_mult; ///< multiplier for the size of city zone 1
uint16 city_zone_2_mult; ///< multiplier for the size of city zone 2
uint16 city_zone_3_mult; ///< multiplier for the size of city zone 3
uint16 city_zone_4_mult; ///< multiplier for the size of city zone 4
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
TownLayout town_layout; ///< select town layout, @see TownLayout