unify(helper): Move Object helper modules to Core (Withdrawn) - #3210
unify(helper): Move Object helper modules to Core (Withdrawn)#3210Jaredl-Dev wants to merge 0 commit into
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. |
Let me rephrase it into a question. If I understand correctly (I have not yet checked the code myself), If |
I believe technically, yes. They could be lifted. |
9f4e3d8 to
0c7aa56
Compare
|
| Filename | Overview |
|---|---|
| Core/GameEngine/CMakeLists.txt | Adds all eight moved helper pairs to the shared INTERFACE source list consumed by each variant library. |
| Core/GameEngine/Source/GameLogic/Object/Helper/SubdualDamageHelper.cpp | Preserves Zero Hour-only implementation calls behind the variant compile guard. |
| Generals/Code/GameEngine/CMakeLists.txt | Removes duplicate helper paths while continuing to receive their implementations through Core. |
| GeneralsMD/Code/GameEngine/CMakeLists.txt | Removes local helper paths while compiling the shared sources through the Zero Hour target. |
| scripts/cpp/unify_move_files.py | Documents the completed helper unification operations without altering script execution. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
CoreSources[Core helper INTERFACE sources] --> G[g_gameengine]
CoreSources --> Z[z_gameengine]
GDef[RTS_GENERALS identity] --> G
ZDef[RTS_ZEROHOUR identity] --> Z
G --> Generals[Generals executable]
Z --> ZeroHour[Zero Hour executable]
ZDef --> Subdual[Enable SubdualDamageHelper implementation]
Subdual --> Z
Reviews (1): Last reviewed commit: "unify(helper): Move Object helper module..." | Re-trigger Greptile
0c7aa56 to
b8756d3
Compare
|
No reviewable files after applying ignore patterns. |
No description provided.