- add a system interface for CheckCheatmode and moved some sound code to the backend.

This commit is contained in:
Christoph Oelckers 2022-10-02 15:14:11 +02:00
commit 8aaab153fa
25 changed files with 187 additions and 164 deletions

View file

@ -35,6 +35,7 @@ struct SystemCallbacks
void (*ToggleFullConsole)();
void (*StartCutscene)(bool blockui);
void (*SetTransition)(int type);
bool (*CheckCheatmode)(bool printmsg, bool sponly);
};
extern SystemCallbacks sysCallbacks;
@ -50,5 +51,7 @@ extern FString endoomName;
extern bool batchrun;
extern float menuBlurAmount;
extern bool generic_ui;
extern int paused;
extern bool pauseext;
void UpdateGenericUI(bool cvar);