OpenTTD Source  20240919-master-gdf0233f4c2
animated_tile_sl.cpp File Reference
#include "../stdafx.h"
#include "saveload.h"
#include "compat/animated_tile_sl_compat.h"
#include "../tile_type.h"
#include "../safeguards.h"

Go to the source code of this file.

Data Structures

struct  ANITChunkHandler
 

Functions

const ChunkHandlerTable _animated_tile_chunk_handlers (animated_tile_chunk_handlers)
 

Variables

std::vector< TileIndex_animated_tiles
 The table/list with animated tiles.
 
static const SaveLoad _animated_tile_desc []
 
static const ANITChunkHandler ANIT
 
static const ChunkHandlerRef animated_tile_chunk_handlers []
 

Detailed Description

Code handling saving and loading of animated tiles

Definition in file animated_tile_sl.cpp.

Variable Documentation

◆ _animated_tile_desc

const SaveLoad _animated_tile_desc[]
static
Initial value:
= {
SLEG_VECTOR("tiles", _animated_tiles, SLE_UINT32),
}

Definition at line 21 of file animated_tile_sl.cpp.

◆ animated_tile_chunk_handlers

const ChunkHandlerRef animated_tile_chunk_handlers[]
static
Initial value:
= {
ANIT,
}

Definition at line 69 of file animated_tile_sl.cpp.

SLEG_VECTOR
#define SLEG_VECTOR(name, variable, type)
Storage of a global vector of SL_VAR elements in every savegame version.
Definition: saveload.h:1194
_animated_tiles
std::vector< TileIndex > _animated_tiles
The table/list with animated tiles.
Definition: animated_tile.cpp:19