|
@@ -114,25 +114,30 @@ void IConsoleCmdRegister(const char *nam
|
|
|
void IConsoleAliasRegister(const char *name, const char *cmd);
|
|
|
IConsoleCmd *IConsoleCmdGet(const char *name);
|
|
|
IConsoleAlias *IConsoleAliasGet(const char *name);
|
|
|
|
|
|
/* Variables */
|
|
|
void IConsoleVarRegister(const char *name, void *addr, IConsoleVarTypes type, const char *help);
|
|
|
void IConsoleVarStringRegister(const char *name, void *addr, uint32 size, const char *help);
|
|
|
IConsoleVar* IConsoleVarGet(const char *name);
|
|
|
void IConsoleVarPrintGetValue(const IConsoleVar *var);
|
|
|
void IConsoleVarPrintSetValue(const IConsoleVar *var);
|
|
|
|
|
|
/* Parser */
|
|
|
void IConsoleVarExec(const IConsoleVar *var, byte tokencount, char *token[]);
|
|
|
|
|
|
/* console std lib (register ingame commands/aliases/variables) */
|
|
|
void IConsoleStdLibRegister();
|
|
|
|
|
|
/* Hooking code */
|
|
|
void IConsoleCmdHookAdd(const char *name, IConsoleHookTypes type, IConsoleHook *proc);
|
|
|
void IConsoleVarHookAdd(const char *name, IConsoleHookTypes type, IConsoleHook *proc);
|
|
|
void IConsoleVarProcAdd(const char *name, IConsoleCmdProc *proc);
|
|
|
|
|
|
/* Supporting functions */
|
|
|
bool GetArgumentInteger(uint32 *value, const char *arg);
|
|
|
#endif /* CONSOLE_H */
|
|
|
|
|
|
void IConsoleGUIInit();
|
|
|
void IConsoleGUIFree();
|
|
|
void IConsoleGUIPrint(ConsoleColour color_code, char *string);
|
|
|
|
|
|
#endif /* CONSOLE_INTERNAL_H */
|