r5sdk/r5dev/include/console.h
Amos cb0e72fc0a Forward console output to in-game console
Light cleanup. Hook RSON loading for debugging and improvements for console overlay.

TODO: fix thread lock on concomand execute from Present(..)
2021-06-16 16:43:03 -07:00

18 lines
568 B
C

#pragma once
/////////////////////////////////////////////////////////////////////////////
// Initialization
void SetupConsole();
/////////////////////////////////////////////////////////////////////////////
// Hooks
bool Hook_ConVar_IsFlagSet(int** cvar, int flag);
bool Hook_ConCommand_IsFlagSet(int* cmd, int flag);
/////////////////////////////////////////////////////////////////////////////
// Globals
inline bool g_bDebugConsole = false;
inline bool g_bReturnAllFalse = false;
/////////////////////////////////////////////////////////////////////////////