Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review. Walkthrough
ChangesSave Compatibility
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: 🟡 Moderate · up to Retail-compatible saves can write invalid object status and change the live object; loading a legacy save can also retain an incorrect status. Fix both paths before merging. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
2f8b57be-1908-4c17-9179-d0f2687c49b7
📒 Files selected for processing (1)
Generals/Code/GameEngine/Source/GameLogic/Object/Object.cpp
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
04cfa29 to
b362c44
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
efcf6888-4fab-40e8-81db-7df9a38bdeca
📒 Files selected for processing (2)
Generals/Code/GameEngine/Include/Common/BitFlags.hGenerals/Code/GameEngine/Source/GameLogic/Object/Object.cpp
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
167ab9b to
5a45bac
Compare
5a45bac to
b7be39f
Compare
xezon
left a comment
There was a problem hiding this comment.
Implementation looks very complicated.
c9ff2f6 to
9269923
Compare
9be6200 to
ea8a75d
Compare
|
Need to copy to ZH I think |
This PR fixes two issues that broke retail compatibility for Generals save games.
#613 unconditionally bumped the xfer version from 7 to 8, which broke save games created by our client for retail.
#2655 added 3 disabled types to the
DisabledTypeenum as a backport from Zero Hour. This increasedDisabledType::DISABLED_COUNTand impacted the xfer logic forObject::m_disabledTillFrame. This broke loading retail save games with our client.It seems reasonable to (re)use xfer version 8 for both fixes since previous save games created by our clients are not compatible with retail so they might as well be unsupported from here on out.
TODO: