summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
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 5be5b669e..4ff686b37 100644
--- a/newgrf_station.h
+++ b/newgrf_station.h
@@ -96,6 +96,9 @@ void SetCustomStationSpec(StationSpec *statspec);
const StationSpec *GetCustomStationSpec(StationClassID sclass, uint station);
const StationSpec *GetCustomStationSpecByGrf(uint32 grfid, byte localidx);
+/* Evaluate a tile's position within a station, and return the result a bitstuffed format. */
+uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, int y, bool centred);
+
/* Get sprite offset for a given custom station and station structure (may be
* NULL - that means we are in a build dialog). The station structure is used
* for variational sprite groups. */