MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / ConsoleShow

Method ConsoleShow

olcPixelGameEngine.h:4262–4274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4260 }
4261
4262 void PixelGameEngine::ConsoleShow(const olc::Key& keyExit, bool bSuspendTime)
4263 {
4264 if (bConsoleShow)
4265 return;
4266
4267 bConsoleShow = true;
4268 bConsoleSuspendTime = bSuspendTime;
4269 TextEntryEnable(true);
4270 keyConsoleExit = keyExit;
4271 pKeyboardState[uint8_t(keyConsoleExit)].bHeld = false;
4272 pKeyboardState[uint8_t(keyConsoleExit)].bPressed = false;
4273 pKeyboardState[uint8_t(keyConsoleExit)].bReleased = true;
4274 }
4275
4276 void PixelGameEngine::ConsoleClear()
4277 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected