From 4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 26 Aug 2010 14:45:45 +0000 Subject: (svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame --- src/station_map.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/station_map.h') diff --git a/src/station_map.h b/src/station_map.h index c641c6a33..c8204c40e 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -84,30 +84,6 @@ static inline void SetStationGfx(TileIndex t, StationGfx gfx) _m[t].m5 = gfx; } -/** - * Get the station's animation frame of this tile - * @param t the tile to query - * @pre IsTileType(t, MP_STATION) - * @return the station's animation frame - */ -static inline uint8 GetStationAnimationFrame(TileIndex t) -{ - assert(IsTileType(t, MP_STATION)); - return _me[t].m7; -} - -/** - * Set the station's animation frame of this tile - * @param t the tile to update - * @param frame the new frame - * @pre IsTileType(t, MP_STATION) - */ -static inline void SetStationAnimationFrame(TileIndex t, uint8 frame) -{ - assert(IsTileType(t, MP_STATION)); - _me[t].m7 = frame; -} - /** * Is this station tile a rail station? * @param t the tile to get the information from -- cgit v1.2.3-54-g00ecf