X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cmd.h;h=130e3cde3107395ec99081529751ae806e4a8c0b;hb=5b8f332a67937a63dc29da354d72ba27d933534d;hp=3ee7865dc2eac1c20abf322683f83cf7810624af;hpb=182f5dd46097dc11b3643dc2376b4dd6a4fa42c7;p=xonotic%2Fdarkplaces.git diff --git a/cmd.h b/cmd.h index 3ee7865d..130e3cde 100644 --- a/cmd.h +++ b/cmd.h @@ -86,7 +86,8 @@ extern cmd_source_t cmd_source; void Cmd_Init (void); void Cmd_Shutdown (void); -void Cmd_AddCommand (const char *cmd_name, xcommand_t function); +void Cmd_AddCommand_WithClientCommand (const char *cmd_name, xcommand_t consolefunction, xcommand_t clientfunction, const char *description); +void Cmd_AddCommand (const char *cmd_name, xcommand_t function, const char *description); // called by the init functions of other parts of the program to // register commands and functions to call for them. // The cmd_name is referenced later, so it should not be in temp memory @@ -106,8 +107,12 @@ int Cmd_CompleteCountPossible (const char *partial); const char **Cmd_CompleteBuildList (const char *partial); +void Cmd_CompleteCommandPrint (const char *partial); + const char *Cmd_CompleteAlias (const char *partial); +void Cmd_CompleteAliasPrint (const char *partial); + // Enhanced console completion by Fett erich@heintz.com // Added by EvilTypeGuy eviltypeguy@qeradiant.com