[Scummvm-cvs-logs] CVS: scummvm akos.cpp,1.21,1.22 costume.cpp,1.34,1.35

Max Horn fingolfin at users.sourceforge.net
Tue Jun 4 16:34:03 CEST 2002


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

Modified Files:
	akos.cpp costume.cpp 
Log Message:
newDirToOldDir is now a class method of class Scumm)

Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/akos.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- akos.cpp	23 May 2002 21:22:07 -0000	1.21
+++ akos.cpp	4 Jun 2002 23:33:49 -0000	1.22
@@ -183,7 +183,7 @@
 
 void AkosRenderer::setFacing(Actor * a)
 {
-	mirror = (_vm->newDirToOldDir(a->facing) != 0 || akhd->flags & 1);
+	mirror = (Scumm::newDirToOldDir(a->facing) != 0 || akhd->flags & 1);
 	if (a->flip)
 		mirror ^= 1;
 }

Index: costume.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/costume.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- costume.cpp	23 May 2002 00:37:00 -0000	1.34
+++ costume.cpp	4 Jun 2002 23:33:49 -0000	1.35
@@ -991,7 +991,7 @@
 
 void CostumeRenderer::setFacing(uint16 facing)
 {
-	_mirror = _vm->newDirToOldDir(facing) != 0
+	_mirror = Scumm::newDirToOldDir(facing) != 0
 		|| (_loaded._ptr[7] & 0x80);
 }
 





More information about the Scummvm-git-logs mailing list