[Scummvm-git-logs] scummvm master -> 8bf7307e7487ff38ef112d23d86d8411644146bf
dreammaster
noreply at scummvm.org
Fri Nov 28 05:32:05 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:
8bf7307e74 BAGEL: MINIGAMES: Fix Art Parts timer display
Commit: 8bf7307e7487ff38ef112d23d86d8411644146bf
https://github.com/scummvm/scummvm/commit/8bf7307e7487ff38ef112d23d86d8411644146bf
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-11-27T21:31:59-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