 |
Crossfire Client, Trunk
|
Go to the documentation of this file.
41 typedef const char * (*CommHelpFunc)(void);
const char * get_category_name(CommCat cat)
int handle_local_command(const char *cp, const char *cpnext)
Tries to handle command cp (with optional params in cpnext, which may be null) as a local command.
const typedef char *(* CommHelpFunc)(void)
const char * complete_command(const char *ocommand)
Player has entered 'command' and hit tab to complete it.
const ConsoleCommand * find_command(const char *cmd)
ConsoleCommand ** get_cat_sorted_commands(void)
Returns a pointer to the head of an array of ConsoleCommands sorted by category, then by name.
void extended_command(const char *ocommand)
This is an extended command (ie, 'who, 'whatever, etc).
void init_commands(void)
Fills some internal arrays.
void(* CommFunc)(const char *params)