summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
Diffstat (limited to 'station.h')
-rw-r--r--station.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/station.h b/station.h
index 826e20961..73ac8f8f7 100644
--- a/station.h
+++ b/station.h
@@ -108,8 +108,16 @@ 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);
+
+struct StationSpec {
+ int globalidx;
+ uint32 classid;
+ byte tiles;
+ DrawTileSprites renderdata[8];
+};
+
+void SetCustomStation(byte stid, struct StationSpec *spec);
+DrawTileSprites *GetCustomStationRenderdata(uint32 classid, byte stid);
int GetCustomStationsCount(uint32 classid);
#endif /* STATION_H */