src/station.h
changeset 5838 9c3129cb019b
parent 5726 8f399788f6c9
child 5852 cb3f71b16e1a
equal deleted inserted replaced
5837:96b4b92b86ae 5838:9c3129cb019b
    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;