Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. WalkthroughThe MOTD source is registered in GameEngine instead of GameEngineDevice. Its comments now identify ChangesMOTD source registration
Estimated code review effort: 2 (Simple) | ~8 minutes Change: Refactor Possibly related PRs
Suggested labels: Suggested reviewers: Merge Risk:
|
[Low impact] The PR appears safe to merge.
|
MOTDSystem is the window callback of MOTD.wnd. It was in Core/GameEngineDevice (W3DMOTD.cpp), but it uses no W3D code, and it is referenced by FunctionLexicon.cpp, which is in GameEngine.
This change moves the file to Core/GameEngine/Source/GameClient/GUI/GUICallbacks/MOTD.cpp. The only changes inside the file are the file name in the header comment and the PreRTS.h include that GameEngine files need.
There is no behavior change.
This removes one of the calls from GameEngine into GameEngineDevice, as discussed in #3552.
AI USE
Used AI to make the change.