| 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 | { |
no outgoing calls
no test coverage detected