more window responsiveness stuff...
irrlicht won't work outside main thread so needing to juggle stuff around in worker thread to allow device mainloop to run more oftengh-pages
parent
ed269f9a68
commit
066deea298
|
@ -326,7 +326,7 @@ int main(int argc, char** argv)
|
|||
//cout << *client_kpair << endl;
|
||||
//UNLOCK_COUT
|
||||
|
||||
if (!FrontEnd.putGUIMessage(1,std::string("Logging into ")
|
||||
if (!FrontEnd.putGUIMessage(1,std::string("Connecting to ")
|
||||
+config["address"]+":"+config["port"]
|
||||
+" as "+config["user"]+"...")) {
|
||||
return 0;
|
||||
|
@ -401,6 +401,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
UNLOCK_COUT
|
||||
|
||||
FrontEnd.putGUIMessage(1,std::string("Logging in..."));
|
||||
std::string userName=config["user"];
|
||||
std::string userPass=config["passwd"];
|
||||
if (authOk) {
|
||||
|
|
Loading…
Reference in New Issue