40template <
typename A,
typename ... Args>
45 IConsolePrint(colour_code, fmt::format(format, std::forward<A>(first_arg), std::forward<Args>(other_args)...));
49void IConsoleCmdExec(std::string_view command_string,
const uint recurse_count = 0);
void IConsoleCmdExec(std::string_view command_string, const uint recurse_count=0)
Execute a given command passed to us.
void IConsoleClose()
Close the in-game console.
bool IsValidConsoleColour(TextColour c)
Check whether the given TextColour is valid for console usage.
IConsoleModes _iconsole_mode
Console modes.
void IConsolePrint(TextColour colour_code, const std::string &string)
Handle the printing of text entered into the console or redirected there by any other means.
Globally used console related types.
IConsoleModes
Modes of the in-game console.
#define A
Climate sub-arctic.
TextColour
Colour of the strings, see _string_colourmap in table/string_colours.h or docs/ottd-colourtext-palett...