diff options
author | celestar <celestar@openttd.org> | 2005-03-20 08:43:29 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-03-20 08:43:29 +0000 |
commit | a9c0a173bf416ef7af16f71a6332d2733c75d856 (patch) | |
tree | 8b29056376eae4d8c996e8f1964095b4f7d3081f /order.h | |
parent | 00ff85dcb8e0a396732dd4d49980833f70b04117 (diff) | |
download | openttd-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.h | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -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 */ |