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
commit386468dc72367e7669cf6349214a0ceaf4d3ea89 (patch)
treed40d87b7909a66cde4dabc692991518710af28ed /vehicle.c
parent1305b2365f623b5de2e80ac8c30abc266cf02ff9 (diff)
downloadopenttd-386468dc72367e7669cf6349214a0ceaf4d3ea89.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) */