src/station.h
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5643 3778051e8095
child 5852 cb3f71b16e1a
equal deleted inserted replaced
5649:55c8267c933f 5650:aefc131bf5ce
    24 	RS_BUS,
    24 	RS_BUS,
    25 	RS_TRUCK
    25 	RS_TRUCK
    26 } RoadStopType;
    26 } RoadStopType;
    27 
    27 
    28 enum {
    28 enum {
    29 	INVALID_STATION = 0xFFFF,
       
    30 	ROAD_STOP_LIMIT = 16,
    29 	ROAD_STOP_LIMIT = 16,
    31 };
    30 };
       
    31 
       
    32 static const StationID INVALID_STATION = 0xFFFF;
    32 
    33 
    33 typedef struct RoadStop {
    34 typedef struct RoadStop {
    34 	TileIndex xy;
    35 	TileIndex xy;
    35 	bool used;
    36 	bool used;
    36 	byte status;
    37 	byte status;
    62 	uint16 had_vehicle_of_type;
    63 	uint16 had_vehicle_of_type;
    63 
    64 
    64 	byte time_since_load;
    65 	byte time_since_load;
    65 	byte time_since_unload;
    66 	byte time_since_unload;
    66 	byte delete_ctr;
    67 	byte delete_ctr;
    67 	PlayerID owner;
    68 	PlayerByte owner;
    68 	byte facilities;
    69 	byte facilities;
    69 	byte airport_type;
    70 	byte airport_type;
    70 
    71 
    71 	// trainstation width/height
    72 	// trainstation width/height
    72 	byte trainst_w, trainst_h;
    73 	byte trainst_w, trainst_h;