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

Function ConGamelogPrint

src/console_cmds.cpp:2437–2446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2435}
2436
2437static bool ConGamelogPrint(std::span<std::string_view> argv)
2438{
2439 if (argv.empty()) {
2440 IConsolePrint(CC_HELP, "Print logged fundamental changes to the game since the start. Usage: 'gamelog'.");
2441 return true;
2442 }
2443
2444 _gamelog.PrintConsole();
2445 return true;
2446}
2447
2448static bool ConNewGRFReload(std::span<std::string_view> argv)
2449{

Callers

nothing calls this directly

Calls 3

PrintConsoleMethod · 0.80
IConsolePrintFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected