Added ability to change username, handle & avatar in lobby
This commit is contained in:
@@ -188,6 +188,12 @@ void ClientApplication::Init(int argc, char* argv[]) {
|
||||
DEBUG_INTERNAL_VAR(MAX_PACKET_SIZE);
|
||||
DEBUG_INTERNAL_VAR(static_cast<int>(SerialPacketType::LAST));
|
||||
|
||||
//-------------------------
|
||||
//BUGFIX
|
||||
//-------------------------
|
||||
|
||||
SDL_StopTextInput();
|
||||
|
||||
//-------------------------
|
||||
//finalize the startup
|
||||
//-------------------------
|
||||
@@ -298,6 +304,10 @@ void ClientApplication::ProcessEvents() {
|
||||
activeScene->KeyUp(event.key);
|
||||
break;
|
||||
|
||||
case SDL_TEXTINPUT:
|
||||
activeScene->TextInput(event.text);
|
||||
break;
|
||||
|
||||
//TODO: (9) joystick and controller events
|
||||
|
||||
//window events are handled internally
|
||||
|
||||
Reference in New Issue
Block a user