[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.26,2.27
Jonathan Gray
khalek at users.sourceforge.net
Mon Jan 27 16:43:03 CET 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv6905
Modified Files:
gfx.cpp
Log Message:
remove 'small drawing optimisation' that breaks drawing of vertically scrolling rooms, and yes fingolfin in answer to the message left in the commit message on rev 2.26 it causes regression :)
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.26
retrieving revision 2.27
diff -u -d -r2.26 -r2.27
--- gfx.cpp 18 Jan 2003 19:16:23 -0000 2.26
+++ gfx.cpp 28 Jan 2003 00:42:32 -0000 2.27
@@ -436,10 +436,10 @@
w += 8;
continue;
}
- // FIXME - why was this code in there? I don't see why it would be needed...
-// if (_vm->_features & GF_AFTER_V7)
-// drawStripToScreen(vs, start * 8, w, 0, vs->height);
-// else
+ // handle vertically scrolling rooms
+ if (_vm->_features & GF_AFTER_V7)
+ drawStripToScreen(vs, start * 8, w, 0, vs->height);
+ else
drawStripToScreen(vs, start * 8, w, top, bottom);
w = 8;
}
More information about the Scummvm-git-logs
mailing list