summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
Diffstat (limited to 'station.h')
-rw-r--r--station.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/station.h b/station.h
index 54b8a6141..9e3321a54 100644
--- a/station.h
+++ b/station.h
@@ -29,7 +29,7 @@ typedef enum RoadStopType {
enum {
INVALID_STATION = 0xFFFF,
NUM_SLOTS = 2,
- ROAD_STOP_LIMIT = 8,
+ ROAD_STOP_LIMIT = 16,
};
typedef uint16 StationID;
@@ -202,8 +202,9 @@ static inline RoadStopType GetRoadStopType(TileIndex tile)
}
RoadStop * GetPrimaryRoadStop(const Station *st, RoadStopType type);
+uint GetNumRoadStops(const Station* st, RoadStopType type);
RoadStop * AllocateRoadStop( void );
-void ClearSlot(Vehicle *v, RoadStop *rs);
+void ClearSlot(Vehicle *v);
static inline bool IsTrainStationTile(TileIndex tile)
{