unify(messagestream): Move all client message translator files to Core#2805
unify(messagestream): Move all client message translator files to Core#2805xezon wants to merge 1 commit into
Conversation
ed6ec7e to
54fdcc9
Compare
|
| Filename | Overview |
|---|---|
| Core/GameEngine/CMakeLists.txt | Uncomments 9 MessageStream source files, GameClientDispatch.cpp, and 9 header files, activating them in the Core build target. |
| Generals/Code/GameEngine/CMakeLists.txt | Comments out 9 MessageStream source files, GameClientDispatch.cpp, and 9 headers, removing them from the Generals-specific build; they are now provided by Core. |
| GeneralsMD/Code/GameEngine/CMakeLists.txt | Comments out the same 9 MessageStream source files, GameClientDispatch.cpp, and 9 headers, mirroring the Generals change; Zero Hour now consumes these via the Core library. |
| scripts/cpp/unify_move_files.py | Adds 19 unify_file() calls documenting the operations performed in this PR; uses the correct function (handles both Generals + Zero Hour deletion/move) with the correct Game.ZEROHOUR source. |
| Core/GameEngine/Source/GameClient/MessageStream/CommandXlat.cpp | Moved from GeneralsMD to Core unchanged; GPL header, EA copyright, and #pragma once all present and correct. |
| Core/GameEngine/Source/GameClient/GameClientDispatch.cpp | Moved from GeneralsMD to Core unchanged; all headers and include guards are intact. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph Before
G[Generals/Code/GameEngine\nMessageStream/*.cpp\nGameClientDispatch.cpp\nInclude/GameClient/*.h]
ZH[GeneralsMD/Code/GameEngine\nMessageStream/*.cpp\nGameClientDispatch.cpp\nInclude/GameClient/*.h]
end
subgraph After
C[Core/GameEngine\nMessageStream/*.cpp\nGameClientDispatch.cpp\nInclude/GameClient/*.h]
GB[Generals CMakeLists\nfiles commented out]
ZHB[GeneralsMD CMakeLists\nfiles commented out]
CB[Core CMakeLists\nfiles uncommented]
end
G -- "duplicate deleted" --> X((Removed))
ZH -- "moved to Core" --> C
C --> CB
GB -- "links Core library" --> C
ZHB -- "links Core library" --> C
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
subgraph Before
G[Generals/Code/GameEngine\nMessageStream/*.cpp\nGameClientDispatch.cpp\nInclude/GameClient/*.h]
ZH[GeneralsMD/Code/GameEngine\nMessageStream/*.cpp\nGameClientDispatch.cpp\nInclude/GameClient/*.h]
end
subgraph After
C[Core/GameEngine\nMessageStream/*.cpp\nGameClientDispatch.cpp\nInclude/GameClient/*.h]
GB[Generals CMakeLists\nfiles commented out]
ZHB[GeneralsMD CMakeLists\nfiles commented out]
CB[Core CMakeLists\nfiles uncommented]
end
G -- "duplicate deleted" --> X((Removed))
ZH -- "moved to Core" --> C
C --> CB
GB -- "links Core library" --> C
ZHB -- "links Core library" --> C
Reviews (2): Last reviewed commit: "unify(messagestream): Move all client me..." | Re-trigger Greptile
|
@greptileai re-review this pull |
This change moves all client message translator files to Core.
All these files have been previously merged and are logically identical between Generals and Zero Hour.