12 #include "../stdafx.h" 13 #include "../tile_type.h" 14 #include "../core/alloc_func.hpp" 18 #include "../safeguards.h" TileIndex * _animated_tile_list
The table/list with animated tiles.
size_t SlGetFieldLength()
Get the length of the current object.
void SlArray(void *array, size_t length, VarType conv)
Save/Load an array.
static void Save_ANIT()
Save the ANIT chunk.
Functions/types related to saving and loading games.
static void Load_ANIT()
Load the ANIT chunk; the chunk containing the animated tiles.
const ChunkHandler _animated_tile_chunk_handlers[]
"Definition" imported by the saveload code to be able to load and save the animated tile table...
static bool IsSavegameVersionBefore(uint16 major, byte minor=0)
Checks whether the savegame is below major.
Handlers and description of chunk.
uint32 TileIndex
The index/ID of a Tile.
uint _animated_tile_count
The number of animated tiles in the current state.
void SlSetLength(size_t length)
Sets the length of either a RIFF object or the number of items in an array.
uint _animated_tile_allocated
The number of slots for animated tiles allocated currently.
Last chunk in this array.