diff options
-rw-r--r-- | order.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -15,15 +15,17 @@ enum { }; /* Order types */ -typedef enum OrderTypes { +enum OrderTypes { OT_NOTHING = 0, OT_GOTO_STATION = 1, OT_GOTO_DEPOT = 2, OT_LOADING = 3, OT_LEAVESTATION = 4, OT_DUMMY = 5, - OT_GOTO_WAYPOINT = 6 -} OrderType; + OT_GOTO_WAYPOINT = 6, +}; +/* It needs to be 8bits, because we save and load it as such */ +typedef uint8 OrderType; /* Order flags -- please use OFB instead OF and use HASBIT/SETBIT/CLEARBIT */ |