From 58396201c8b9278a3e6bfbb53f492578babf1b99 Mon Sep 17 00:00:00 2001 From: tintinhamans <5984296+tintinhamans@users.noreply.github.com> Date: Mon, 10 Aug 2026 05:51:38 +0200 Subject: [PATCH] Increase default window transition speed Sets the GameWindowTransitionSpeedMultiplier default from 1.0 to 2.5 for the OptionPreferences fallback and the GlobalData constructors in Generals and GeneralsMD. GUI transitions were previously advanced one animation frame per rendered frame, so players on high frame rates experienced much faster menu animations. Now that transition timing is frame rate independent, the original 1.0 default feels far slower than what players are used to, including menus such as general promotions. A default of 2.5 restores comparable pacing consistently across all hardware. --- Core/GameEngine/Source/Common/OptionPreferences.cpp | 2 +- Generals/Code/GameEngine/Source/Common/GlobalData.cpp | 2 +- GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/GameEngine/Source/Common/OptionPreferences.cpp b/Core/GameEngine/Source/Common/OptionPreferences.cpp index c6d75805061..40b417abb4b 100644 --- a/Core/GameEngine/Source/Common/OptionPreferences.cpp +++ b/Core/GameEngine/Source/Common/OptionPreferences.cpp @@ -972,7 +972,7 @@ Real OptionPreferences::getGameWindowTransitionSpeedMultiplier() const { OptionPreferences::const_iterator it = find("GameWindowTransitionSpeedMultiplier"); if (it == end()) - return 1.0f; + return 2.5f; Real speed = (Real) atof(it->second.str()); return clamp(1.0f, speed, 1000.0f); diff --git a/Generals/Code/GameEngine/Source/Common/GlobalData.cpp b/Generals/Code/GameEngine/Source/Common/GlobalData.cpp index 783d9fa9a35..a4c2f5dc1ef 100644 --- a/Generals/Code/GameEngine/Source/Common/GlobalData.cpp +++ b/Generals/Code/GameEngine/Source/Common/GlobalData.cpp @@ -958,7 +958,7 @@ GlobalData::GlobalData() m_showMoneyPerMinute = FALSE; m_allowMoneyPerMinuteForPlayer = FALSE; - m_gameWindowTransitionSpeedMultiplier = 1.0f; + m_gameWindowTransitionSpeedMultiplier = 2.5f; m_debugShowGraphicalFramerate = FALSE; diff --git a/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp b/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp index 503467e6bcb..1cb49c5ffa6 100644 --- a/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp +++ b/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp @@ -976,7 +976,7 @@ GlobalData::GlobalData() m_showMoneyPerMinute = FALSE; m_allowMoneyPerMinuteForPlayer = FALSE; - m_gameWindowTransitionSpeedMultiplier = 1.0f; + m_gameWindowTransitionSpeedMultiplier = 2.5f; m_debugShowGraphicalFramerate = FALSE;