12 #ifndef CONSOLE_FUNC_H 13 #define CONSOLE_FUNC_H void IConsoleError(const char *string)
It is possible to print error information to the 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...
void IConsoleWarning(const char *string)
It is possible to print warnings to the console.
IConsoleModes
Modes of the in-game console.
bool IsValidConsoleColour(TextColour c)
Check whether the given TextColour is valid for console usage.
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...
TextColour
Colour of the strings, see _string_colourmap in table/string_colours.h or docs/ottd-colourtext-palett...
void IConsolePrint(TextColour colour_code, const char *string)
Handle the printing of text entered into the console or redirected there by any other means...
Globally used console related types.
void IConsoleCmdExec(const char *cmdstr)
Execute a given command passed to us.
void IConsoleClose()
Close the in-game console.