[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.92,1.93

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Mar 29 07:49:16 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv8242

Modified Files:
	string.cpp 
Log Message:
hack for proper description redraw in the dig while scrolling room

Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- string.cpp	29 Mar 2003 14:03:20 -0000	1.92
+++ string.cpp	29 Mar 2003 15:48:25 -0000	1.93
@@ -379,8 +379,10 @@
 	} while (c);
 	_haveMsg = 1;
 
-	gdi._mask_left = _charset->_strLeft;
-	gdi._mask_right = _charset->_strRight;
+	// hack: more 8 pixels at width redraw before and after text
+	// for proper description redraw while scrolling room
+	gdi._mask_left = _charset->_strLeft - 8;
+	gdi._mask_right = _charset->_strRight + 8;
 	gdi._mask_top = _charset->_strTop;
 	gdi._mask_bottom = _charset->_strBottom;
 }





More information about the Scummvm-git-logs mailing list