(svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.

This commit is contained in:
peter1138
2006-05-06 22:08:14 +00:00
parent 6b8b8395e4
commit c778716264
4 changed files with 26 additions and 1 deletions

View File

@@ -102,6 +102,9 @@ const StationSpec *GetCustomStationSpecByGrf(uint32 grfid, byte localidx);
SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile);
uint16 GetStationCallback(uint16 callback, uint32 param1, uint32 param2, const StationSpec *statspec, const Station *st, TileIndex tile);
/* Check if a rail station tile is traversable. */
bool IsStationTileBlocked(TileIndex tile);
/* Allocate a StationSpec to a Station. This is called once per build operation. */
int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec);