[Scummvm-cvs-logs] CVS: scummvm/scumm costume.cpp,1.105,1.106 gfx.cpp,2.192,2.193

Pawel Kolodziejski aquadran at users.sourceforge.net
Tue Aug 19 00:30:04 CEST 2003


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

Modified Files:
	costume.cpp gfx.cpp 
Log Message:
small changes to v1 mask

Index: costume.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/costume.cpp,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- costume.cpp	19 Aug 2003 03:20:09 -0000	1.105
+++ costume.cpp	19 Aug 2003 07:29:15 -0000	1.106
@@ -273,6 +273,7 @@
 	CHECK_HEAP
 
 	if (_loaded._format == 0x57) {
+		v1.mask_ptr = _vm->getResourceAddress(rtBuffer, 9) + v1.y * _numStrips;
 		// The v1 costume renderer needs the actor number, which is
 		// the same thing as the costume renderer's _dirty_id.
 		procC64(_dirty_id);

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.192
retrieving revision 2.193
diff -u -d -r2.192 -r2.193
--- gfx.cpp	19 Aug 2003 04:47:38 -0000	2.192
+++ gfx.cpp	19 Aug 2003 07:29:15 -0000	2.193
@@ -1241,7 +1241,7 @@
 #if 0
 		// HACK: blit mask(s) onto normal screen. Useful to debug masking 
 		for (i = 0; i < numzbuf; i++) {
-			mask_ptr = _vm->getResourceAddress(rtBuffer, 9) + stripnr + _imgBufOffs[i] + (y * _numStrips);
+			mask_ptr = _vm->getResourceAddress(rtBuffer, 9) + x + _imgBufOffs[i] + (y * _numStrips);
 			byte *dst = backbuff_ptr;
 			byte *dst2 = bgbak_ptr;
 			for (int h = 0; h < height; h++) {





More information about the Scummvm-git-logs mailing list