Skip to content

Conversation

@bobtista
Copy link

Fix spelling errors in code comments.

@greptile-apps
Copy link

greptile-apps bot commented Jan 18, 2026

Greptile Summary

Corrected spelling errors in code comments across 117 files in the game engine source code. All changes are limited to comments only - no functional code was modified. Common corrections include: "drawble"→"drawable", "definitons"→"definitions", "completeion"→"completion", "obiously"→"obviously", and other similar typos.

Confidence Score: 5/5

  • This PR is completely safe to merge with zero risk
  • All changes are spelling corrections in comments only, with no modifications to functional code, logic, or behavior
  • No files require special attention

Important Files Changed

Filename Overview
Generals/Code/GameEngine/Source/Common/GlobalData.cpp Fixed spelling: "definitons" → "definitions" in 3 comment locations
Generals/Code/GameEngine/Source/GameClient/GameClient.cpp Fixed spelling: "Codition"→"Condition", "drawble"→"drawable" (2x), "indentifier"→"identifier", "allocater"→"allocator"
Generals/Code/GameEngine/Source/GameClient/GUI/ControlBar/ControlBar.cpp Fixed spelling: "Initialzie"→"Initialize", "everythign"→"everything", "obiously"→"obviously", "drawble"→"drawable" (4x)
Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/DozerAIUpdate.cpp Fixed spelling: "completeion"→"completion", "constrolling"→"controlling", "Effectivly"→"Effectively", "re-evluate"→"re-evaluate"
Generals/Code/GameEngine/Source/GameLogic/ScriptEngine/ScriptEngine.cpp Fixed spelling: "peridic"→"periodic", "initally"→"initially", "supress"→"suppress", "elemnts"→"elements"

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Repo as Repository
    participant Comments as Code Comments
    
    Dev->>Repo: Review source files
    Repo->>Dev: Return 117 files with spelling errors
    Dev->>Comments: Identify spelling mistakes
    Note over Comments: "drawble", "definitons", "completeion", etc.
    Dev->>Comments: Correct spelling errors
    Note over Comments: "drawable", "definitions", "completion", etc.
    Comments->>Repo: Submit corrected comments
    Repo->>Repo: No functional code changed
    Note over Repo: 246 insertions, 246 deletions<br/>Comments only
Loading

@xezon xezon added the Documentation Is documentation or complementary resource label Jan 19, 2026
Copy link

@xezon xezon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Is documentation or complementary resource

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants