mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
17 lines
351 B
C
17 lines
351 B
C
#pragma once
|
|
|
|
struct cheatseq_t
|
|
{
|
|
const char *Sequence;
|
|
bool (*Handler)(cheatseq_t *);
|
|
uint8_t DontCheck;
|
|
// This is working data for processing the cheat
|
|
uint8_t CurrentArg;
|
|
uint8_t Args[6];
|
|
const char *Pos;
|
|
};
|
|
struct event_t;
|
|
|
|
bool Cheat_Responder(event_t* ev);
|
|
void SetCheats(cheatseq_t *cht, int count);
|
|
void PlaybackCheat(const char* p);
|