(svn r6282) -Codechange: made a function to create the vehicle list for vehicle list windows

this list is also used by mass goto depot to ensure that they use the same vehicles
	right now only the list of all vehicles use this for goto depot, but eventually all the types will use this
This commit is contained in:
bjarni
2006-08-31 17:42:27 +00:00
parent 8ff4c6d7a5
commit 3367b2a95b
3 changed files with 84 additions and 60 deletions

View File

@@ -314,6 +314,7 @@ int CheckTrainStoppedInDepot(const Vehicle *v);
bool VehicleNeedsService(const Vehicle *v);
uint GenerateVehicleSortList(const Vehicle** sort_list, byte type, PlayerID owner, StationID station, OrderID order, uint16 window_type);
int32 SendAllVehiclesToDepot(byte type, uint32 flags, bool service, PlayerID owner);
typedef struct GetNewVehiclePosResult {