MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / toggleConsole

Function toggleConsole

TheForceEngine/TFE_FrontEndUI/frontEndUi.cpp:455–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453 }
454
455 bool toggleConsole()
456 {
457 s_consoleActive = !s_consoleActive;
458 // Start open
459 if (s_consoleActive)
460 {
461 TFE_Console::startOpen();
462 }
463 else
464 {
465 TFE_Console::startClose();
466 }
467 return s_consoleActive;
468 }
469
470 bool isConsoleOpen()
471 {

Callers 2

mainFunction · 0.85
console_cheatFunction · 0.85

Calls 2

startOpenFunction · 0.85
startCloseFunction · 0.85

Tested by

no test coverage detected