[Scummvm-git-logs] scummvm master -> ec0553b2d7d0e76ed997398cf7bfd273b61a253b

whoozle noreply at scummvm.org
Sun Mar 15 12:00:47 UTC 2026


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

Summary:
f2addae126 PHOENIXVR: pass bold to getFont
ec0553b2d7 PHOENIXVR: add save file labels


Commit: f2addae12699cff9b52a5c3b6367f05e6209e5ce
    https://github.com/scummvm/scummvm/commit/f2addae12699cff9b52a5c3b6367f05e6209e5ce
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-03-15T11:59:00Z

Commit Message:
PHOENIXVR: pass bold to getFont

Changed paths:
    engines/phoenixvr/phoenixvr.cpp
    engines/phoenixvr/phoenixvr.h


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 2f143657b58..5d392f29a8a 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -765,7 +765,7 @@ void PhoenixVREngine::loadVariables() {
 	_variableSnapshot.clear();
 }
 
-const Graphics::Font *PhoenixVREngine::getFont(int size) const {
+const Graphics::Font *PhoenixVREngine::getFont(int size, bool bold) const {
 #ifdef USE_FREETYPE2
 	if (size < 14)
 		return _font12.get();
@@ -820,7 +820,7 @@ void PhoenixVREngine::rollover(int textId, RolloverType type) {
 		}
 	}
 
-	auto *font = getFont(size);
+	auto *font = getFont(size, bold);
 
 	if (!font)
 		return;
diff --git a/engines/phoenixvr/phoenixvr.h b/engines/phoenixvr/phoenixvr.h
index 7f6a28d44c7..322c6be74ec 100644
--- a/engines/phoenixvr/phoenixvr.h
+++ b/engines/phoenixvr/phoenixvr.h
@@ -214,7 +214,7 @@ private:
 	void renderTimer();
 	void renderFade(int color);
 	void resetState();
-	const Graphics::Font *getFont(int size) const;
+	const Graphics::Font *getFont(int size, bool bold) const;
 
 private:
 	bool _hasFocus = true;


Commit: ec0553b2d7d0e76ed997398cf7bfd273b61a253b
    https://github.com/scummvm/scummvm/commit/ec0553b2d7d0e76ed997398cf7bfd273b61a253b
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-03-15T11:59:43Z

Commit Message:
PHOENIXVR: add save file labels

Changed paths:
    engines/phoenixvr/phoenixvr.cpp


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 5d392f29a8a..115074ad4c0 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -1471,6 +1471,14 @@ void PhoenixVREngine::drawSlot(int idx, int face, int x, int y) {
 		srcRect.bottom = src->h;
 		dst.copyRectToSurface(*src, x, (tileY + 3) * 256, srcRect);
 	}
+	auto *font = getFont(12, false);
+	static int kMargin = 10;
+	if (font) {
+		auto color = dst.format.RGBToColor(0, 0, 0);
+		auto dstY = splitV ? (tileY + 3) * 256 - srcSplitY : y;
+		font->drawString(&dst, state.info, x, dstY + kMargin + src->h, src->w, color, Graphics::TextAlign::kTextAlignCenter);
+	}
+
 	src->free();
 	delete src;
 }




More information about the Scummvm-git-logs mailing list