summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-08-31 17:42:27 +0000
committerbjarni <bjarni@openttd.org>2006-08-31 17:42:27 +0000
commit3367b2a95be5f617a31bfd4499a425f4d5ba2d62 (patch)
tree7cee52c2204431e128f6cdae5ebf7c45e6e1dc8c /vehicle.h
parent8ff4c6d7a56725e515e63918d2692709b4e19d25 (diff)
downloadopenttd-3367b2a95be5f617a31bfd4499a425f4d5ba2d62.tar.xz
(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
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index b9226db78..28c4b0b61 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -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 {