unify(helper): Move Object helper modules to Core - #3210
Conversation
152559a to
61e9217
Compare
PR Summary by QodoUnify object helpers in Core GameEngine
AI Description
Diagram
High-Level Assessment
Files changed (20)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can start a comment with 'qodo' or '@qodo' to chat about any finding |
Skyaero42
left a comment
There was a problem hiding this comment.
ZH has three files (StatusDamageHelper, SubdualDamageHelper and TempWeaponBonusHelper) that are not in generals, but are in the Helper directory. These three should also be moved
61e9217 to
9f4e3d8
Compare
Corrected the PR. |
|
Code review by qodo was updated up to the latest commit 9f4e3d8 |
Not entirely happy with this. Once |
Sorry, I don't get what you are saying. |
This moves eight Object helper header/source pairs into Core:
ObjectDefectionHelperObjectHelperObjectRepulsorHelperObjectSMCHelperObjectWeaponStatusHelperStatusDamageHelperSubdualDamageHelperTempWeaponBonusHelperFive pairs were shared by Generals and Zero Hour. Their 10 files differ only in the product-name banner inside the opening license comment.
The remaining three helpers were Zero Hour-only.
StatusDamageHelperandTempWeaponBonusHelpercompile for both products but have no Generals call sites.SubdualDamageHelperremains guarded byRTS_ZEROHOURbecause its implementation calls subdual-damage methods absent from Generals'BodyModuleInterface.Validation