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

sev- noreply at scummvm.org
Thu Nov 5 10:18:18 UTC 2026


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:
d8f8a35c5c DIRECTOR: Size a non-stretched digital video sprite from its cast


Commit: d8f8a35c5caa815af3bd28f25090ce81282cd577
    https://github.com/scummvm/scummvm/commit/d8f8a35c5caa815af3bd28f25090ce81282cd577
Author: Gianluca Boiano (morf3089 at gmail.com)
Date: 2026-11-05T11:18:12+01:00

Commit Message:
DIRECTOR: Size a non-stretched digital video sprite from its cast

A score sprite left at 0x0 takes the cast's dimensions like any other
non-stretched sprite. An off-stage timing clock stays invisible anyway,
since its own cast rect is empty.

Fixes the invisible Tivola logo intro in Physicus (Intro.dir, TIVOLA.MOV)

Changed paths:
    engines/director/sprite.cpp


diff --git a/engines/director/sprite.cpp b/engines/director/sprite.cpp
index 610337c1da9..be7c6dcda8f 100644
--- a/engines/director/sprite.cpp
+++ b/engines/director/sprite.cpp
@@ -630,14 +630,6 @@ void Sprite::setCast(CastMemberID memberID, bool replaceDims) {
 			case kCastShape:
 			case kCastText:
 				break;
-			case kCastDigitalVideo:
-				// A video the score sizes to 0x0 is intentionally invisible (a
-				// hidden timing/audio clock); keep it, don't force native size.
-				if (_width > 0 && _height > 0) {
-					_width = dims.width();
-					_height = dims.height();
-				}
-				break;
 			case kCastBitmap:
 			default:
 				_width = dims.width();




More information about the Scummvm-git-logs mailing list