[Scummvm-git-logs] scummvm master -> 82e83aeef3b9a2651ecb3132fe1df3ff6ce5057c

dreammaster noreply at scummvm.org
Sat Sep 13 08:23:02 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
82e83aeef3 BAGEL: DEMO: Fix Slide Show button not showing


Commit: 82e83aeef3b9a2651ecb3132fe1df3ff6ce5057c
    https://github.com/scummvm/scummvm/commit/82e83aeef3b9a2651ecb3132fe1df3ff6ce5057c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-13T01:22:53-07:00

Commit Message:
BAGEL: DEMO: Fix Slide Show button not showing

Changed paths:
    engines/bagel/hodjnpodj/metagame/demo/hodjpodj.cpp
    engines/bagel/hodjnpodj/metagame/zoom/zoommap.cpp


diff --git a/engines/bagel/hodjnpodj/metagame/demo/hodjpodj.cpp b/engines/bagel/hodjnpodj/metagame/demo/hodjpodj.cpp
index 8506e332e48..88e9d58cf76 100644
--- a/engines/bagel/hodjnpodj/metagame/demo/hodjpodj.cpp
+++ b/engines/bagel/hodjnpodj/metagame/demo/hodjpodj.cpp
@@ -113,6 +113,7 @@ bool CHodjPodjWindow::OnCommand(WPARAM wParam, LPARAM lParam) {
 	case IDC_ZOOM:
 		blackScreen();
 		stopBackgroundMidi();
+		SendMessage(WM_CLOSE);
 
 		Metagame::Zoom::RunZoomMap(m_hWnd, true);
 		break;
diff --git a/engines/bagel/hodjnpodj/metagame/zoom/zoommap.cpp b/engines/bagel/hodjnpodj/metagame/zoom/zoommap.cpp
index 8ac0c549dbd..0e97db7dad5 100644
--- a/engines/bagel/hodjnpodj/metagame/zoom/zoommap.cpp
+++ b/engines/bagel/hodjnpodj/metagame/zoom/zoommap.cpp
@@ -31,7 +31,8 @@ namespace Zoom {
 
 #define SPLASHSPEC  ".\\ART\\ZOOMMAP.BMP"
 
-#define IDC_LEAVE   999
+#define IDC_SLIDESHOW	998
+#define IDC_LEAVE		999
 
 extern HCURSOR          hGameCursor;
 
@@ -567,7 +568,7 @@ void CMainZoomWindow::OnTimer(uintptr nEventID) {
 	// Add Quit and Slide Show buttons
 	CRect ssRect((GAME_WIDTH / 2) - 120, 450, (GAME_WIDTH / 2) - 20, 470);
 	pSlideshowButton = new CColorButton();
-	pSlideshowButton->Create("Slide Show", BS_OWNERDRAW | WS_CHILD | WS_VISIBLE, ssRect, this, IDC_LEAVE);
+	pSlideshowButton->Create("Slide Show", BS_OWNERDRAW | WS_CHILD | WS_VISIBLE, ssRect, this, IDC_SLIDESHOW);
 	pSlideshowButton->SetPalette(pGamePalette);
 
 	CRect quitRect((GAME_WIDTH / 2) + 20, 450, (GAME_WIDTH / 2) + 120, 470);




More information about the Scummvm-git-logs mailing list