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 | fbc2eacadedf6638ec483d4a1523b0d88b2330c9 (patch) | |
tree | 8b29056376eae4d8c996e8f1964095b4f7d3081f /order.h | |
parent | 087d78d4655c36996396b3e98d489891d767252c (diff) | |
download | openttd-fbc2eacadedf6638ec483d4a1523b0d88b2330c9.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 */ |