OpenTTD Source  20241108-master-g80f628063a
animated_tile_sl.cpp File Reference

Code handling saving and loading of animated tiles. More...

#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),
}
std::vector< TileIndex > _animated_tiles
The table/list with animated tiles.
#define SLEG_VECTOR(name, variable, type)
Storage of a global vector of SL_VAR elements in every savegame version.
Definition: saveload.h:1198

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.