Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Generals/Code/GameEngine/Include/GameClient/GameWindowManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,16 @@ class GameWindowManagerDummy : public GameWindowManager

virtual GameWindow *allocateNewWindow() override { return newInstance(GameWindowDummy); }

// TheSuperHackers @fix bobtista 19/07/2026 Return no message box window in headless mode
virtual GameWindow *gogoMessageBox(Int x, Int y, Int width, Int height, UnsignedShort buttonFlags,
UnicodeString titleString, UnicodeString bodyString,
GameWinMsgBoxFunc yesCallback, GameWinMsgBoxFunc noCallback,
GameWinMsgBoxFunc okCallback, GameWinMsgBoxFunc cancelCallback) override { return nullptr; }
virtual GameWindow *gogoMessageBox(Int x, Int y, Int width, Int height, UnsignedShort buttonFlags,
UnicodeString titleString, UnicodeString bodyString,
GameWinMsgBoxFunc yesCallback, GameWinMsgBoxFunc noCallback,
GameWinMsgBoxFunc okCallback, GameWinMsgBoxFunc cancelCallback, Bool useLogo) override { return nullptr; }

virtual GameWinDrawFunc getPushButtonImageDrawFunc() override { return nullptr; }
virtual GameWinDrawFunc getPushButtonDrawFunc() override { return nullptr; }
virtual GameWinDrawFunc getCheckBoxImageDrawFunc() override { return nullptr; }
Expand Down
10 changes: 10 additions & 0 deletions GeneralsMD/Code/GameEngine/Include/GameClient/GameWindowManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,16 @@ class GameWindowManagerDummy : public GameWindowManager

virtual GameWindow *allocateNewWindow() override { return newInstance(GameWindowDummy); }

// TheSuperHackers @fix bobtista 19/07/2026 Return no message box window in headless mode
virtual GameWindow *gogoMessageBox(Int x, Int y, Int width, Int height, UnsignedShort buttonFlags,
UnicodeString titleString, UnicodeString bodyString,
GameWinMsgBoxFunc yesCallback, GameWinMsgBoxFunc noCallback,
GameWinMsgBoxFunc okCallback, GameWinMsgBoxFunc cancelCallback) override { return nullptr; }
virtual GameWindow *gogoMessageBox(Int x, Int y, Int width, Int height, UnsignedShort buttonFlags,
UnicodeString titleString, UnicodeString bodyString,
GameWinMsgBoxFunc yesCallback, GameWinMsgBoxFunc noCallback,
GameWinMsgBoxFunc okCallback, GameWinMsgBoxFunc cancelCallback, Bool useLogo) override { return nullptr; }

virtual GameWinDrawFunc getPushButtonImageDrawFunc() override { return nullptr; }
virtual GameWinDrawFunc getPushButtonDrawFunc() override { return nullptr; }
virtual GameWinDrawFunc getCheckBoxImageDrawFunc() override { return nullptr; }
Expand Down
Loading