[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.21,1.22

Max Horn fingolfin at users.sourceforge.net
Tue Oct 22 04:48:07 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv3815

Modified Files:
	actor.cpp 
Log Message:
akos cleanup, first stage

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- actor.cpp	20 Oct 2002 16:49:30 -0000	1.21
+++ actor.cpp	22 Oct 2002 11:47:45 -0000	1.22
@@ -301,6 +301,7 @@
 
 	direction = updateActorDirection(true);
 	if (!(moving & MF_IN_LEG) || facing != direction) {
+		printf("walkFrame = %d, frame = %d\n", walkFrame, frame);
 		if (walkFrame != frame || facing != direction) {
 			startWalkAnim(walkFrame == frame ? 2 : 1, direction);
 		}
@@ -948,8 +949,8 @@
 	} else {
 		AkosRenderer ar(_vm);
 		ar.charsetmask = true;
-		ar.x = x - _vm->virtscr->xstart;
-		ar.y = y - elevation;
+		ar._x = x - _vm->virtscr->xstart;
+		ar._y = y - elevation;
 		ar.scale_x = scalex;
 		ar.scale_y = scaley;
 		ar.clipping = forceClip;





More information about the Scummvm-git-logs mailing list