uint32 TileIndex
The index/ID of a Tile.
bool include(std::vector< T > &vec, const T &item)
Helper function to append an item to a vector if it is not already contained Consider using std::set,...
std::vector< TileIndex > _animated_tiles
The table/list with animated tiles.
@ PFE_GL_LANDSCAPE
Time spent processing other world features.
void DeleteAnimatedTile(TileIndex tile)
Removes the given tile from the animated tile table.
void MarkTileDirtyByTile(TileIndex tile, int bridge_level_offset, int tile_height_override)
Mark a tile given by its index dirty for repaint.
void AnimateAnimatedTiles()
Animate all tiles in the animated tile list, i.e. call AnimateTile on them.
void InitializeAnimatedTiles()
Initialize all animated tile variables to some known begin point.
void AddAnimatedTile(TileIndex tile)
Add the given tile to the animated tile table (if it does not exist on that table yet).