summaryrefslogtreecommitdiff
path: root/src/station_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-26 14:45:45 +0000
committerrubidium <rubidium@openttd.org>2010-08-26 14:45:45 +0000
commit4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4 (patch)
tree60ad5b19a5b1e1131aee081bdeea8f4d6a83af1e /src/station_map.h
parent7f86dcca90b20241a210dd5f088e249a902f725c (diff)
downloadopenttd-4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4.tar.xz
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
Diffstat (limited to 'src/station_map.h')
-rw-r--r--src/station_map.h24
1 files changed, 0 insertions, 24 deletions
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
@@ -85,30 +85,6 @@ static inline void SetStationGfx(TileIndex t, StationGfx 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
* @pre IsTileType(t, MP_STATION)