mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-23 12:32:13 +00:00
21 lines
428 B
C
21 lines
428 B
C
#pragma once
|
|
|
|
struct cheatseq_t
|
|
{
|
|
const char *Sequence;
|
|
const char* ccmd;
|
|
bool (*Handler)(cheatseq_t *);
|
|
uint8_t DontCheck;
|
|
uint8_t Param;
|
|
// This is working data for processing the cheat
|
|
uint8_t CurrentArg;
|
|
uint8_t Args[6];
|
|
const char *Pos;
|
|
};
|
|
struct event_t;
|
|
|
|
int Cheat_Responder(event_t* ev);
|
|
void SetCheats(cheatseq_t *cht, int count);
|
|
bool PlaybackCheat(const char* p);
|
|
bool SendGenericCheat(cheatseq_t* cheat);
|
|
|