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

OpenTTD Source 1.11.0-RC1

Functions | Variables
cheat_sl.cpp File Reference
`#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, nullptr, nullptr, CH_RIFF | CH_LAST},
}

Chunk handlers related to cheats.

Load_CHTS
static void Load_CHTS()
Load the cheat values.
Definition: cheat_sl.cpp:37
CH_LAST
@ CH_LAST
Last chunk in this array.
Definition: saveload.h:410
Save_CHTS
static void Save_CHTS()
Save the cheat values.
Definition: cheat_sl.cpp:20