diff options
author | rubidium <rubidium@openttd.org> | 2010-08-26 14:45:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-26 14:45:45 +0000 |
commit | 4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4 (patch) | |
tree | 60ad5b19a5b1e1131aee081bdeea8f4d6a83af1e /src/object_map.h | |
parent | 7f86dcca90b20241a210dd5f088e249a902f725c (diff) | |
download | openttd-4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4.tar.xz |
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
Diffstat (limited to 'src/object_map.h')
-rw-r--r-- | src/object_map.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/object_map.h b/src/object_map.h index bf6e33858..06485d8ff 100644 --- a/src/object_map.h +++ b/src/object_map.h @@ -106,30 +106,6 @@ static inline bool IsStatueTile(TileIndex t) return IsTileType(t, MP_OBJECT) && IsStatue(t); } -/** - * Get animation stage/counter of this tile. - * @param t The tile to query. - * @pre IsTileType(t, MP_OBJECT) - * @return The animation 'stage' of the tile. - */ -static inline byte GetObjectAnimationStage(TileIndex t) -{ - assert(IsTileType(t, MP_OBJECT)); - return _me[t].m7; -} - -/** - * Set animation stage/counter of this tile. - * @param t The tile to query. - * @param stage The stage of this tile. - * @pre IsTileType(t, MP_OBJECT) - */ -static inline void SetObjectAnimationStage(TileIndex t, uint8 stage) -{ - assert(IsTileType(t, MP_OBJECT)); - _me[t].m7 = stage; -} - /** * Make an Object tile. |