Go to the documentation of this file.
10 #ifndef CONSOLE_FUNC_H
11 #define CONSOLE_FUNC_H
void IConsolePrint(TextColour colour_code, const char *string)
Handle the printing of text entered into the console or redirected there by any other means.
TextColour
Colour of the strings, see _string_colourmap in table/string_colours.h or docs/ottd-colourtext-palett...
void IConsoleError(const char *string)
It is possible to print error information to the console.
IConsoleModes
Modes of the in-game console.
void CDECL void IConsoleDebug(const char *dbg, const char *string)
It is possible to print debugging information to the console, which is achieved by using this functio...
bool IsValidConsoleColour(TextColour c)
Check whether the given TextColour is valid for console usage.
void IConsoleCmdExec(const char *cmdstr, const uint recurse_count=0)
Execute a given command passed to us.
void IConsoleWarning(const char *string)
It is possible to print warnings to the console.
void IConsoleClose()
Close the in-game console.
void CDECL IConsolePrintF(TextColour colour_code, const char *format,...)
Handle the printing of text entered into the console or redirected there by any other means.