summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2004-11-14 09:07:15 +0000
committercelestar <celestar@openttd.org>2004-11-14 09:07:15 +0000
commiteb50427670871854931383f8bf331ddaea3ebc45 (patch)
tree42723b432782d90b954356a8da01ddcb5f40da1d /station.h
parenta9a852a4d61465ba33113239a9264ec39ef4c652 (diff)
downloadopenttd-eb50427670871854931383f8bf331ddaea3ebc45.tar.xz
(svn r581) -newgrf: Basic support for new stations - only waypoints supported now and only
the first custom one can be placed (no selector GUI, coming soon). This also moves some global variables to {struct GRFFile} and reorders which actions are processed in what stage, to get it all working together -- (pasky)
Diffstat (limited to 'station.h')
-rw-r--r--station.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/station.h b/station.h
index da5c4d6bb..10271785f 100644
--- a/station.h
+++ b/station.h
@@ -107,4 +107,8 @@ typedef struct DrawTileSprites {
#define foreach_draw_tile_seq(idx, list) for (idx = list; ((byte) idx->delta_x) != 0x80; idx++)
+void SetCustomStation(uint32 classid, byte stid, DrawTileSprites *data, byte tiles);
+DrawTileSprites *GetCustomStation(uint32 classid, byte stid);
+int GetCustomStationsCount(uint32 classid);
+
#endif /* STATION_H */