MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IConsoleInit

Function IConsoleInit

src/console.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38std::optional<FileHandle> _iconsole_output_file;
39
40void IConsoleInit()
41{
42 _iconsole_output_file = std::nullopt;
43 _redirect_console_to_client = INVALID_CLIENT_ID;
44 _redirect_console_to_admin = AdminID::Invalid();
45
46 IConsoleGUIInit();
47
48 IConsoleStdLibRegister();
49}
50
51static void IConsoleWriteToLogFile(const std::string &string)
52{

Callers 1

OnNewGRFsScannedMethod · 0.85

Calls 3

InvalidFunction · 0.85
IConsoleGUIInitFunction · 0.85
IConsoleStdLibRegisterFunction · 0.85

Tested by

no test coverage detected