summaryrefslogtreecommitdiff
path: root/src/object_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/object_map.h
parent7f86dcca90b20241a210dd5f088e249a902f725c (diff)
downloadopenttd-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.h24
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.