[Scummvm-cvs-logs] CVS: scummvm/queen logic.cpp,1.51,1.52

Gregory Montoir cyx at users.sourceforge.net
Mon Oct 20 02:23:13 CEST 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv18814

Modified Files:
	logic.cpp 
Log Message:
real Logic::anim cleanup

Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/logic.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- logic.cpp	20 Oct 2003 08:34:48 -0000	1.51
+++ logic.cpp	20 Oct 2003 08:39:18 -0000	1.52
@@ -902,25 +902,6 @@
 				curBob = 5 + _numFurnitureAnimated;
 				animSetup(pgd, curImage + 1, curBob + numObjectAnimated, pod->name > 0);
 				curImage += pgd->lastFrame;
-/*				AnimFrame *paf = NULL;
-				if (pod->name > 0) {
-					paf = _newAnim[curBob + numObjectAnimated];
-				}
-				BobSlot *pbs = _graphics->bob(curBob + numObjectAnimated);
-				int16 f = animFindAll(pgd, curImage + 1, paf);
-				curImage += pgd->lastFrame;
-				if (paf != NULL) {
-					if (f < 0) {
-						pbs->xflip = true;
-					}
-					pbs->active = true;
-					pbs->x = pgd->x;
-					pbs->y = pgd->y;
-					_graphics->bobAnimString(curBob + numObjectAnimated, paf);
-				}
-				else {
-					pbs->animating = false;
-				}*/
 				++numObjectAnimated;
 			}
 			else if (lastFrame != 0) {
@@ -1066,24 +1047,6 @@
 	if (pgd->firstFrame < 0) {
 		animSetup(pgd, curImage, curBob, pod->name != 0);
 		curImage += pgd->lastFrame - 1;
-/*		AnimFrame *paf = NULL;
-		if (pod->name != 0) {
-			paf = _newAnim[curBob];
-		}
-		int16 f = animFindAll(pgd, curImage, paf);
-		curImage += pgd->lastFrame - 1;
-		if (f < 0) {
-			pbs->xflip = true;
-		}
-		if (paf != NULL) {
-			pbs->active = true;
-			pbs->x = pgd->x;
-			pbs->y = pgd->y;
-			_graphics->bobAnimString(curBob, _newAnim[curBob]);
-		}
-		else {
-			pbs->animating = false;
-		}*/
 	}
 	else if (lastFrame != 0) {
 		// turn on an animated bob





More information about the Scummvm-git-logs mailing list