Make auto TT separation rate a company setting.

Move auto TT by default setting to PLYX chunk.
This commit is contained in:
Jonathan G Rennison
2015-10-25 12:47:23 +00:00
parent a380573c32
commit 26d32269a3
8 changed files with 37 additions and 11 deletions

View File

@@ -440,8 +440,9 @@ struct OrderSettings {
bool no_servicing_if_no_breakdowns; ///< don't send vehicles to depot when breakdowns are disabled
bool timetable_automated; ///< whether to automatically manage timetables
bool timetable_separation; ///< whether to perform automatic separation based on timetable
uint8 timetable_separation_rate; ///< percentage of timetable separation change to apply
bool serviceathelipad; ///< service helicopters at helipads automatically (no need to send to depot)
uint8 old_timetable_separation_rate; ///< moved to company settings: percentage of timetable separation change to apply
};
/** Settings related to vehicles. */
@@ -539,6 +540,7 @@ struct CompanySettings {
uint32 engine_renew_money; ///< minimum amount of money before autorenew is used
bool renew_keep_length; ///< sell some wagons if after autoreplace the train is longer than before
VehicleDefaultSettings vehicle; ///< default settings for vehicles
uint8 auto_timetable_separation_rate; ///< percentage of auto timetable separation change to apply
};
/** All settings together for the game. */