summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-08-30 21:39:01 +0000
committerbjarni <bjarni@openttd.org>2006-08-30 21:39:01 +0000
commit1d011b57d25b94028631a8ffa35c66b394c34916 (patch)
treee623f356bdcb29cc6664a3dd44ee29114e6db20e /vehicle.h
parentd5ebb2b359cfbf797d5b6de64099344341406c6b (diff)
downloadopenttd-1d011b57d25b94028631a8ffa35c66b394c34916.tar.xz
(svn r6246) -Feature: added the many times requested "send all vehicle to depot" button
it's located in the vehicle list screen and does the same as in the shared orders window (send all vehicles in list to a depot) it will still not inform the player if a vehicle failed to find a depot, so don't take for granted that all of them go
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 857323415..683e7acd1 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -314,6 +314,8 @@ int CheckTrainStoppedInDepot(const Vehicle *v);
bool VehicleNeedsService(const Vehicle *v);
+int32 SendAllVehiclesToDepot(byte type, uint32 flags, bool service, PlayerID owner);
+
typedef struct GetNewVehiclePosResult {
int x,y;
TileIndex old_tile;