SQC-15_online #1

Merged
memartel_loc merged 349 commits from SQC-15_online into master 2023-12-10 17:41:26 -05:00
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 850f5a59d8 - Show all commits

View File

@ -759,10 +759,14 @@ void Engine::DisplayLobbyMenu(float elapsedTime) {
std::ostringstream ss;
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
if (m_charChanged) {
ss << m_inputChar;
if (m_charChanged && m_currentInputString.size() < 26) {
m_currentInputString += m_inputChar;
}
ss << m_currentInputString;
m_charChanged = false;
if (lobbyTime < onInterval) {
ss << "_";
}

View File

@ -204,6 +204,7 @@ private:
bool m_selectedQuit = false;
char m_inputChar = 0;
std::string m_currentInputString;
bool m_charChanged = false;
bool m_key1 = false;