Nuclide
Software Development Kit for id Tech
|
Console Commands. More...
Go to the source code of this file.
Functions | |
bool | Platform_ConsoleCommand (string commandString, int wordCount) |
Handles a platform library specific console command. More... | |
void | Platform_RegisterCommands (void) |
Called in order to register the platform library console commands. More... | |
Console Commands.
Handles console commands that we deem helpful across the entire game platform. If you're building your own menu system, ensure to call Platform_RegisterCommands() somewhere in your m_init() function. In addition, all non-handled console commands in your menu's m_consolecommand() function should be forwarded to Platform_ConsoleCommand().
Handles a platform library specific console command.
Make this the default
case in your m_consolecommand() function.