diff options
author | rubidium <rubidium@openttd.org> | 2008-04-06 15:09:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-06 15:09:45 +0000 |
commit | 53d101cc992ff7e5a4839e0598b1b88170300e74 (patch) | |
tree | 902d510152ab0f94357b64fda309b662a1637e12 /src/order_type.h | |
parent | e150643d319c82c54a8246b0aeb8c30a6f2a52d5 (diff) | |
download | openttd-53d101cc992ff7e5a4839e0598b1b88170300e74.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.h | 3 |
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 }; |