station.h
changeset 1266 eccd576e322f
parent 1247 3851739bfd09
child 1272 9aa073c64fc7
equal deleted inserted replaced
1265:71ed55c20f6e 1266:eccd576e322f
     7 
     7 
     8 typedef struct GoodsEntry {
     8 typedef struct GoodsEntry {
     9 	uint16 waiting_acceptance;
     9 	uint16 waiting_acceptance;
    10 	byte days_since_pickup;
    10 	byte days_since_pickup;
    11 	byte rating;
    11 	byte rating;
    12 	byte enroute_from;
    12 	uint16 enroute_from;
    13 	byte enroute_time;
    13 	byte enroute_time;
    14 	byte last_speed;
    14 	byte last_speed;
    15 	byte last_age;
    15 	byte last_age;
    16 } GoodsEntry;
    16 } GoodsEntry;
    17 
    17 
    18 typedef enum RoadStopType {
    18 typedef enum RoadStopType {
    19 	RS_BUS,
    19 	RS_BUS,
    20 	RS_TRUCK
    20 	RS_TRUCK
    21 } RoadStopType;
    21 } RoadStopType;
    22 
    22 
    23 enum { NUM_ROAD_STOPS = 250 };
    23 enum {
    24 enum { ROAD_STOP_LIMIT = 8 };
    24 	INVALID_STATION = 0xFFFF,
    25 enum { NUM_SLOTS = 2 };
    25 	INVALID_SLOT = 0xFFFF,
    26 enum { INVALID_SLOT = 0xFFFF };
    26 	NUM_SLOTS = 2,
       
    27 	ROAD_STOP_LIMIT = 8,
       
    28 	NUM_ROAD_STOPS = 250,
       
    29 };
    27 
    30 
    28 typedef struct RoadStop {
    31 typedef struct RoadStop {
    29 	TileIndex xy;
    32 	TileIndex xy;
    30 	bool used;
    33 	bool used;
    31 	byte status;
    34 	byte status;