mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +02:00
Renamed variables
This commit is contained in:
parent
5e81f3684f
commit
8fde82dafc
2 changed files with 7 additions and 7 deletions
|
@ -434,8 +434,8 @@ void LauncherManager::onMostRecentBuildsReceived(const CString& response, Launch
|
|||
addToLog(updatingMsg);
|
||||
_shouldUpdateLauncher = TRUE;
|
||||
_shouldDownloadLauncher = TRUE;
|
||||
_willLogin = !isInstalled;
|
||||
_willContinueUpdating = isInstalled && newInterfaceVersion;
|
||||
_keepLoggingIn = !isInstalled;
|
||||
_keepUpdating = isInstalled && newInterfaceVersion;
|
||||
} else {
|
||||
if (_updateLauncherAllowed) {
|
||||
addToLog(_T("Already running most recent build. Launching interface.exe"));
|
||||
|
@ -616,9 +616,9 @@ void LauncherManager::onFileDownloaded(ProcessType type) {
|
|||
void LauncherManager::restartNewLauncher() {
|
||||
closeLog();
|
||||
CLauncherDlg::DrawStep startScreen = CLauncherDlg::DrawStep::DrawProcessFinishUpdate;
|
||||
if (_willContinueUpdating) {
|
||||
if (_keepUpdating) {
|
||||
startScreen = CLauncherDlg::DrawStep::DrawProcessUpdate;
|
||||
} else if (_willLogin) {
|
||||
} else if (_keepLoggingIn) {
|
||||
startScreen = CLauncherDlg::DrawStep::DrawLoginLogin;
|
||||
}
|
||||
CStringW params;
|
||||
|
|
|
@ -100,7 +100,7 @@ public:
|
|||
BOOL needsInstall() const { return _shouldInstall; }
|
||||
BOOL needsToWait() const { return _shouldWait; }
|
||||
BOOL needsRestartNewLauncher() const { return _shouldRestartNewLauncher; }
|
||||
BOOL willContinueUpdating() const { return _willContinueUpdating; }
|
||||
BOOL willContinueUpdating() const { return _keepUpdating; }
|
||||
CLauncherDlg::DrawStep getStartScreen() { return _startScreen; }
|
||||
void setDisplayName(const CString& displayName) { _displayName = displayName; }
|
||||
bool isLoggedIn() const { return _loggedIn; }
|
||||
|
@ -154,8 +154,8 @@ private:
|
|||
BOOL _shouldDownloadLauncher { FALSE };
|
||||
BOOL _updateLauncherAllowed { TRUE };
|
||||
BOOL _shouldRestartNewLauncher { FALSE };
|
||||
BOOL _willLogin { FALSE };
|
||||
BOOL _willContinueUpdating { FALSE };
|
||||
BOOL _keepLoggingIn { FALSE };
|
||||
BOOL _keepUpdating { FALSE };
|
||||
CLauncherDlg::DrawStep _startScreen;
|
||||
float _progressOffset { 0.0f };
|
||||
float _progress { 0.0f };
|
||||
|
|
Loading…
Reference in a new issue