Update orders window when renaming/removing dispatch schedule
This commit is contained in:
@@ -19,7 +19,14 @@ void ShowTimetableWindow(const Vehicle *v);
|
||||
void UpdateVehicleTimetable(Vehicle *v, bool travelling);
|
||||
void SetTimetableParams(int first_param, Ticks ticks, bool long_mode = false);
|
||||
Ticks ParseTimetableDuration(const char *str);
|
||||
void SetTimetableWindowsDirty(const Vehicle *v, bool include_scheduled_dispatch = false);
|
||||
|
||||
enum SetTimetableWindowsDirtyFlags {
|
||||
STWDF_NONE = 0,
|
||||
STWDF_SCHEDULED_DISPATCH = 1 << 0,
|
||||
STWDF_ORDERS = 1 << 1,
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(SetTimetableWindowsDirtyFlags)
|
||||
void SetTimetableWindowsDirty(const Vehicle *v, SetTimetableWindowsDirtyFlags flags = STWDF_NONE);
|
||||
|
||||
struct TimetableProgress {
|
||||
VehicleID id;
|
||||
|
Reference in New Issue
Block a user