|
|
@ -227,6 +227,9 @@ void connectionRestoreVideoMode ()
|
|
|
|
SetMouseCursor ();
|
|
|
|
SetMouseCursor ();
|
|
|
|
SetMouseSpeed (ClientCfg.CursorSpeed);
|
|
|
|
SetMouseSpeed (ClientCfg.CursorSpeed);
|
|
|
|
SetMouseAcceleration (ClientCfg.CursorAcceleration);
|
|
|
|
SetMouseAcceleration (ClientCfg.CursorAcceleration);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Restore user UI scaling
|
|
|
|
|
|
|
|
CViewRenderer::getInstance()->setInterfaceScale(ClientCfg.InterfaceScale);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -290,6 +293,8 @@ void setOutGameFullScreen()
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Enable auto scaling in login window
|
|
|
|
|
|
|
|
CViewRenderer::getInstance()->setInterfaceScale(1.0f, 1024, 768);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -454,6 +459,9 @@ bool connection (const string &cookie, const string &fsaddr)
|
|
|
|
|
|
|
|
|
|
|
|
firstConnection = false;
|
|
|
|
firstConnection = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Restore user UI scaling
|
|
|
|
|
|
|
|
CViewRenderer::getInstance()->setInterfaceScale(ClientCfg.InterfaceScale);
|
|
|
|
|
|
|
|
|
|
|
|
// Disable inputs
|
|
|
|
// Disable inputs
|
|
|
|
Actions.enable(false);
|
|
|
|
Actions.enable(false);
|
|
|
|
EditActions.enable(false);
|
|
|
|
EditActions.enable(false);
|
|
|
@ -586,6 +594,9 @@ bool reconnection()
|
|
|
|
InterfaceState = globalMenu();
|
|
|
|
InterfaceState = globalMenu();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Restore user UI scaling
|
|
|
|
|
|
|
|
CViewRenderer::getInstance()->setInterfaceScale(ClientCfg.InterfaceScale);
|
|
|
|
|
|
|
|
|
|
|
|
// Disable inputs
|
|
|
|
// Disable inputs
|
|
|
|
Actions.enable(false);
|
|
|
|
Actions.enable(false);
|
|
|
|
EditActions.enable(false);
|
|
|
|
EditActions.enable(false);
|
|
|
|