- handle menu customization via callbacks.
This commit is contained in:
parent
a084667bed
commit
73142ef2cf
8 changed files with 15 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue