(svn r4319) -Codechange: Station map accessors

This commit is contained in:
celestar
2006-04-08 05:24:29 +00:00
parent c146c8b667
commit 75fa1601f2
2 changed files with 8 additions and 2 deletions

View File

@@ -223,6 +223,12 @@ static inline uint GetCustomStationSprite(TileIndex t)
return _m[t].m4;
}
static inline byte GetStationGfx(TileIndex t)
{
assert(IsTileType(t, MP_STATION));
return _m[t].m5;
}
static inline void MakeStation(TileIndex t, Owner o, StationID sid, byte m5)
{