MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / Show

Method Show

Sources/Jazz2/UI/InGameConsole.cpp:300–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 void InGameConsole::Show()
301 {
302 // Don't allow to show the console if it was hidden in the last frame (mainly to fix toggling with Tab key)
303 if (AnimTime <= AnimTimeMultiplier) {
304 return;
305 }
306
307 _isVisible = true;
308
309 _currentLine[0] = '\0';
310 _textCursor = 0;
311 _carretAnim = 0.0f;
312
313 AnimTime = 0.0f;
314 }
315
316 void InGameConsole::Hide()
317 {

Callers 2

ShowConsoleMethod · 0.45
MpLevelHandler.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected