OpenTTD
Functions | Variables
cheat_sl.cpp File Reference

Code handling saving and loading of cheats. More...

#include "../stdafx.h"
#include "../cheat_type.h"
#include "saveload.h"
#include "../safeguards.h"

Go to the source code of this file.

Functions

static void Save_CHTS ()
 Save the cheat values.
 
static void Load_CHTS ()
 Load the cheat values.
 

Variables

const ChunkHandler _cheat_chunk_handlers []
 Chunk handlers related to cheats. More...
 

Detailed Description

Code handling saving and loading of cheats.

Definition in file cheat_sl.cpp.

Variable Documentation

◆ _cheat_chunk_handlers

const ChunkHandler _cheat_chunk_handlers[]
Initial value:
= {
{ 'CHTS', Save_CHTS, Load_CHTS, NULL, NULL, CH_RIFF | CH_LAST},
}
static void Save_CHTS()
Save the cheat values.
Definition: cheat_sl.cpp:22
static void Load_CHTS()
Load the cheat values.
Definition: cheat_sl.cpp:39
Last chunk in this array.
Definition: saveload.h:104

Chunk handlers related to cheats.

Referenced by Load_CHTS().