Skip to content

Commit 77e4510

Browse files
authored
fix(comments): Use 2026 for this year's code comments (#2285)
1 parent c42b582 commit 77e4510

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

Generals/Code/GameEngine/Source/Common/RTS/ActionManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ Bool ActionManager::canResumeConstructionOf( const Object *obj,
454454
if( obj->isKindOf( KINDOF_DOZER ) == FALSE )
455455
return FALSE;
456456

457-
// TheSuperHackers @bugfix Stubbjax 06/01/2025 Ensure only the owner of the construction can resume it.
457+
// TheSuperHackers @bugfix Stubbjax 06/01/2026 Ensure only the owner of the construction can resume it.
458458
#if RETAIL_COMPATIBLE_CRC
459459
Relationship r = obj->getRelationship(objectBeingConstructed);
460460

Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ void PopulateReplayFileListbox(GameWindow *listbox)
291291
// name
292292
UnicodeString replayNameToShow = createReplayName(asciistr);
293293

294-
// TheSuperHackers @tweak Caball009 07/02/2025 Display both time and date instead of only time.
294+
// TheSuperHackers @tweak Caball009 07/02/2026 Display both time and date instead of only time.
295295
const UnicodeString displayTimeBuffer = getUnicodeTimeBuffer(header.timeVal);
296296
const UnicodeString displayDateBuffer = getUnicodeDateBuffer(header.timeVal);
297297

@@ -410,7 +410,7 @@ void ReplayMenuInit( WindowLayout *layout, void *userData )
410410
buttonCopy = TheWindowManager->winGetWindowFromId( parentReplayMenu, buttonCopyID );
411411

412412
#if ENABLE_GUI_HACKS
413-
// TheSuperHackers @tweak Caball009 07/02/2025 The version column is wider than the time / date column.
413+
// TheSuperHackers @tweak Caball009 07/02/2026 The version column is wider than the time / date column.
414414
// Switch them so that there's enough space to show both time and date without a line break.
415415
ListboxData* list = static_cast<ListboxData*>(listboxReplayFiles->winGetUserData());
416416

Generals/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ void DX8Caps::Vendor_Specific_Hacks(const D3DADAPTER_IDENTIFIER8& adapter_id)
708708
}
709709

710710
if (adapter_id.VendorId==VENDOR_ID_VMWARE) {
711-
// TheSuperHackers @bugfix Stubbjax 15/01/2025 Disable DOT3 support for VMWare's virtual GPU.
711+
// TheSuperHackers @bugfix Stubbjax 15/01/2026 Disable DOT3 support for VMWare's virtual GPU.
712712
// The D3DTA_ALPHAREPLICATE modifier fails when passed to a D3DTOP_MULTIPLYADD operation.
713713
SupportDot3 = false;
714714
}

Generals/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ void Render2DClass::Render(void)
612612
DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLORARG2, D3DTA_TFACTOR);
613613
DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLOROP, D3DTOP_MODULATE);
614614

615-
// TheSuperHackers @bugfix Stubbjax 08/01/2025 Fix possible greyscale rendering issues on hardware without DOT3 support.
615+
// TheSuperHackers @bugfix Stubbjax 08/01/2026 Fix possible greyscale rendering issues on hardware without DOT3 support.
616616
DX8Wrapper::Set_DX8_Texture_Stage_State( 1, D3DTSS_COLOROP, D3DTOP_DISABLE);
617617
}
618618
}

GeneralsMD/Code/GameEngine/Source/Common/RTS/ActionManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ Bool ActionManager::canResumeConstructionOf( const Object *obj,
458458
if( obj->isKindOf( KINDOF_DOZER ) == FALSE )
459459
return FALSE;
460460

461-
// TheSuperHackers @bugfix Stubbjax 06/01/2025 Ensure only the owner of the construction can resume it.
461+
// TheSuperHackers @bugfix Stubbjax 06/01/2026 Ensure only the owner of the construction can resume it.
462462
#if RETAIL_COMPATIBLE_CRC
463463
Relationship r = obj->getRelationship(objectBeingConstructed);
464464

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ void PopulateReplayFileListbox(GameWindow *listbox)
291291
// name
292292
UnicodeString replayNameToShow = createReplayName(asciistr);
293293

294-
// TheSuperHackers @tweak Caball009 07/02/2025 Display both time and date instead of only time.
294+
// TheSuperHackers @tweak Caball009 07/02/2026 Display both time and date instead of only time.
295295
const UnicodeString displayTimeBuffer = getUnicodeTimeBuffer(header.timeVal);
296296
const UnicodeString displayDateBuffer = getUnicodeDateBuffer(header.timeVal);
297297

@@ -410,7 +410,7 @@ void ReplayMenuInit( WindowLayout *layout, void *userData )
410410
buttonCopy = TheWindowManager->winGetWindowFromId( parentReplayMenu, buttonCopyID );
411411

412412
#if ENABLE_GUI_HACKS
413-
// TheSuperHackers @tweak Caball009 07/02/2025 The version column is wider than the time / date column.
413+
// TheSuperHackers @tweak Caball009 07/02/2026 The version column is wider than the time / date column.
414414
// Switch them so that there's enough space to show both time and date without a line break.
415415
ListboxData* list = static_cast<ListboxData*>(listboxReplayFiles->winGetUserData());
416416

GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/dx8caps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ void DX8Caps::Vendor_Specific_Hacks(const D3DADAPTER_IDENTIFIER8& adapter_id)
11621162
}
11631163

11641164
if (VendorId==VENDOR_VMWARE) {
1165-
// TheSuperHackers @bugfix Stubbjax 15/01/2025 Disable DOT3 support for VMWare's virtual GPU.
1165+
// TheSuperHackers @bugfix Stubbjax 15/01/2026 Disable DOT3 support for VMWare's virtual GPU.
11661166
// The D3DTA_ALPHAREPLICATE modifier fails when passed to a D3DTOP_MULTIPLYADD operation.
11671167
DXLOG(("Disabling DOT3 on VMWare\r\n"));
11681168
SupportDot3 = false;

GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/render2d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ void Render2DClass::Render(void)
686686
DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLORARG2, D3DTA_TFACTOR);
687687
DX8Wrapper::Set_DX8_Texture_Stage_State( 0, D3DTSS_COLOROP, D3DTOP_MODULATE);
688688

689-
// TheSuperHackers @bugfix Stubbjax 08/01/2025 Fix possible greyscale rendering issues on hardware without DOT3 support.
689+
// TheSuperHackers @bugfix Stubbjax 08/01/2026 Fix possible greyscale rendering issues on hardware without DOT3 support.
690690
DX8Wrapper::Set_DX8_Texture_Stage_State( 1, D3DTSS_COLOROP, D3DTOP_DISABLE);
691691
}
692692
}

0 commit comments

Comments
 (0)