[Scummvm-cvs-logs] SF.net SVN: scummvm:[33933] scummvm/trunk/engines/parallaction/balloons.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sat Aug 16 10:57:07 CEST 2008


Revision: 33933
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33933&view=rev
Author:   peres001
Date:     2008-08-16 08:57:07 +0000 (Sat, 16 Aug 2008)

Log Message:
-----------
Fixed half-invisible balloons.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/balloons.cpp

Modified: scummvm/trunk/engines/parallaction/balloons.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/balloons.cpp	2008-08-16 08:49:36 UTC (rev 33932)
+++ scummvm/trunk/engines/parallaction/balloons.cpp	2008-08-16 08:57:07 UTC (rev 33933)
@@ -585,7 +585,7 @@
 	Graphics::Surface *surf = new Graphics::Surface;
 	surf->create(rect.width(), rect.height(), 1);
 
-	_gfx->unpackBlt(rect, data->getData(frameNum), data->getRawSize(frameNum), surf, 0, BALLOON_TRANSPARENT_COLOR_BR);
+	_gfx->unpackBlt(rect, data->getData(frameNum), data->getRawSize(frameNum), surf, LAYER_FOREGROUND, BALLOON_TRANSPARENT_COLOR_BR);
 
 	return surf;
 }
@@ -626,6 +626,8 @@
 	return id;
 }
 
+static int count = 0;
+
 int BalloonManager_br::setDialogueBalloon(char *text, uint16 winding, byte textColor) {
 	cacheAnims();
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list