[Scummvm-git-logs] scummvm master -> 8c1165df8a4a854ac34919ec66add3c46efcc16e

dreammaster noreply at scummvm.org
Thu Sep 25 09:54:09 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:
8c1165df8a BAGEL: MINIGAMES: Fix display of Battlefish Click Here text


Commit: 8c1165df8a4a854ac34919ec66add3c46efcc16e
    https://github.com/scummvm/scummvm/commit/8c1165df8a4a854ac34919ec66add3c46efcc16e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-25T02:54:02-07:00

Commit Message:
BAGEL: MINIGAMES: Fix display of Battlefish Click Here text

Changed paths:
    engines/bagel/hodjnpodj/battlefish/bfish.cpp


diff --git a/engines/bagel/hodjnpodj/battlefish/bfish.cpp b/engines/bagel/hodjnpodj/battlefish/bfish.cpp
index 8a2cf44d5ff..36a65ba7ab4 100644
--- a/engines/bagel/hodjnpodj/battlefish/bfish.cpp
+++ b/engines/bagel/hodjnpodj/battlefish/bfish.cpp
@@ -42,6 +42,7 @@ namespace HodjNPodj {
 namespace Battlefish {
 
 #define CSOUND 0
+#define FONT_SIZE 8
 
 //int bob[5] = { 27, 56, 7, 63, 31 };
 //int fred;
@@ -790,7 +791,7 @@ void CBFishWindow::PaintScreen() {
 
 			// redisplay the "click here" text
 			if (m_pTxtClickHere != nullptr) {
-				m_pTxtClickHere->DisplayString(pDC, "Click here when done", 12, TEXT_NORMAL, RGB(0, 0, 0));
+				m_pTxtClickHere->DisplayString(pDC, "Click here when done", FONT_SIZE, TEXT_NORMAL, RGB(0, 0, 0));
 			}
 
 			ReleaseDC(pDC);
@@ -1170,10 +1171,10 @@ void CBFishWindow::PlayGame() {
 			delete m_pTxtClickHere;
 			m_pTxtClickHere = nullptr;
 		}
-		rTmpRect.SetRect(380, 180, 490, 200);
+		rTmpRect.SetRect(380, 180, 510, 200);
 		if ((m_pTxtClickHere = new CText) != nullptr) {
 			m_pTxtClickHere->SetupText(pDC, m_pGamePalette, &rTmpRect, JUSTIFY_LEFT);
-			m_pTxtClickHere->DisplayString(pDC, "Click here when done", 12, TEXT_NORMAL, RGB(0, 0, 0));
+			m_pTxtClickHere->DisplayString(pDC, "Click here when done", FONT_SIZE, TEXT_NORMAL, RGB(0, 0, 0));
 		} else {
 			errCode = ERR_MEMORY;
 		}




More information about the Scummvm-git-logs mailing list