94 |
94 |
95 void SetCustomStationSpec(StationSpec *statspec); |
95 void SetCustomStationSpec(StationSpec *statspec); |
96 const StationSpec *GetCustomStationSpec(StationClassID sclass, uint station); |
96 const StationSpec *GetCustomStationSpec(StationClassID sclass, uint station); |
97 const StationSpec *GetCustomStationSpecByGrf(uint32 grfid, byte localidx); |
97 const StationSpec *GetCustomStationSpecByGrf(uint32 grfid, byte localidx); |
98 |
98 |
|
99 /* Evaluate a tile's position within a station, and return the result a bitstuffed format. */ |
|
100 uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, int y, bool centred); |
|
101 |
99 /* Get sprite offset for a given custom station and station structure (may be |
102 /* Get sprite offset for a given custom station and station structure (may be |
100 * NULL - that means we are in a build dialog). The station structure is used |
103 * NULL - that means we are in a build dialog). The station structure is used |
101 * for variational sprite groups. */ |
104 * for variational sprite groups. */ |
102 SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile); |
105 SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile); |
103 uint16 GetStationCallback(uint16 callback, uint32 param1, uint32 param2, const StationSpec *statspec, const Station *st, TileIndex tile); |
106 uint16 GetStationCallback(uint16 callback, uint32 param1, uint32 param2, const StationSpec *statspec, const Station *st, TileIndex tile); |