summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-08-29 23:39:57 +0000
committerbjarni <bjarni@openttd.org>2006-08-29 23:39:57 +0000
commit15f92083028b9d10b73739ce78be108c62a73759 (patch)
treed40d87b7909a66cde4dabc692991518710af28ed /vehicle.c
parentb85a5d8cc87187345707cbe3c47dbb5a4ef8de27 (diff)
downloadopenttd-15f92083028b9d10b73739ce78be108c62a73759.tar.xz
(svn r6229) -Feature: Shared order lists now got a "goto depot" button
this will try to send all vehicles in the list to depots/hangars currently if one fails to find a depot, it will not tell the player
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/vehicle.c b/vehicle.c
index 52fc7a0e6..6b75e6418 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -67,6 +67,13 @@ static const uint32 _veh_refit_proc_table[] = {
CMD_REFIT_AIRCRAFT,
};
+const uint32 _send_to_depot_proc_table[] = {
+ CMD_TRAIN_GOTO_DEPOT,
+ CMD_SEND_ROADVEH_TO_DEPOT,
+ CMD_SEND_SHIP_TO_DEPOT,
+ CMD_SEND_AIRCRAFT_TO_HANGAR,
+};
+
enum {
/* Max vehicles: 64000 (512 * 125) */