(svn r4761) - Newstations: support platform information in variable 10 (callback parameter 1) when building a station

This commit is contained in:
peter1138
2006-05-06 22:30:36 +00:00
parent 9fd5f28934
commit 77a4bc5aac
2 changed files with 10 additions and 3 deletions

View File

@@ -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. */