OpenTTD
animated_tile_func.h
Go to the documentation of this file.
1 /* $Id: animated_tile_func.h 23704 2012-01-01 17:22:32Z alberth $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8  */
9 
12 #ifndef ANIMATED_TILE_FUNC_H
13 #define ANIMATED_TILE_FUNC_H
14 
15 #include "tile_type.h"
16 
17 void AddAnimatedTile(TileIndex tile);
18 void DeleteAnimatedTile(TileIndex tile);
21 
22 #endif /* ANIMATED_TILE_FUNC_H */
void InitializeAnimatedTiles()
Initialize all animated tile variables to some known begin point.
void AnimateAnimatedTiles()
Animate all tiles in the animated tile list, i.e. call AnimateTile on them.
uint32 TileIndex
The index/ID of a Tile.
Definition: tile_type.h:80
void AddAnimatedTile(TileIndex tile)
Add the given tile to the animated tile table (if it does not exist on that table yet)...
Types related to tiles.
void DeleteAnimatedTile(TileIndex tile)
Removes the given tile from the animated tile table.