- handle menu customization via callbacks.

This commit is contained in:
Christoph Oelckers 2022-10-02 17:49:39 +02:00
commit 73142ef2cf
8 changed files with 15 additions and 14 deletions

View file

@ -2,6 +2,7 @@
#include "zstring.h"
#include "intrect.h"
#include "name.h"
struct event_t;
class FRenderState;
@ -37,6 +38,8 @@ struct SystemCallbacks
void (*SetTransition)(int type);
bool (*CheckCheatmode)(bool printmsg, bool sponly);
void (*HudScaleChanged)();
bool (*SetSpecialMenu)(FName& menu, int param);
void (*OnMenuOpen)(bool makesound);
};
extern SystemCallbacks sysCallbacks;