(svn r6291) -Feature: Vehicle lists from the station window now also got the goto depot button
-Codechange: unified the code for mass goto depot to avoid duplicated code -Fix: Vehicles already on the way to depots will not be cancelled by mass goto depot (made it really hard to send all vehicles at once)
This commit is contained in:
@@ -47,6 +47,11 @@ enum {
|
||||
VLW_STATION_LIST = 2 << 8,
|
||||
};
|
||||
|
||||
static inline bool ValidVLWFlags(uint16 flags)
|
||||
{
|
||||
return (flags == VLW_STANDARD || flags == VLW_SHARED_ORDERS || flags == VLW_STATION_LIST);
|
||||
}
|
||||
|
||||
void PlayerVehWndProc(Window *w, WindowEvent *e);
|
||||
|
||||
void ShowReplaceVehicleWindow(byte vehicletype);
|
||||
|
||||
Reference in New Issue
Block a user