OpenTTD Source  1.11.2
animated_tile_sl.cpp File Reference
#include "../stdafx.h"
#include "../tile_type.h"
#include "../core/alloc_func.hpp"
#include "../core/smallvec_type.hpp"
#include "saveload.h"
#include "../safeguards.h"

Go to the source code of this file.

Functions

static void Save_ANIT ()
 Save the ANIT chunk.
 
static void Load_ANIT ()
 Load the ANIT chunk; the chunk containing the animated tiles.
 

Variables

std::vector< TileIndex_animated_tiles
 The table/list with 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. More...
 

Detailed Description

Code handling saving and loading of animated tiles

Definition in file animated_tile_sl.cpp.

Variable Documentation

◆ _animated_tile_chunk_handlers

const ChunkHandler _animated_tile_chunk_handlers[]
Initial value:
= {
{ 'ANIT', Save_ANIT, Load_ANIT, nullptr, nullptr, CH_RIFF | CH_LAST},
}

"Definition" imported by the saveload code to be able to load and save the animated tile table.

CH_LAST
@ CH_LAST
Last chunk in this array.
Definition: saveload.h:411
Load_ANIT
static void Load_ANIT()
Load the ANIT chunk; the chunk containing the animated tiles.
Definition: animated_tile_sl.cpp:33
Save_ANIT
static void Save_ANIT()
Save the ANIT chunk.
Definition: animated_tile_sl.cpp:24