[Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.44,1.45
Andrew Kurushin
h00ligan at users.sourceforge.net
Wed Jun 15 12:15:57 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga script.h,1.85,1.86
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.142,1.143 actor.h,1.78,1.79 puzzle.cpp,1.6,1.7 resnames.h,1.30,1.31 script.h,1.86,1.87 sthread.cpp,1.82,1.83
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31244
Modified Files:
animation.cpp
Log Message:
fix animation loop
Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/animation.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- animation.cpp 11 Jun 2005 17:24:06 -0000 1.44
+++ animation.cpp 15 Jun 2005 19:14:19 -0000 1.45
@@ -206,14 +206,9 @@
if (anim->linkId != -1) {
// If this animation has a link, follow it
anim->currentFrame = 0;
+ anim->completed = 0;
anim->state = ANIM_PAUSE;
-/* linkAnim = getAnimation(anim->linkId);
-
- linkAnim->currentFrame = 0;
- linkAnim->state = ANIM_PLAYING;
-
- animId = anim->linkId;*/
} else {
// No link, stop playing
anim->currentFrame = anim->maxFrame;
@@ -237,6 +232,7 @@
debug(5, "Animation ended going to %d", anim->linkId);
linkAnim->currentFrame = 0;
+ linkAnim->completed = 0;
linkAnim->state = ANIM_PLAYING;
animId = anim->linkId;
frameTime = 0;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga script.h,1.85,1.86
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.142,1.143 actor.h,1.78,1.79 puzzle.cpp,1.6,1.7 resnames.h,1.30,1.31 script.h,1.86,1.87 sthread.cpp,1.82,1.83
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list