Nuclide
Software Development Kit for id Tech
cmd.h File Reference

Go to the source code of this file.

Functions

void Cmd_Init (void)
 Registers console commands that are provided by Nuclide. More...
 
bool Cmd_Parse (string strCommand)
 Interprets a console command that is not defined within the gamesources. More...
 

Function Documentation

◆ Cmd_Init()

void Cmd_Init ( void  )

Registers console commands that are provided by Nuclide.

◆ Cmd_Parse()

bool Cmd_Parse ( string  strCommand)

Interprets a console command that is not defined within the gamesources.

Called from CSQC_ConsoleCommand to handle any builtin commands from the Nuclide SDK, unless a game decided to implement its own interpretation of the commands.

Parameters
strCommandthe command (with parameters) in question
Returns
true if the command was successfully handled, false if not.