summaryrefslogtreecommitdiff
path: root/src/order_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-06 15:09:45 +0000
committerrubidium <rubidium@openttd.org>2008-04-06 15:09:45 +0000
commitfb1c4eccd840cd05ee3bf00c3b757829c9c72ef0 (patch)
tree902d510152ab0f94357b64fda309b662a1637e12 /src/order_type.h
parent5d8e3adcccda4b89b03c925c5d061621df2e5e10 (diff)
downloadopenttd-fb1c4eccd840cd05ee3bf00c3b757829c9c72ef0.tar.xz
(svn r12593) -Codechange: hide Order's flags in most of the code.
Diffstat (limited to 'src/order_type.h')
-rw-r--r--src/order_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/order_type.h b/src/order_type.h
index 8d22135dd..cf2740b73 100644
--- a/src/order_type.h
+++ b/src/order_type.h
@@ -52,8 +52,10 @@ enum OrderFlagMasks {
//Flags for depots:
/** The current depot-order was initiated because it was in the vehicle's order list */
+ OFB_MANUAL_ORDER = 0x0,
OFB_PART_OF_ORDERS = 0x2,
/** if OFB_PART_OF_ORDERS is not set, this will cause the vehicle to be stopped in the depot */
+ OFB_NORMAL_ACTION = 0x0,
OFB_HALT_IN_DEPOT = 0x4,
/** if OFB_PART_OF_ORDERS is set, this will cause the order only be come active if the vehicle needs servicing */
OFB_SERVICE_IF_NEEDED = 0x4, //used when OFB_PART_OF_ORDERS is set.
@@ -61,6 +63,7 @@ enum OrderFlagMasks {
//Common flags
/** This causes the vehicle not to stop at intermediate OR the destination station (depending on patch settings)
* @todo make this two different flags */
+ OFB_NO_NON_STOP = 0x0,
OFB_NON_STOP = 0x8
};