raze/source/core/cheathandler.h
Christoph Oelckers dbd3202433 - simplified the generic cheat code.
This is both closer to ZDoom and more robust.
2020-07-04 10:22:20 +02:00

17 lines
317 B
C

#pragma once
struct cheatseq_t
{
const char *Sequence;
const char *Pos;
bool (*Handler)(cheatseq_t *);
uint8_t DontCheck;
// This is working data for processing the cheat
uint8_t CurrentArg;
uint8_t Args[6];
};
struct event_t;
bool Cheat_Responder(event_t* ev);
void SetCheats(cheatseq_t *cht, int count);