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
commitdb77493ac0bf3a66a55683a469dc106641895d19 (patch)
tree4cebbdeb0190e32f9ef2862b27b3eb32fd51267d /newgrf_station.h
parent09bb8ba10c0c808e17d72741b08be0eb4549c2f5 (diff)
downloadopenttd-db77493ac0bf3a66a55683a469dc106641895d19.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 */