summaryrefslogtreecommitdiff
path: root/order.h
diff options
context:
space:
mode:
authorpasky <pasky@openttd.org>2005-04-02 01:08:01 +0000
committerpasky <pasky@openttd.org>2005-04-02 01:08:01 +0000
commitc68e9478fe9ec6ac80f08c791de50175e9dd945e (patch)
treeb87a813380757e953eec1f7914dcb1de5288141b /order.h
parenta636a369890263b2f97938a79ca8b9621ac75cb8 (diff)
downloadopenttd-c68e9478fe9ec6ac80f08c791de50175e9dd945e.tar.xz
(svn r2119) - Fix: [ 1172878 ] Trains "Go to depot" button: click twice skip to next order (patch by Loic GUILLOUX). I also added short explanation of OF_/OFB_ difference to order.h.
Diffstat (limited to 'order.h')
-rw-r--r--order.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/order.h b/order.h
index 33708c042..1b93f49c2 100644
--- a/order.h
+++ b/order.h
@@ -15,6 +15,8 @@ enum {
};
/* Order flags -- please use OFB instead OF and use HASBIT/SETBIT/CLEARBIT */
+
+/* Order flag masks - these are for direct bit operations */
enum {
//Flags for stations:
OF_UNLOAD = 0x2,
@@ -28,7 +30,7 @@ enum {
OF_NON_STOP = 0x8
};
-/* Order flags bits */
+/* Order flags bits - these are for the *BIT macros */
enum {
OFB_UNLOAD = 1,
OFB_FULL_LOAD = 2,
@@ -37,6 +39,7 @@ enum {
OFB_NON_STOP = 3
};
+
/* Possible clone options */
enum {
CO_SHARE = 0,