src/town.h
changeset 9450 9e7d05b0b1e5
parent 9413 7042a8ec3fa8
child 9463 174d00929d44
equal deleted inserted replaced
9449:240fedf4ed2c 9450:9e7d05b0b1e5
   210 	return (_settings_game.economy.town_layout == TL_RANDOM) ? this->layout : _settings_game.economy.town_layout;
   210 	return (_settings_game.economy.town_layout == TL_RANDOM) ? this->layout : _settings_game.economy.town_layout;
   211 }
   211 }
   212 
   212 
   213 struct HouseSpec {
   213 struct HouseSpec {
   214 	/* Standard properties */
   214 	/* Standard properties */
   215 	Year min_date;                     ///< introduction year of the house
   215 	Year min_year;                     ///< introduction year of the house
   216 	Year max_date;                     ///< last year it can be built
   216 	Year max_year;                     ///< last year it can be built
   217 	byte population;                   ///< population (Zero on other tiles in multi tile house.)
   217 	byte population;                   ///< population (Zero on other tiles in multi tile house.)
   218 	byte removal_cost;                 ///< cost multiplier for removing it
   218 	byte removal_cost;                 ///< cost multiplier for removing it
   219 	StringID building_name;            ///< building name
   219 	StringID building_name;            ///< building name
   220 	uint16 remove_rating_decrease;     ///< rating decrease if removed
   220 	uint16 remove_rating_decrease;     ///< rating decrease if removed
   221 	byte mail_generation;              ///< mail generation multiplier (tile based, as the acceptances below)
   221 	byte mail_generation;              ///< mail generation multiplier (tile based, as the acceptances below)