[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.274,1.275
Max Horn
fingolfin at users.sourceforge.net
Fri Sep 3 08:40:04 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.152,1.153
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.295,2.296 gfx.h,1.66,1.67 intern.h,2.212,2.213 palette.cpp,2.15,2.16 script_v72he.cpp,2.41,2.42 scumm.h,1.464,1.465
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7003
Modified Files:
actor.cpp
Log Message:
Small correction for V7-8 actor drawing
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.274
retrieving revision 1.275
diff -u -d -r1.274 -r1.275
--- actor.cpp 29 Aug 2004 11:27:15 -0000 1.274
+++ actor.cpp 3 Sep 2004 15:39:14 -0000 1.275
@@ -1042,8 +1042,6 @@
bcr->_zbuf = _vm->gdi._numZBuffer-1;
}
- bcr->_draw_top = top = 0x7fffffff;
-
} else {
if (forceClip)
bcr->_zbuf = forceClip;
@@ -1055,9 +1053,10 @@
bcr->_zbuf = _vm->gdi._numZBuffer-1;
}
- bcr->_draw_top = top = 0xFF;
}
+ bcr->_draw_top = top = 0x7fffffff;
+
bcr->_draw_bottom = bottom = 0;
bcr->_skipLimb = (skipLimb != 0);
@@ -1161,7 +1160,7 @@
clearGfxUsageBit(strip, USAGE_BIT_RESTORED);
for (j = 1; j < _numActors; j++) {
if (testGfxUsageBit(strip, j) &&
- ((_actors[j].top != 0xFF && _actors[j].needRedraw) || _actors[j].needBgReset)) {
+ ((_actors[j].top != 0x7fffffff && _actors[j].needRedraw) || _actors[j].needBgReset)) {
clearGfxUsageBit(strip, j);
if ((_actors[j].bottom - _actors[j].top) >= 0)
gdi.resetBackground(_actors[j].top, _actors[j].bottom, i);
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.152,1.153
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.295,2.296 gfx.h,1.66,1.67 intern.h,2.212,2.213 palette.cpp,2.15,2.16 script_v72he.cpp,2.41,2.42 scumm.h,1.464,1.465
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list