summaryrefslogtreecommitdiff
path: root/order.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-03-20 08:43:29 +0000
committercelestar <celestar@openttd.org>2005-03-20 08:43:29 +0000
commita9c0a173bf416ef7af16f71a6332d2733c75d856 (patch)
tree8b29056376eae4d8c996e8f1964095b4f7d3081f /order.h
parent00ff85dcb8e0a396732dd4d49980833f70b04117 (diff)
downloadopenttd-a9c0a173bf416ef7af16f71a6332d2733c75d856.tar.xz
(svn r2034) -Codechange: Replaced the rather meaningless LOAD and UNLOAD flags for depots by something more meaningful
Diffstat (limited to 'order.h')
-rw-r--r--order.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/order.h b/order.h
index 840e1ec22..33708c042 100644
--- a/order.h
+++ b/order.h
@@ -16,16 +16,25 @@ enum {
/* Order flags -- please use OFB instead OF and use HASBIT/SETBIT/CLEARBIT */
enum {
- OF_UNLOAD = 0x2,
- OF_FULL_LOAD = 0x4, // Also used when to force an aircraft into a depot
+ //Flags for stations:
+ OF_UNLOAD = 0x2,
+ OF_FULL_LOAD = 0x4, // Also used when to force an aircraft into a depot
+
+ //Flags for depots:
+ OF_PART_OF_ORDERS = 0x2,
+ OF_HALT_IN_DEPOT = 0x4,
+
+ //Common flags
OF_NON_STOP = 0x8
};
/* Order flags bits */
enum {
- OFB_UNLOAD = 1,
- OFB_FULL_LOAD = 2,
- OFB_NON_STOP = 3
+ OFB_UNLOAD = 1,
+ OFB_FULL_LOAD = 2,
+ OFB_PART_OF_ORDERS = 1,
+ OFB_HALT_IN_DEPOT = 2,
+ OFB_NON_STOP = 3
};
/* Possible clone options */