coastline 0.0.4
Loading...
Searching...
No Matches
CheatCode Struct Reference

A cheat: the sequence of button changes that applies it, newest first, ending in 0xFFFF. More...

#include <input.h>

Public Attributes

void(* apply )(void)
u16 * sequence
void(* pfnApply )(void)
const char * pszCode

Detailed Description

A cheat: the sequence of button changes that applies it, newest first, ending in 0xFFFF.

A cheat and the word that enters it.

Member Data Documentation

◆ apply

void(* CheatCode::apply) (void)

The routine called when the sequence is entered.

◆ sequence

u16* CheatCode::sequence

The button changes, or NULL to end the list of cheats.

◆ pfnApply

void(* CheatCode::pfnApply) (void)

The routine of the cheat.

◆ pszCode

const char* CheatCode::pszCode

The word, in lowercase, or null for the end of the table.


The documentation for this struct was generated from the following files: