[Scummvm-cvs-logs] scummvm master -> 028238ed5481838828652d43e647d317641745fe

bluegr bluegr at gmail.com
Tue Nov 4 11:59:08 CET 2014


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

Summary:
028238ed54 GROOVIE: Handle transparency in Gamepad videos in the 11th Hour


Commit: 028238ed5481838828652d43e647d317641745fe
    https://github.com/scummvm/scummvm/commit/028238ed5481838828652d43e647d317641745fe
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-11-04T12:57:58+02:00

Commit Message:
GROOVIE: Handle transparency in Gamepad videos in the 11th Hour

Changed paths:
    engines/groovie/roq.cpp



diff --git a/engines/groovie/roq.cpp b/engines/groovie/roq.cpp
index 49d6158..8f272d4 100644
--- a/engines/groovie/roq.cpp
+++ b/engines/groovie/roq.cpp
@@ -135,6 +135,10 @@ void ROQPlayer::buildShowBuf() {
 			// Copy a pixel, checking the alpha channel first
 			if (_alpha && !(*in & 0xFF))
 				out++;
+			else if (_fg->h == 480 && *in == _vm->_pixelFormat.RGBToColor(255, 255, 255))
+				// Handle transparency in Gamepad videos
+				// TODO: For now, we detect these videos by checking for full screen
+				out++;
 			else
 				*out++ = *in;
 






More information about the Scummvm-git-logs mailing list