Move order occupancy smoothness to company settings.

This commit is contained in:
Jonathan G Rennison
2015-10-25 21:37:27 +00:00
parent 8001d86350
commit 6d263226d8
7 changed files with 35 additions and 7 deletions

View File

@@ -439,7 +439,8 @@ struct OrderSettings {
bool selectgoods; ///< only send the goods to station if a train has been there
bool no_servicing_if_no_breakdowns; ///< don't send vehicles to depot when breakdowns are disabled
bool serviceathelipad; ///< service helicopters at helipads automatically (no need to send to depot)
uint8 occupancy_smoothness; ///< percentage smoothness of occupancy measurement changes
uint8 old_occupancy_smoothness; ///< moved to company settings: percentage smoothness of occupancy measurement changes
};
/** Settings related to vehicles. */
@@ -536,6 +537,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 order_occupancy_smoothness; ///< percentage smoothness of occupancy measurement changes
};
/** All settings together for the game. */