Skip to content

unify(common-rts): Move low-risk Common RTS files to Core - #3048

Open
Jaredl-Dev wants to merge 1 commit into
TheSuperHackers:mainfrom
Jaredl-Dev:unify/common-rts
Open

unify(common-rts): Move low-risk Common RTS files to Core#3048
Jaredl-Dev wants to merge 1 commit into
TheSuperHackers:mainfrom
Jaredl-Dev:unify/common-rts

Conversation

@Jaredl-Dev

@Jaredl-Dev Jaredl-Dev commented Aug 2, 2026

Copy link
Copy Markdown

This moves the remaining shared low-risk Common RTS files into Core:

  • Handicap.h / Handicap.cpp
  • MissionStats.h / MissionStats.cpp
  • PlayerList.h / PlayerList.cpp
  • ResourceGatheringManager.h / ResourceGatheringManager.cpp
  • Science.h / Science.cpp
  • ScoreKeeper.h / ScoreKeeper.cpp

The moved files are code-identical between both games except for the product-name license banner. ResourceGatheringManager.cpp also corrects a comment spelling.

Verification

  • Verified all Core files byte-match their Zero Hour sources.
  • Win32 Release build succeeds.
  • VC6 Release build succeeds.

@Skyaero42

Copy link
Copy Markdown

ResourceGatheringManager.cpp needs to have a merge first (separate commit) before being merged.

@xezon

xezon commented Aug 2, 2026

Copy link
Copy Markdown

How about merge all the Common/RTS files first, then move them all?

@Jaredl-Dev

Copy link
Copy Markdown
Author

How about merge all the Common/RTS files first, then move them all?

I will revise this PR when I have the opportunity.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants