C4 Engine
C4 Engine API Documentation

InterfaceMgr::EnableConsole

Defined in:  C4Interface.h
Enables the console.
Prototype

void EnableConsole(void);

Description
The EnableConsole function enables access to the console when the keyboard is in interface event mode. To enable the console when the keyboard is in game input mode, call the InputMgr::SetConsoleCallback function as well.

The console is enabled by default when the engine starts up. The console can be disabled by calling the InterfaceMgr::DisableConsole function.
See Also

InterfaceMgr::DisableConsole

InterfaceMgr::ConsoleEnabled

InputMgr::SetConsoleCallback