summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-06 20:48:40 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-06 20:48:40 +0000
commita7a194c4df25659ef71a2fd4c257a73428b4f837 (patch)
tree4cebbdeb0190e32f9ef2862b27b3eb32fd51267d /newgrf_station.h
parentf689b2087469851b0db826d5d82c6892565cbff6 (diff)
downloadopenttd-a7a194c4df25659ef71a2fd4c257a73428b4f837.tar.xz
(svn r4755) - Newstations: add a gui station tile drawing routine and use it in place of the existing one for waypoints.
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 cd3900d73..50b4dc6ea 100644
--- a/newgrf_station.h
+++ b/newgrf_station.h
@@ -107,4 +107,7 @@ int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec);
/* Deallocate a StationSpec from a Station. Called when removing a single station tile. */
bool DeallocateSpecFromStation(Station *st, byte specindex);
+/* Draw representation of a station tile for GUI purposes. */
+bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID sclass, uint station);
+
#endif /* NEWGRF_STATION_H */