[Scummvm-cvs-logs] SF.net SVN: scummvm: [28932] scummvm/trunk/engines/kyra/text_v1.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Sep 16 17:15:15 CEST 2007


Revision: 28932
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28932&view=rev
Author:   lordhoto
Date:     2007-09-16 08:15:15 -0700 (Sun, 16 Sep 2007)

Log Message:
-----------
Fixed a little graphics glitch, where sometimes parts of the interface were cleared.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/text_v1.cpp

Modified: scummvm/trunk/engines/kyra/text_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/text_v1.cpp	2007-09-16 14:57:34 UTC (rev 28931)
+++ scummvm/trunk/engines/kyra/text_v1.cpp	2007-09-16 15:15:15 UTC (rev 28932)
@@ -302,7 +302,7 @@
 	if (textEnabled()) {
 		_animator->restoreAllObjectBackgrounds();
 
-		_screen->copyRegion(12, _text->_talkMessageY, 12, 136, 308, _text->_talkMessageH, 2, 2);
+		_screen->copyRegion(12, _text->_talkMessageY, 12, 136, 296, _text->_talkMessageH, 2, 2);
 		_screen->hideMouse();
 
 		_text->printCharacterText(processedString, charNum, _characterList[charNum].x1);
@@ -321,12 +321,12 @@
 	if (textEnabled()) {
 		_animator->restoreAllObjectBackgrounds();
 
-		_screen->copyRegion(12, 136, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 2);
+		_screen->copyRegion(12, 136, 12, _text->_talkMessageY, 296, _text->_talkMessageH, 2, 2);
 		_animator->preserveAllBackgrounds();
 		_animator->prepDrawAllObjects();
 		_screen->hideMouse();
 
-		_screen->copyRegion(12, _text->_talkMessageY, 12, _text->_talkMessageY, 308, _text->_talkMessageH, 2, 0);
+		_screen->copyRegion(12, _text->_talkMessageY, 12, _text->_talkMessageY, 296, _text->_talkMessageH, 2, 0);
 		_screen->showMouse();
 		_animator->flagAllObjectsForRefresh();
 		_animator->copyChangedObjectsForward(0);


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