OpenTTD Source: src/saveload/animated_tile_sl.cpp File Reference

OpenTTD Source 13.2.1

Data Structures | Variables
animated_tile_sl.cpp File Reference
`#include "../stdafx.h"`
`#include "saveload.h"`
`#include "compat/animated_tile_sl_compat.h"`
`#include "../tile_type.h"`
`#include "../core/alloc_func.hpp"`
`#include "../core/smallvec_type.hpp"`
`#include "../safeguards.h"`

Go to the source code of this file.

## Data Structures
struct | ANITChunkHandler

## 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 []
const ChunkHandlerTable | _animated_tile_chunk_handlers (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 23 of file animated_tile_sl.cpp.

## ◆ animated_tile_chunk_handlers

const ChunkHandlerRef animated_tile_chunk_handlers[]
| static

Initial value:
= {
ANIT,
}

Definition at line 71 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:998
_animated_tiles
std::vector< TileIndex > _animated_tiles
The table/list with animated tiles.
Definition: animated_tile.cpp:20