summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-06 22:08:14 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-06 22:08:14 +0000
commit6e2b98b060f2aaeb2b0852f04296dc89823ef0bb (patch)
tree632c341e983c1ff365c6cc9ac2b80ef650c7a24a /newgrf_station.h
parent10992deeb3be7b555246222d0f9242145c5ea3b2 (diff)
downloadopenttd-6e2b98b060f2aaeb2b0852f04296dc89823ef0bb.tar.xz
(svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.
Diffstat (limited to 'newgrf_station.h')
-rw-r--r--newgrf_station.h3
1 files changed, 3 insertions, 0 deletions
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);