forked from TheSuperHackers/GeneralsGameCode
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Sync from TheSuperHackers #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fbraz3
wants to merge
57
commits into
fbraz3:main
Choose a base branch
from
TheSuperHackers:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ectory to prevent INI CRC mismatch (#1879)
…ng in IPEnumeration::getMachineName (#1934)
…ecompression artifacts when tabbing out of the game (#1927)
… and Score videos (#1926)
…pperListNode::copyChunkData() (#1946)
…Main, Mouse, HeaderTemplate (#1939)
Crash dumps are stored in %USERPROFILE%\Documents\Command and Conquer Generals Zero Hour Data\CrashDumps
… and slow CI builds (#1973)
…ortedOpenList() (#1965)
This fixes a runtime crash in Generals due to incomplete code merging
…ons, misc formatting tweaks (#1959)
…e() and NetPacket::readFileAnnounceMessage() (#1981) Co-authored-by: JBremer <jbremer@users.noreply.github.com> Co-authored-by: SkyAero <Skyaero42@users.noreply.github.com>
…BaseHeightMap, FlatHeightMap, W3DPropDraw, W3DTreeDraw, W3DPropBuffer, W3DSnow, W3DTerrainBackground files to Core (#1991)
…ileMessage() and NetPacket::readFileAnnounceMessage() (#2005) Co-authored-by: SkyAero <Skyaero42@users.noreply.github.com>
… Shell Map (#2002) Keys P and O no longer pause the Shell Map. But Shift+P and Shift+O still do
…he disconnection menu (#2020)
…fter evacuating all passengers (#1762)
…r if passengers want to board or exit (#1787)
…r's switch case MSG_CANCEL_UNIT_CREATE (#1881)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and additions focused on code quality, build configuration, and code modernization for the GeneralsGameCode project. The most significant change is the addition of a
.clang-tidyconfiguration to enable static code analysis and enforce code quality standards. There are also multiple updates to the CMake build configuration to include previously excluded source files, and a newMiniDumpercrash dump utility is introduced. Additionally, various header files have been updated to modernize function definitions and correct minor issues.Code Quality and Static Analysis
.clang-tidyconfiguration file tailored for the project's legacy C++98/C++20 hybrid codebase, enabling a curated set of checks and naming conventions to improve code quality and maintainability.Build Configuration and Source Inclusion
Core/GameEngine/CMakeLists.txtto include several previously excluded source and header files (such asMapObject.h,MiniDumper.h,MapUtil.cpp,TerrainRoads.cpp,View.cpp, etc.), ensuring these components are now built and part of the project. [1] [2] [3] [4] [5] [6] [7]Crash Dump Support
MiniDumperutility (Include/Common/MiniDumper.h) to provide crash dump functionality, including support for minimal and full dumps, thread management, and dump directory maintenance.Modernization and Code Cleanup
inlinespecifiers from function definitions in several classes (e.g.,AsciiString,UnicodeString,RadarObject,Radar,MemoryPoolObject) to improve clarity and compatibility with static analysis tools. [1] [2] [3] [4] [5] [6]AsciiStringandUnicodeStringto beconstfor correctness and safety. [1] [2]Minor Fixes
GameAudio.h(e.g., "accomodate" → "accommodate", "Debice" → "Device"). [1] [2]GameUtility.h.