65 if (*ti == curr) ++ti;
void AnimateAnimatedTiles()
Animate all tiles in the animated tile list, i.e. call AnimateTile on them.
void DeleteAnimatedTile(TileIndex tile)
Removes the given tile from the animated tile table.
std::vector< TileIndex > _animated_tiles
The table/list with animated tiles.
void AddAnimatedTile(TileIndex tile, bool mark_dirty)
Add the given tile to the animated tile table (if it does not exist yet).
void InitializeAnimatedTiles()
Initialize all animated tile variables to some known begin point.
Some simple functions to help with accessing containers.
bool include(Container &container, typename Container::const_reference &item)
Helper function to append an item to a container if it is not already contained.
Types for recording game performance data.
@ PFE_GL_LANDSCAPE
Time spent processing other world features.
void MarkTileDirtyByTile(TileIndex tile, int bridge_level_offset, int tile_height_override)
Mark a tile given by its index dirty for repaint.
A number of safeguards to prevent using unsafe methods.
Definition of base types and functions in a cross-platform compatible way.
Generic 'commands' that can be performed on all tiles.
Functions related to (drawing on) viewports.