- Expose ConsoleState to scripts

- Make ConsoleState uint8_t sized
This commit is contained in:
nashmuhandes 2022-07-16 18:13:53 +08:00 committed by Christoph Oelckers
commit c6ae73d6d2
5 changed files with 17 additions and 7 deletions

View file

@ -56,7 +56,7 @@ CVAR(Bool, use_mouse, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
CVAR(Bool, k_allowfullscreentoggle, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
extern int paused, chatmodeon;
extern constate_e ConsoleState;
extern uint8_t ConsoleState;
extern bool ToggleFullscreen;
bool GUICapture;

View file

@ -57,7 +57,7 @@ CVAR (Bool, use_mouse, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
extern int WaitingForKey, chatmodeon;
extern constate_e ConsoleState;
extern uint8_t ConsoleState;
static const SDL_Keycode DIKToKeySym[256] =
{