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/industry_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/industry_map.h')
-rw-r--r-- | src/industry_map.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/industry_map.h b/src/industry_map.h index 5cf335be0..39d8169e6 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -229,29 +229,6 @@ static inline void SetIndustryAnimationLoop(TileIndex tile, byte count) } /** - * Get the animation state - * @param tile the tile to get the animation state of - * @pre IsTileType(tile, MP_INDUSTRY) - */ -static inline byte GetIndustryAnimationState(TileIndex tile) -{ - assert(IsTileType(tile, MP_INDUSTRY)); - return _me[tile].m7; -} - -/** - * Set the animation state - * @param tile the tile to set the animation state of - * @param state the new animation state - * @pre IsTileType(tile, MP_INDUSTRY) - */ -static inline void SetIndustryAnimationState(TileIndex tile, byte state) -{ - assert(IsTileType(tile, MP_INDUSTRY)); - _me[tile].m7 = state; -} - -/** * Get the random bits for this tile. * Used for grf callbacks * @param tile TileIndex of the tile to query |