[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.9,1.10
Pawe? Ko?odziejski
aquadran at users.sourceforge.net
Mon Oct 21 01:14:14 CEST 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv30271
Modified Files:
akos.cpp
Log Message:
added cliping for actor in akos16
Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- akos.cpp 21 Oct 2002 06:01:04 -0000 1.9
+++ akos.cpp 21 Oct 2002 08:13:48 -0000 1.10
@@ -1405,13 +1405,13 @@
_vm->updateDirtyRect(0, clip_left, clip_right + 1, clip_top, clip_bottom + 1, 1 << dirty_id);
-// if(clip_top < Actor.top) {
-// Actor.top = clip_top;
-// }
+ if(clip_top < draw_top) {
+ draw_top = clip_top;
+ }
-// if(clip_bottom > Actor.bottom) {
-// Actor.bottom = clip_bottom + 1;
-// }
+ if(clip_bottom > draw_bottom) {
+ draw_bottom = clip_bottom + 1;
+ }
int32 width_unk, height_unk;
More information about the Scummvm-git-logs
mailing list