Releases: Caball009/GeneralsGameCode
Releases · Caball009/GeneralsGameCode
weekly-2026-01-09
Changelog
- refactor(heightmap): Remove HALF_RES_MESH because it was never used and is broken (TheSuperHackers#2076)
- bugfix(network): Fix packet size setup mistakes (TheSuperHackers#2040)
- bugfix(worldbuilder): Avoid taking action on cancel button for script conditions and actions (TheSuperHackers#2065)
- bugfix(worldbuilder): Initialize boolean in ScriptConditionsDlg::OnEditCondition to show logical condition (TheSuperHackers#2062)
- refactor(audio): Use MilesAudioManager::getEffectiveVolume consistently (TheSuperHackers#2058)
- fix(xfer): Fix xfer retail compatibility code (TheSuperHackers#2024)
- bugfix(object): Do not apply veterancy bonuses and animations for dead units (TheSuperHackers#1968)
- bugfix(audio): UI audio no longer plays at maximum volume for a single frame when navigating between shell map menus (TheSuperHackers#2019)
- tweak(drawable): Decouple stealth detected opacity fade time step from render update (TheSuperHackers#2047)
- perf(ai): Avoid a few std::vector copies when passing ai paths to functions (TheSuperHackers#1895)
- bugfix(lobby): Properly sort CRC mismatched game rooms to the bottom of the lobby (TheSuperHackers#1845)
- bugfix(ai): Undetected mines can now be approached when using a disarm weapon (TheSuperHackers#1883)
- bugfix(aiupdate): Prevent manually ejecting rappelling Rangers during Chinook Combat Drop (TheSuperHackers#1789)
- tweak(drawable): Set correct model tint color after loading a save game (TheSuperHackers#2025)
- bugfix(thingfactory): Reset next ThingTemplate ID after clearing custom map template overrides to avoid CRC mismatch in the next multiplayer game session (TheSuperHackers#2034)
- perf(weaponstore): Optimize WeaponStore::findWeaponTemplatePrivate with hash map lookup (TheSuperHackers#2042)
- bugfix(heightmap): Fix dynamic lights on terrain (TheSuperHackers#2039)
- bugfix(heightmap): Disable old uv adjument for cliffs (TheSuperHackers#2038)
- refactor(logic): Simplify code in GameLogic's init, reset, startNewGame (TheSuperHackers#2027)
- refactor(network): Simplify error prone net packet size calculations with packed structs (TheSuperHackers#1675)
- perf(contain): Optimize Object::isHero with cached hero counter (TheSuperHackers#1841)
- bugfix(aiupdate): Invalidate build task of Dozers and Workers if the assigned target scaffold no longer exists (TheSuperHackers#1868)
- ci(vcpkg): Stabilize vcpkg binary caching; add compiler-aware keys and explicit cache path (TheSuperHackers#2028)
- refactor(audio): Simplify volume related code in AudioManager and MilesAudioManager (TheSuperHackers#2030)
- perf(audio): Optimize fail condition order in AudioManager::addAudioEvent (TheSuperHackers#1843)
- fix(logic): Fix unexpected return in GameLogic::logicMessageDispatcher's switch case MSG_CANCEL_UNIT_CREATE (TheSuperHackers#1881)
- refactor: Apply clang-tidy fixes for generals-use-is-empty (TheSuperHackers#2018)
weekly-2025-12-26
Changelog
- refactor: Apply clang-tidy fixes for generals-use-this-instead-of-singleton (TheSuperHackers#2017)
- bugfix(aiupdate): Chinooks and Helixes no longer take off after repair if passengers want to board or exit (TheSuperHackers#1787)
- bugfix(aiupdate): Repairing Chinooks and Helixes no longer take off after evacuating all passengers (TheSuperHackers#1762)
- bugfix(input): Replace frame-based timings with real-time timings in input system (TheSuperHackers#1835)
- chore: Implement scripts for custom isEmpty() and singleton refs clang-tidy checks (TheSuperHackers#2010)
- bugfix(network): Assign disconnect frame when quitting the game via the disconnection menu (TheSuperHackers#2020)
- tweak(metaevent): Change COMMANDUSABLE_OBSERVER to no longer apply in Shell Map (TheSuperHackers#2002)
- bugfix(network): Fix data offset for string reads in NetPacket::readFileMessage() and NetPacket::readFileAnnounceMessage() (TheSuperHackers#2005)
- build: Implement docker build (TheSuperHackers#1774)
- refactor: Apply integer value comparisons for strcmp and stricmp with clang-tidy (TheSuperHackers#1956)
- bugfix(experience): Prevent ranking of riders that are not trainable (TheSuperHackers#1970)
- bugfix(object): Fix visibility conditions for client-side effects (TheSuperHackers#1964)
weekly-2025-12-19
Changelog
- bugfix(input): Disable mouse waypoint mode after using alt tab (TheSuperHackers#1987)
- unify(heightmap): Move Height Map and Terrain related files to Core (TheSuperHackers#1991)
- unify(heightmap): Merge Height Map related code and move Zero Hour's BaseHeightMap, FlatHeightMap, W3DPropDraw, W3DTreeDraw, W3DPropBuffer, W3DSnow, W3DTerrainBackground files to Core (TheSuperHackers#1991)
- build(heightmap): Fix include paths in Zero Hour Height Map files (TheSuperHackers#1991)
- unify(texture): Move W3DWater, W3DLaserDraw and WW3D2 texture related files to Core (TheSuperHackers#1989)
- unify(texture): Merge W3DWater and WW3D2 texture code (TheSuperHackers#1989)
- refactor: Apply the readability-container-size-empty check with clang-tidy (TheSuperHackers#1957)
- fix(network): Fix missing value initialization of LANGameInfo::m_isDirectConnect (TheSuperHackers#1836)
- bugfix(network): Prevent buffer overflow in NetPacket::readFileMessage() and NetPacket::readFileAnnounceMessage() (TheSuperHackers#1981)
- perf(namekey): Remove all superfluous AsciiString allocations for name key lookups (TheSuperHackers#1959)
- refactor(namekey): Reduce code duplication in NameKeyGenerator functions, misc formatting tweaks (TheSuperHackers#1959)
- unify(matpass): Merge WW3D2 matpass code (TheSuperHackers#1982)
- refactor: Remove superfluous inline and register keywords with clang-tidy (TheSuperHackers#1936)
- bugfix(string): Allow startsWith and endsWith to be called on empty strings (TheSuperHackers#1979)
- build: Add clang-tidy checks and script (TheSuperHackers#1807)
- bugfix(pathfinder): Prevent infinite loop within PathfindCell::putOnSortedOpenList() (TheSuperHackers#1965)
- ci(vcpkg): Include preset in binary cache key to avoid ABI mismatches and slow CI builds (TheSuperHackers#1973)
- feat(crashdump): Add crash dump functionality for fatal errors (TheSuperHackers#1594)
- bugfix(mouse): Prevent cursor capture when mouse is outside of app window (TheSuperHackers#1939)
- refactor(mouse): Apply minor refactoring and whitespace tweaks in WinMain, Mouse, HeaderTemplate (TheSuperHackers#1939)
- fix: Wrong usage of sizeof(this) in BitFlags::xfer(), W3DMPO::glueEnforcer() (TheSuperHackers#1947)
- bugfix(network): Prevent out of bounds memory access in NetCommandWrapperListNode::copyChunkData() (TheSuperHackers#1946)
- build: Use cmake_host_system_information to make registry queries in cmake (TheSuperHackers#1943)
weekly-2025-12-05
Changelog
- feat(movie): Implement ESC button mapping to skip Campaign, Challenge and Score videos (TheSuperHackers#1926)
- tweak(keyboard): Apply minor improvements to Keyboard class to query pressed keys (TheSuperHackers#1926)
- bugfix(movie): Fix Campaign, Challenge, Score movie cancellation or decompression artifacts when tabbing out of the game (TheSuperHackers#1927)
- refactor: Remove or replace some superfluous empty C strings (TheSuperHackers#1929)
- refactor(network): Replace implicit conversion from NULL to AsciiString in IPEnumeration::getMachineName (TheSuperHackers#1934)
- build: Add WOW6432Node to registry path lookups for EA App install path detection (TheSuperHackers#1903)
- refactor(string): Fix constness of TheEmptyString (TheSuperHackers#1930)
- refactor: Remove all explicit UnicodeString instantiations from C strings (TheSuperHackers#1928)
- bugfix(filesystem): Prevent loading wrong INIZH.big from Data/INI directory to prevent INI CRC mismatch (TheSuperHackers#1879)
- refactor: Remove superfluous variable init comments (TheSuperHackers#1876)
- refactor: Remove all explicit AsciiString instantiations from C strings (TheSuperHackers#1916)
- unify(view): Move View, W3DView to Core (TheSuperHackers#1904)
- unify(view): Merge View and closely related code (TheSuperHackers#1904)
- unify(client): Move ParabolicEase, CameraShakeSystem to Core (TheSuperHackers#1904)
- refactor: Replace preprocessor condition _WINDOWS with _WIN32 (TheSuperHackers#1911)
- unify(shader): Move W3DShaderManager to Core (TheSuperHackers#1920)
- unify(shader): Merge W3DShaderManager code, move Smudge, W3DSmudge to Core (TheSuperHackers#1920)
- bugfix(energy): Destruction of disabled Power Plant no longer lowers energy production twice (TheSuperHackers#1857)
- bugfix(radar): Add hero radar objects into its own list to get rid of hero cache updates and its related issues (TheSuperHackers#1893)
- refactor(radar): Simplify function Radar::deleteListResources (TheSuperHackers#1893)
- refactor(radar): Simplify function W3DRadar::renderObjectList (TheSuperHackers#1893)
- refactor(radar): Simplify function Radar::addObject (TheSuperHackers#1893)
- bugfix(weapon): Weapon effects now show again for hidden objects that are not explicitly stealthed (TheSuperHackers#1918)
- tweak(gui): Add configuration to GameData.ini to allow Money Per Minute for players (TheSuperHackers#1914)
- refactor(string): Implement generic startsWith, endsWith functions for C strings (TheSuperHackers#1898)
- refactor: Use new utility logic for handling observed player behaviour (TheSuperHackers#1861)
- bugfix(module): A projectile can no longer be jammed multiple times (TheSuperHackers#1907)
- unify(radar): Move ObjectStatusTypes, Radar, W3DRadar files to Core (TheSuperHackers#1894)
- unify(radar): Merge Radar code (TheSuperHackers#1894)
- unify(common): Merge ObjectStatusTypes code (TheSuperHackers#1894)
- refactor: Convert strlcpy to strcpy with static_assert (TheSuperHackers#1887)
- refactor(network): Convert some if-else chains to switch statements (TheSuperHackers#1682)
- bugfix: Fix effect visibility of contained objects (TheSuperHackers#1878)
- tweak(eva): Enable more EVA events for observed players (TheSuperHackers#1866)
- refactor: Remove duplicate include directives (TheSuperHackers#1873)
- refactor: Rename RETAIL_COMPATIBLE_BUG macro to PRESERVE_RETAIL_BEHAVIOR (TheSuperHackers#1877)
- refactor: Remove double semicolons (TheSuperHackers#1810)
- ci: Re-enable win32 vcpkg presets (TheSuperHackers#1863)
- build(vcpkg): Add lockfile and binary cache (TheSuperHackers#1862)
- build(ai): Resolve compile errors when the USE_DOZER preprocessor directive is false (TheSuperHackers#1871)
- fix(debug): Add error handling for rename failures in Debug code (TheSuperHackers#1855)
- bugfix(object): Show veterancy effects of stealthed objects for allies and observers (TheSuperHackers#1867)
- bugfix(weapon): Show weapon effects of stealthed objects for allies and observers (TheSuperHackers#1865)
- bugfix(module): Show cash amounts of stealthed objects for allies and observers (TheSuperHackers#1858)
- tweak(behavior): Add RETAIL_COMPATIBLE_BUG to Black Lotus cash value fix (TheSuperHackers#1864)
- tweak(specialpower): Enable special power EVA events for observed players (TheSuperHackers#1540)
- bugfix(network): Deny players with invalid names from joining a LAN game room (TheSuperHackers#1595)
- feat(view): Add ability to rotate the camera in 45 degree increments using the mouse (TheSuperHackers#1848)
- feat(view): Add ability to rotate the camera in 45 degree increments using the numpad (TheSuperHackers#1846)
- fix(parabolicease): Fix asserting on float inprecision in ParabolicEase::setEaseTimes() (TheSuperHackers#1854)
- fix: Fix incorrect argument used for isInSaveDirectory() (TheSuperHackers#1849)
- tweak(network): Add file extension validation to network map transfer (TheSuperHackers#1818)
- fix(font): Fix font scaling for large resolutions and implement new font scaling methods (TheSuperHackers#1466)
- perf(mapcache): Simplify and improve implementation of MapCache to prevent expensive reoccurring redundant map cache reads (TheSuperHackers#1775)
- unify(network): Move most GameNetwork and GameSpy files to Core (TheSuperHackers#1733)
- build(memory): Add missing REF macros to always.h for null memory manager (TheSuperHackers#1830)
- fix(font): Handle malformed fonts without crashing the game (TheSuperHackers#1826)
- fix: Replace strcpy with strlcpy to prevent potential buffer overflows (TheSuperHackers#1808)
- build(cmake): Add status message for missing game install path (TheSuperHackers#1820)
- refactor: Simplify some if-else condition chains (TheSuperHackers#1683)
- fix(debug): Implement reference counter and thread safety in DbgHelpLoader to allow for independent users (TheSuperHackers#1804)
- refactor: Remove wrong WWDefines.h file (TheSuperHackers#1814)
- tweak(scrolling): Prevent far camera jumps when scrolling while the game stalls (TheSuperHackers#1661)
- bugfix(module): Fix missing horde condition of Nationalism and Fanaticism weapon bonuses (TheSuperHackers#1582)
- refactor(module): Improve and simplify the implementation of HordeUpdate and related code (TheSuperHackers#1582)
- unify(module): Merge HordeUpdate and related code (TheSuperHackers#1813)
- bugfix(replay): Fix unrecognized replay files in Generals (TheSuperHackers#1815)
- build: Add static_assert's near relevant strcpy calls to prevent buffer overflows (TheSuperHackers#1806)
- refactor: Remove superfluous string buffer copies (TheSuperHackers#1800)
- fix: Replace strcpy with strlcpy and update length asserts (TheSuperHackers#1796)
- build(weekly): Enable complete debug symbols for VC6 weekly builds (TheSuperHackers#1803)
- refactor(w3dview): Replace duplicate reference count macros with core library equivalents (TheSuperHackers#1784)
- build: Move refcount.h include into WWCommon.h (TheSuperHackers#1798)
weekly-2025-11-07
Changelog
- refactor(network): Assign name to type enum in LANMessage (TheSuperHackers#1801)
- fix(script): Improve string handling of 'Fundamentalist' code hacks (TheSuperHackers#1797)
- refactor: Fix misspelled word in comments (TheSuperHackers#1795)
- fix(debug): Replace NDEBUG preprocessor with RTS_DEBUG or RTS_RELEASE (TheSuperHackers#1791)
- bugfix(gui): Fix incorrect Replay incompatibility messages (TheSuperHackers#1745)
- refactor: Replace custom strrchr implementations with standard function (TheSuperHackers#1782)
- bugfix(gui): Fix crash when RenderFpsFontSize is set to 0 (TheSuperHackers#1788)
- build: Add RETAIL_COMPATIBLE_BUG as build prerequisite for the tunnel healing fix (TheSuperHackers#1783)
- tweak(gui): Track money per minute for every player (TheSuperHackers#1773)
- refactor(gui): Break up and simplify map list related code in MapUtil (TheSuperHackers#1758)