From c778716264b3c269775029143d54c93168957adc Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 6 May 2006 22:08:14 +0000 Subject: (svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass. --- newgrf_station.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'newgrf_station.h') diff --git a/newgrf_station.h b/newgrf_station.h index bea4535a3..1492d549b 100644 --- a/newgrf_station.h +++ b/newgrf_station.h @@ -102,6 +102,9 @@ const StationSpec *GetCustomStationSpecByGrf(uint32 grfid, byte localidx); SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile); uint16 GetStationCallback(uint16 callback, uint32 param1, uint32 param2, const StationSpec *statspec, const Station *st, TileIndex tile); +/* Check if a rail station tile is traversable. */ +bool IsStationTileBlocked(TileIndex tile); + /* Allocate a StationSpec to a Station. This is called once per build operation. */ int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec); -- cgit v1.2.3-54-g00ecf