Ensure that timetable and scheduled dispatch windows redrawn as required
Reduce inefficient window and shared order list iteration
This commit is contained in:
@@ -1102,4 +1102,10 @@ inline bool MayBeShown(const Window *w)
|
||||
}
|
||||
}
|
||||
|
||||
struct GeneralVehicleWindow : public Window {
|
||||
const Vehicle *vehicle;
|
||||
|
||||
GeneralVehicleWindow(WindowDesc *desc, const Vehicle *v) : Window(desc), vehicle(v) {}
|
||||
};
|
||||
|
||||
#endif /* WINDOW_GUI_H */
|
||||
|
Reference in New Issue
Block a user