TBTR: Mark vehicles as requiring service on template/replacement change

This commit is contained in:
Jonathan G Rennison
2023-03-24 11:46:16 +00:00
parent d30157a113
commit bd837a2fcd
6 changed files with 103 additions and 22 deletions

View File

@@ -63,6 +63,7 @@ enum VehicleFlags {
VF_AUTOMATE_TIMETABLE = 15, ///< Whether the vehicle should manage the timetable automatically.
VF_HAVE_SLOT = 16, ///< Vehicle has 1 or more slots
VF_COND_ORDER_WAIT = 17, ///< Vehicle is waiting due to conditional order loop
VF_REPLACEMENT_PENDING = 18, ///< Autoreplace or template replacement is pending, vehicle should visit the depot
};
/** Bit numbers used to indicate which of the #NewGRFCache values are valid. */