[Scummvm-cvs-logs] SF.net SVN: scummvm: [27070] scummvm/trunk/engines/saga
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Jun 3 21:16:00 CEST 2007
Revision: 27070
http://scummvm.svn.sourceforge.net/scummvm/?rev=27070&view=rev
Author: thebluegr
Date: 2007-06-03 12:15:59 -0700 (Sun, 03 Jun 2007)
Log Message:
-----------
The animation frame counter is updated correctly now, so all animations in IHNM where the engine is waiting are displayed fully. Big thanks to sev, once again :)
Modified Paths:
--------------
scummvm/trunk/engines/saga/actor.cpp
scummvm/trunk/engines/saga/saga.cpp
scummvm/trunk/engines/saga/sfuncs.cpp
Modified: scummvm/trunk/engines/saga/actor.cpp
===================================================================
--- scummvm/trunk/engines/saga/actor.cpp 2007-06-03 18:44:03 UTC (rev 27069)
+++ scummvm/trunk/engines/saga/actor.cpp 2007-06-03 19:15:59 UTC (rev 27070)
@@ -1626,6 +1626,8 @@
}
}
}
+ // Update frameCount for sfWaitFrames in IHNM
+ _vm->_frameCount++;
}
void Actor::direct(int msec) {
Modified: scummvm/trunk/engines/saga/saga.cpp
===================================================================
--- scummvm/trunk/engines/saga/saga.cpp 2007-06-03 18:44:03 UTC (rev 27069)
+++ scummvm/trunk/engines/saga/saga.cpp 2007-06-03 19:15:59 UTC (rev 27070)
@@ -295,8 +295,6 @@
// Per frame processing
_render->drawScene();
_system->delayMillis(10);
- // Update frameCount for sfWaitFrames in IHNM
- _frameCount++;
}
return 0;
Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp 2007-06-03 18:44:03 UTC (rev 27069)
+++ scummvm/trunk/engines/saga/sfuncs.cpp 2007-06-03 19:15:59 UTC (rev 27070)
@@ -1887,6 +1887,7 @@
SF_stub("sfResetMouseClicks", thread, nArgs);
}
+// Used in IHNM only
// Param1: frames
void Script::sfWaitFrames(SCRIPTFUNC_PARAMS) {
int16 frames;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list