Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
fix(gameengine): stop main menu transitions when a match skips the menu
Olcay Seygan9a0c6d43ca47
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 4b26fda7f..e56d079d3 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -541,7 +541,6 @@ found and fixed — EA's own, not port damage.**- The colour reaches everything: the tint on the models, the radar, health bars, selection rings, the score screen, the money that floats up from a supply drop.- Your screen only. Nobody else in the match sees your choice, nothing about the game itself changes, and two people in the same game can run different settings. Original is the default and nothing changes until you pick something else.- Switch it mid-match and the map repaints itself. So does the picture when an alliance is made or broken by a map script.-## You can see where your ally is pointing- Your ally's mouse is on your map: a soft pool of their own player colour on the ground where it rests, with their name across the middle of it. No second arrow on your screen - one is confusing enough, and the name is the part that says whose it is.@@ -1019,7 +1018,7 @@ found and fixed — EA's own, not port damage.**honoured now, so the picture holds to your monitor's refresh rate unless you turn it off.- No disc, no registry keys, no retail installer — a normal install works.- The startup screen is this build's own, with the Zero Hour Reforged name on it, so you can see which one you launched before the menu loads.-- The main menu buttons are there when the menu is. On the first visit they used to stay hidden, pointer and all, until you nudged the mouse or pressed a key, so a freshly started game looked stuck on the background battle.+- The main menu buttons are there when the menu is. On the first visit they used to stay hidden, pointer and all, until you nudged the mouse or pressed a key, so a freshly started game looked stuck on the background battle. A match started straight from the command line no longer plays those buttons sliding in over its loading screen.- The zip installs itself and takes itself back off. `install.bat` asks where the game is, offeringwhatever the registry says, and copies the build there; anything it is about to write over goesinto a zip in `ZHReforged-Uninstall` first, and anything it adds that was not there is written downdiff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/MainMenu.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/MainMenu.cppindex d379bab4d..46699e98e 100644--- a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/MainMenu.cpp+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/MainMenu.cpp@@ -716,6 +716,11 @@ void MainMenuShutdown( WindowLayout *layout, void *userData )if( popImmediate ){+ // A match started with nothing clicked (-autoskirmish, -netgame) leaves while the buttons are+ // still coming in, and the load screen runs the window manager, so they played on over it.+ TheTransitionHandler->remove( "MainMenuDefaultMenu", TRUE );+ TheTransitionHandler->remove( "MainMenuFade", TRUE );+// if(localAnimateWindowManager)// {// delete localAnimateWindowManager;