[Scummvm-git-logs] scummvm branch-3-0 -> d858719d09805185a3d4d34b877404261a942278

dreammaster noreply at scummvm.org
Fri Nov 28 05:31:29 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:
d858719d09 BAGEL: MINIGAMES: Fix Art Parts timer display


Commit: d858719d09805185a3d4d34b877404261a942278
    https://github.com/scummvm/scummvm/commit/d858719d09805185a3d4d34b877404261a942278
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-11-27T21:31:22-08:00

Commit Message:
BAGEL: MINIGAMES: Fix Art Parts timer display

Changed paths:
    engines/bagel/hodjnpodj/artparts/artparts.cpp


diff --git a/engines/bagel/hodjnpodj/artparts/artparts.cpp b/engines/bagel/hodjnpodj/artparts/artparts.cpp
index de54a7ae7c4..14f8570d13c 100644
--- a/engines/bagel/hodjnpodj/artparts/artparts.cpp
+++ b/engines/bagel/hodjnpodj/artparts/artparts.cpp
@@ -36,6 +36,8 @@ namespace Bagel {
 namespace HodjNPodj {
 namespace ArtParts {
 
+#define FONT_SIZE 14
+
 bool    InArtRegion(CPoint point);
 CPoint  WinToArt(CPoint point);
 
@@ -221,7 +223,7 @@ void CMainWindow::OnPaint() {
 		else {
 			Common::sprintf_s(msg, "Time Left: %02d:%02d", nMinutes, nSeconds);
 		}
-		(*m_pTimeText).DisplayString(pDC, msg, 16, FW_SEMIBOLD, OPTIONS_COLOR);
+		(*m_pTimeText).DisplayString(pDC, msg, FONT_SIZE, FW_SEMIBOLD, OPTIONS_COLOR);
 	} else {
 		PaintBitmap(pDC, pGamePalette, pLocaleBitmap, TIME_LOCATION_X, TIME_LOCATION_Y);
 	}
@@ -1044,7 +1046,7 @@ void CMainWindow::OnTimer(uintptr nIDEvent) {
 		else {
 			Common::sprintf_s(msg, "Time Left: %02d:%02d", nMinutes, nSeconds);
 		}
-		(*m_pTimeText).DisplayString(pDC, msg, 16, FW_SEMIBOLD, OPTIONS_COLOR);
+		(*m_pTimeText).DisplayString(pDC, msg, FONT_SIZE, FW_SEMIBOLD, OPTIONS_COLOR);
 
 		if (nMinutes == 0 && nSeconds == 0) {
 			char buf[64];
@@ -1586,7 +1588,7 @@ void CMainWindow::NewGame() {
 	else {
 		Common::sprintf_s(msg, "Time Left: %02d:%02d", nMinutes, nSeconds);
 	}
-	(*m_pTimeText).DisplayString(pDC, msg, 16, FW_SEMIBOLD, OPTIONS_COLOR);
+	(*m_pTimeText).DisplayString(pDC, msg, FONT_SIZE, FW_SEMIBOLD, OPTIONS_COLOR);
 
 	EndWaitCursor();
 




More information about the Scummvm-git-logs mailing list