Add setting for no vehicles introduced after given year

This commit is contained in:
Jonathan G Rennison
2021-03-17 18:51:19 +00:00
parent f7dcd66f08
commit a670e369db
8 changed files with 48 additions and 6 deletions

View File

@@ -566,6 +566,7 @@ struct VehicleSettings {
bool dynamic_engines; ///< enable dynamic allocation of engine data
bool never_expire_vehicles; ///< never expire vehicles
Year no_expire_vehicles_after; ///< do not expire vehicles ater this year
Year no_introduce_vehicles_after; ///< do not introduce vehicles ater this year
byte extend_vehicle_life; ///< extend vehicle life by this many years
byte road_side; ///< the side of the road vehicles drive on
uint8 plane_crashes; ///< number of plane crashes, 0 = none, 1 = reduced, 2 = normal