From ecd980eb6ff5c7fd91fd2dd6b40d54a8c120c882 Mon Sep 17 00:00:00 2001 From: Caball009 <82909616+Caball009@users.noreply.github.com> Date: Mon, 9 Feb 2026 23:50:56 +0100 Subject: [PATCH 1/2] Changed year 2025 to 2026. --- .../Code/GameEngine/Source/Common/RTS/ActionManager.cpp | 2 +- .../Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp | 4 ++-- GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp | 2 +- GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GeneralsMD/Code/GameEngine/Source/Common/RTS/ActionManager.cpp b/GeneralsMD/Code/GameEngine/Source/Common/RTS/ActionManager.cpp index 39b9afea3c8..21bac9f0ff3 100644 --- a/GeneralsMD/Code/GameEngine/Source/Common/RTS/ActionManager.cpp +++ b/GeneralsMD/Code/GameEngine/Source/Common/RTS/ActionManager.cpp @@ -458,7 +458,7 @@ Bool ActionManager::canResumeConstructionOf( const Object *obj, if( obj->isKindOf( KINDOF_DOZER ) == FALSE ) return FALSE; - // TheSuperHackers @bugfix Stubbjax 06/01/2025 Ensure only the owner of the construction can resume it. + // TheSuperHackers @bugfix Stubbjax 06/01/2026 Ensure only the owner of the construction can resume it. #if RETAIL_COMPATIBLE_CRC Relationship r = obj->getRelationship(objectBeingConstructed); diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp index e8c130c4d31..0bc4b2f1971 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp @@ -290,7 +290,7 @@ void PopulateReplayFileListbox(GameWindow *listbox) // name UnicodeString replayNameToShow = createReplayName(asciistr); - // TheSuperHackers @tweak Caball009 07/02/2025 Display both time and date instead of only time. + // TheSuperHackers @tweak Caball009 07/02/2026 Display both time and date instead of only time. UnicodeString displayDateTimeBuffer; displayDateTimeBuffer.format(L"%s %s", getUnicodeTimeBuffer(header.timeVal).str(), getUnicodeDateBuffer(header.timeVal).str()); @@ -389,7 +389,7 @@ void ReplayMenuInit( WindowLayout *layout, void *userData ) buttonCopy = TheWindowManager->winGetWindowFromId( parentReplayMenu, buttonCopyID ); #if ENABLE_GUI_HACKS - // TheSuperHackers @tweak Caball009 07/02/2025 The version column is wider than the time / date column. + // TheSuperHackers @tweak Caball009 07/02/2026 The version column is wider than the time / date column. // Switch them so that there's enough space to show both time and date without a line break. ListboxData* list = static_cast(listboxReplayFiles->winGetUserData()); diff --git a/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp b/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp index f2b26f748d5..46476ec52d2 100644 --- a/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp +++ b/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp @@ -1162,7 +1162,7 @@ void DX8Caps::Vendor_Specific_Hacks(const D3DADAPTER_IDENTIFIER8& adapter_id) } if (VendorId==VENDOR_VMWARE) { - // TheSuperHackers @bugfix Stubbjax 15/01/2025 Disable DOT3 support for VMWare's virtual GPU. + // TheSuperHackers @bugfix Stubbjax 15/01/2026 Disable DOT3 support for VMWare's virtual GPU. // The D3DTA_ALPHAREPLICATE modifier fails when passed to a D3DTOP_MULTIPLYADD operation. DXLOG(("Disabling DOT3 on VMWare\r\n")); SupportDot3 = false; diff --git a/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp b/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp index e27d11a055f..aac7c360139 100644 --- a/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp +++ b/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp @@ -686,7 +686,7 @@ void Render2DClass::Render(void) DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLORARG2, D3DTA_TFACTOR); DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLOROP, D3DTOP_MODULATE); - // TheSuperHackers @bugfix Stubbjax 08/01/2025 Fix possible greyscale rendering issues on hardware without DOT3 support. + // TheSuperHackers @bugfix Stubbjax 08/01/2026 Fix possible greyscale rendering issues on hardware without DOT3 support. DX8Wrapper::Set_DX8_Texture_Stage_State( 1, D3DTSS_COLOROP, D3DTOP_DISABLE); } } From b7928d68ef0ceef50c9b878c0ab5d8262cb194dc Mon Sep 17 00:00:00 2001 From: Caball009 <82909616+Caball009@users.noreply.github.com> Date: Mon, 9 Feb 2026 23:53:03 +0100 Subject: [PATCH 2/2] Replicated in Generals. --- Generals/Code/GameEngine/Source/Common/RTS/ActionManager.cpp | 2 +- .../Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp | 4 ++-- Generals/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp | 2 +- Generals/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Generals/Code/GameEngine/Source/Common/RTS/ActionManager.cpp b/Generals/Code/GameEngine/Source/Common/RTS/ActionManager.cpp index d32b2ab5b6e..8afb0603b3b 100644 --- a/Generals/Code/GameEngine/Source/Common/RTS/ActionManager.cpp +++ b/Generals/Code/GameEngine/Source/Common/RTS/ActionManager.cpp @@ -454,7 +454,7 @@ Bool ActionManager::canResumeConstructionOf( const Object *obj, if( obj->isKindOf( KINDOF_DOZER ) == FALSE ) return FALSE; - // TheSuperHackers @bugfix Stubbjax 06/01/2025 Ensure only the owner of the construction can resume it. + // TheSuperHackers @bugfix Stubbjax 06/01/2026 Ensure only the owner of the construction can resume it. #if RETAIL_COMPATIBLE_CRC Relationship r = obj->getRelationship(objectBeingConstructed); diff --git a/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp b/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp index 1ff279c2b28..706eb1d2709 100644 --- a/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp +++ b/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp @@ -290,7 +290,7 @@ void PopulateReplayFileListbox(GameWindow *listbox) // name UnicodeString replayNameToShow = createReplayName(asciistr); - // TheSuperHackers @tweak Caball009 07/02/2025 Display both time and date instead of only time. + // TheSuperHackers @tweak Caball009 07/02/2026 Display both time and date instead of only time. UnicodeString displayDateTimeBuffer; displayDateTimeBuffer.format(L"%s %s", getUnicodeTimeBuffer(header.timeVal).str(), getUnicodeDateBuffer(header.timeVal).str()); @@ -389,7 +389,7 @@ void ReplayMenuInit( WindowLayout *layout, void *userData ) buttonCopy = TheWindowManager->winGetWindowFromId( parentReplayMenu, buttonCopyID ); #if ENABLE_GUI_HACKS - // TheSuperHackers @tweak Caball009 07/02/2025 The version column is wider than the time / date column. + // TheSuperHackers @tweak Caball009 07/02/2026 The version column is wider than the time / date column. // Switch them so that there's enough space to show both time and date without a line break. ListboxData* list = static_cast(listboxReplayFiles->winGetUserData()); diff --git a/Generals/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp b/Generals/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp index 9a1f8d16780..0e70e077a13 100644 --- a/Generals/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp +++ b/Generals/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp @@ -708,7 +708,7 @@ void DX8Caps::Vendor_Specific_Hacks(const D3DADAPTER_IDENTIFIER8& adapter_id) } if (adapter_id.VendorId==VENDOR_ID_VMWARE) { - // TheSuperHackers @bugfix Stubbjax 15/01/2025 Disable DOT3 support for VMWare's virtual GPU. + // TheSuperHackers @bugfix Stubbjax 15/01/2026 Disable DOT3 support for VMWare's virtual GPU. // The D3DTA_ALPHAREPLICATE modifier fails when passed to a D3DTOP_MULTIPLYADD operation. SupportDot3 = false; } diff --git a/Generals/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp b/Generals/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp index d37617bfff6..1d829d603fe 100644 --- a/Generals/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp +++ b/Generals/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp @@ -612,7 +612,7 @@ void Render2DClass::Render(void) DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLORARG2, D3DTA_TFACTOR); DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLOROP, D3DTOP_MODULATE); - // TheSuperHackers @bugfix Stubbjax 08/01/2025 Fix possible greyscale rendering issues on hardware without DOT3 support. + // TheSuperHackers @bugfix Stubbjax 08/01/2026 Fix possible greyscale rendering issues on hardware without DOT3 support. DX8Wrapper::Set_DX8_Texture_Stage_State( 1, D3DTSS_COLOROP, D3DTOP_DISABLE); } }