Skip to content

Commit 5e4d22a

Browse files
committed
Remove excessive comments from screenshot implementation
1 parent 59d53b6 commit 5e4d22a

File tree

8 files changed

+4
-10
lines changed

8 files changed

+4
-10
lines changed

Generals/Code/GameEngine/Include/Common/MessageStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class GameMessage : public MemoryPoolObject
258258
MSG_META_END_PREFER_SELECTION, ///< The Shift key has been released.
259259

260260
MSG_META_TAKE_SCREENSHOT, ///< take screenshot
261-
MSG_META_TAKE_SCREENSHOT_COMPRESSED, ///< TheSuperHackers @bobtista take compressed screenshot (JPG/PNG) without stalling
261+
MSG_META_TAKE_SCREENSHOT_COMPRESSED, ///< take compressed screenshot without stalling
262262
MSG_META_ALL_CHEER, ///< Yay! :)
263263
MSG_META_TOGGLE_ATTACKMOVE, ///< enter attack-move mode
264264

Generals/Code/GameEngine/Include/GameClient/Display.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class Display : public SubsystemInterface
169169
virtual void preloadTextureAssets( AsciiString texture ) = 0; ///< preload texture asset
170170

171171
virtual void takeScreenShot(void) = 0; ///< saves screenshot to a file
172-
virtual void takeScreenShotCompressed(void) = 0; ///< TheSuperHackers @bobtista saves compressed screenshot (JPG/PNG) without stalling
172+
virtual void takeScreenShotCompressed(void) = 0; ///< saves compressed screenshot without stalling
173173
virtual void toggleMovieCapture(void) = 0; ///< starts saving frames to an avi or frame sequence
174174
virtual void toggleLetterBox(void) = 0; ///< enabled letter-boxed display
175175
virtual void enableLetterBox(Bool enable) = 0; ///< forces letter-boxed display on/off

Generals/Code/GameEngine/Source/GameClient/MessageStream/CommandXlat.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3414,7 +3414,6 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
34143414
break;
34153415
}
34163416

3417-
// TheSuperHackers @bobtista 02/11/2025 Compressed screenshot (JPG/PNG) without stalling
34183417
case GameMessage::MSG_META_TAKE_SCREENSHOT_COMPRESSED:
34193418
{
34203419
if (TheDisplay)

Generals/Code/GameEngine/Source/GameClient/MessageStream/MetaEvent.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,8 +795,6 @@ MetaMapRec *MetaMap::getMetaMapRec(GameMessage::Type t)
795795
}
796796
}
797797
{
798-
// TheSuperHackers @bobtista 02/11/2025 Compressed screenshot (JPG/PNG) without stalling
799-
// Bind F11 to the new compressed screenshot function
800798
MetaMapRec *map = TheMetaMap->getMetaMapRec(GameMessage::MSG_META_TAKE_SCREENSHOT_COMPRESSED);
801799
if (map->m_key == MK_NONE)
802800
{

GeneralsMD/Code/GameEngine/Include/Common/MessageStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class GameMessage : public MemoryPoolObject
258258
MSG_META_END_PREFER_SELECTION, ///< The Shift key has been released.
259259

260260
MSG_META_TAKE_SCREENSHOT, ///< take screenshot
261-
MSG_META_TAKE_SCREENSHOT_COMPRESSED, ///< TheSuperHackers @bobtista take compressed screenshot (JPG/PNG) without stalling
261+
MSG_META_TAKE_SCREENSHOT_COMPRESSED, ///< take compressed screenshot without stalling
262262
MSG_META_ALL_CHEER, ///< Yay! :)
263263
MSG_META_TOGGLE_ATTACKMOVE, ///< enter attack-move mode
264264

GeneralsMD/Code/GameEngine/Include/GameClient/Display.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class Display : public SubsystemInterface
169169
virtual void preloadTextureAssets( AsciiString texture ) = 0; ///< preload texture asset
170170

171171
virtual void takeScreenShot(void) = 0; ///< saves screenshot to a file
172-
virtual void takeScreenShotCompressed(void) = 0; ///< TheSuperHackers @bobtista saves compressed screenshot (JPG/PNG) without stalling
172+
virtual void takeScreenShotCompressed(void) = 0; ///< saves compressed screenshot without stalling
173173
virtual void toggleMovieCapture(void) = 0; ///< starts saving frames to an avi or frame sequence
174174
virtual void toggleLetterBox(void) = 0; ///< enabled letter-boxed display
175175
virtual void enableLetterBox(Bool enable) = 0; ///< forces letter-boxed display on/off

GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/CommandXlat.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3747,7 +3747,6 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
37473747
break;
37483748
}
37493749

3750-
// TheSuperHackers @bobtista 02/11/2025 Compressed screenshot (JPG/PNG) without stalling
37513750
case GameMessage::MSG_META_TAKE_SCREENSHOT_COMPRESSED:
37523751
{
37533752
if (TheDisplay)

GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/MetaEvent.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,8 +853,6 @@ MetaMapRec *MetaMap::getMetaMapRec(GameMessage::Type t)
853853
}
854854
}
855855
{
856-
// TheSuperHackers @bobtista 02/11/2025 Compressed screenshot (JPG/PNG) without stalling
857-
// Bind F11 to the new compressed screenshot function
858856
MetaMapRec *map = TheMetaMap->getMetaMapRec(GameMessage::MSG_META_TAKE_SCREENSHOT_COMPRESSED);
859857
if (map->m_key == MK_NONE)
860858
{

0 commit comments

Comments
 (0)