Repository navigation
unify: Merge common system; BuildAssistant, PlayerTemplate, FunctionLexicon, GameState, GameStateMap - #3463
unify: Merge common system; BuildAssistant, PlayerTemplate, FunctionLexicon, GameState, GameStateMap#3463xezon wants to merge 2 commits into
Conversation
…exicon, GameState, GameStateMap
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe changes update build validation and unit-production checks, add Zero Hour menu and player-template support, adjust save loading and save-list colors, and change registry lookup order. ChangesBuild rules
Challenge menu callbacks
Player-template data
Save handling and save-list colors
Registry lookup order
Priority: ➖ Normal Estimated code review effort: 4 (Complex) | ~45 minutes Change: Feature Merge Risk: 🟡 Moderate · up to Unit limits match the original game behavior. However, a failed save load can leave the game marked as still loading a save. An unexpected registry value can also stop the game from falling back to the machine-wide language or SKU setting. Address these before merging. Pre-merge checks |
|
|
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
b40501cc-0eea-44dc-aa63-c25af24db822
📒 Files selected for processing (18)
Core/GameEngine/CMakeLists.txtCore/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ChallengeMenu.cppGenerals/Code/GameEngine/Include/Common/BuildAssistant.hGenerals/Code/GameEngine/Include/Common/PlayerTemplate.hGenerals/Code/GameEngine/Include/GameClient/GUICallbacks.hGenerals/Code/GameEngine/Source/Common/RTS/PlayerTemplate.cppGenerals/Code/GameEngine/Source/Common/System/BuildAssistant.cppGenerals/Code/GameEngine/Source/Common/System/FunctionLexicon.cppGenerals/Code/GameEngine/Source/Common/System/SaveGame/GameState.cppGenerals/Code/GameEngine/Source/Common/System/SaveGame/GameStateMap.cppGenerals/Code/GameEngine/Source/Common/System/registry.cppGenerals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/PopupHostGame.cppGeneralsMD/Code/GameEngine/CMakeLists.txtGeneralsMD/Code/GameEngine/Source/Common/RTS/PlayerTemplate.cppGeneralsMD/Code/GameEngine/Source/Common/System/BuildAssistant.cppGeneralsMD/Code/GameEngine/Source/Common/System/FunctionLexicon.cppGeneralsMD/Code/GameEngine/Source/Common/System/SaveGame/GameState.cppscripts/cpp/unify_move_files.py
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
tintinhamans
left a comment
There was a problem hiding this comment.
Looks good to me.
In terms of BuildAssistant, I think isLocationClearOfObjects has no other callers so the Bool to LegalBuildCode is probably fine.
Could add to "Generals gets" that registry now reads HKCU before HKLM, and the loading save flag is set while loading a save.
Yes
I omitted that because it was only part of this merge because bugfix(registry): Prioritize HKEY_CURRENT_USER registry reads and writes over HKEY_LOCAL_MACHINE to prevent inaccessible data (#1844) did not correctly replicate to Generals. |
|
@Caball009 @Skyaero42 Can you please run a few Generals replays against this branch? |
Caball009
left a comment
There was a problem hiding this comment.
I'm seeing a ~95% mismatch rate for Generals replays :)
Ok that suckssss |
This change merges all of GameEngine/Source/Common/System and its includes and related code. ChallengeMenu, a dependency, is moved to Core.
BuildAssistantis CRC critical and requires careful review.Generals gets
TODO