forked from mirror/OpenTTD
Add: Setting to allow placing houses manually in-game (#13266)
This commit is contained in:
@@ -91,6 +91,13 @@ enum RightClickClose : uint8_t {
|
||||
RCC_YES_EXCEPT_STICKY,
|
||||
};
|
||||
|
||||
/** Possible values for "place_houses" setting. */
|
||||
enum PlaceHouses : uint8_t {
|
||||
PH_FORBIDDEN = 0,
|
||||
PH_ALLOWED,
|
||||
PH_ALLOWED_CONSTRUCTED,
|
||||
};
|
||||
|
||||
/** Settings related to the difficulty of the game */
|
||||
struct DifficultySettings {
|
||||
uint8_t competitor_start_time; ///< Unused value, used to load old savegames.
|
||||
@@ -529,6 +536,7 @@ struct EconomySettings {
|
||||
TownCargoGenMode town_cargogen_mode; ///< algorithm for generating cargo from houses, @see TownCargoGenMode
|
||||
bool allow_town_roads; ///< towns are allowed to build roads (always allowed when generating world / in SE)
|
||||
TownFounding found_town; ///< town founding.
|
||||
PlaceHouses place_houses; ///< players are allowed to place town houses.
|
||||
bool station_noise_level; ///< build new airports when the town noise level is still within accepted limits
|
||||
uint16_t town_noise_population[4]; ///< population to base decision on noise evaluation (@see town_council_tolerance)
|
||||
bool allow_town_level_crossings; ///< towns are allowed to build level crossings
|
||||
|
Reference in New Issue
Block a user