OpenTTD Source: src/cheat.cpp File Reference

OpenTTD Source 15.3

Functions | Variables
cheat.cpp File Reference

Handling (loading/saving/initializing) of cheats. More...

`#include "stdafx.h"`
`#include "cheat_type.h"`
`#include "safeguards.h"`

Go to the source code of this file.

## Functions
void | InitializeCheats ()
| Reinitialise all the cheats.

## Variables
Cheats | _cheats
| All the cheats.

## Detailed Description

Handling (loading/saving/initializing) of cheats.

Definition in file cheat.cpp.

## Function Documentation

## ◆ InitializeCheats()

void InitializeCheats | ( |  | ) |

Reinitialise all the cheats.

Definition at line 19 of file cheat.cpp.

References _cheats.

## Variable Documentation

## ◆ _cheats

Cheats _cheats

All the cheats.

Definition at line 16 of file cheat.cpp.

Referenced by ChangeTownRating(), CheckAllowRemoveRoad(), CheckAllowRemoveTunnelBridge(), CheckforTownRating(), CheckOrders(), ClearTile_Town(), ClickSetProdCheat(), CmdBuildTunnel(), FindNearestHangar(), InitializeCheats(), CHTSChunkHandler::Load(), MaybeCrashAirplane(), CHTSChunkHandler::Save(), and UpdateStationRating().