2008-05-24 10:15:06 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/** @file console_func.h Console functions used outside of the console code. */
|
|
|
|
|
|
|
|
#ifndef CONSOLE_FUNC_H
|
|
|
|
#define CONSOLE_FUNC_H
|
|
|
|
|
|
|
|
#include "console_type.h"
|
|
|
|
|
2008-05-24 10:35:15 +00:00
|
|
|
/* console modes */
|
2008-05-24 10:15:06 +00:00
|
|
|
extern IConsoleModes _iconsole_mode;
|
|
|
|
|
|
|
|
/* console functions */
|
|
|
|
void IConsoleInit();
|
|
|
|
void IConsoleFree();
|
|
|
|
void IConsoleClose();
|
|
|
|
|
|
|
|
/* console output */
|
2009-02-09 02:57:15 +00:00
|
|
|
void IConsolePrint(ConsoleColour colour_code, const char *string);
|
2009-05-10 17:27:25 +00:00
|
|
|
void CDECL IConsolePrintF(ConsoleColour colour_code, const char *format, ...) WARN_FORMAT(2, 3);
|
2008-05-24 10:15:06 +00:00
|
|
|
void IConsoleDebug(const char *dbg, const char *string);
|
2008-05-30 09:23:05 +00:00
|
|
|
void IConsoleWarning(const char *string);
|
|
|
|
void IConsoleError(const char *string);
|
2008-05-24 10:15:06 +00:00
|
|
|
|
|
|
|
/* Parser */
|
|
|
|
void IConsoleCmdExec(const char *cmdstr);
|
|
|
|
|
|
|
|
#endif /* CONSOLE_FUNC_H */
|