summaryrefslogtreecommitdiff
path: root/src/vehicle_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-11 08:40:10 +0000
committerrubidium <rubidium@openttd.org>2008-04-11 08:40:10 +0000
commit570519d79b77fe6abc376d498b1077214bbe28e4 (patch)
tree796de051cb4c952b1c1b0b10a84a34081dfbf2bb /src/vehicle_func.h
parent62bdc381e7dffac0e4898ba733bbfc434fdd00b4 (diff)
downloadopenttd-570519d79b77fe6abc376d498b1077214bbe28e4.tar.xz
(svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands.
Diffstat (limited to 'src/vehicle_func.h')
-rw-r--r--src/vehicle_func.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vehicle_func.h b/src/vehicle_func.h
index 460f30f5e..a884e8fd9 100644
--- a/src/vehicle_func.h
+++ b/src/vehicle_func.h
@@ -76,14 +76,6 @@ bool CanBuildVehicleInfrastructure(VehicleType type);
void CcCloneVehicle(bool success, TileIndex tile, uint32 p1, uint32 p2);
-/* Flags to add to p2 for goto depot commands */
-/* Note: bits 8-10 are used for VLW flags */
-enum {
- DEPOT_SERVICE = (1 << 0), // The vehicle will leave the depot right after arrival (serivce only)
- DEPOT_MASS_SEND = (1 << 1), // Tells that it's a mass send to depot command (type in VLW flag)
- DEPOT_DONT_CANCEL = (1 << 2), // Don't cancel current goto depot command if any
- DEPOT_LOCATE_HANGAR = (1 << 3), // Find another airport if the target one lacks a hangar
-};
struct GetNewVehiclePosResult {
int x, y;