summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-05-08 21:59:36 +0000
committerglx <glx@openttd.org>2006-05-08 21:59:36 +0000
commitcd3c14133640fde8d6d12ab59f869baa6d6f5724 (patch)
tree87873445dadc459a7e9897c13eba0899ad07422a /newgrf_station.h
parent8fa9ff068fcfc030ffaf6ecc62d97ffbe66abe5a (diff)
downloadopenttd-cd3c14133640fde8d6d12ab59f869baa6d6f5724.tar.xz
(svn r4785) - Newstations: don't draw catenary on non-track tiles
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 b7ec6063e..33f3d732a 100644
--- a/newgrf_station.h
+++ b/newgrf_station.h
@@ -112,6 +112,9 @@ uint16 GetStationCallback(uint16 callback, uint32 param1, uint32 param2, const S
/* Check if a rail station tile is traversable. */
bool IsStationTileBlocked(TileIndex tile);
+/* Check if a rail station tile is electrifiable. */
+bool IsStationTileElectrifiable(TileIndex tile);
+
/* Allocate a StationSpec to a Station. This is called once per build operation. */
int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec);