aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/animation.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-07-01 12:01:17 +0000
committerPaul Gilbert2010-07-01 12:01:17 +0000
commit6c6d8b3fb39afe4a5866348ca2d34a7b13b566bb (patch)
tree2534a8ec7d4cd1cc155f99f0ad6f9d34fc9936be /engines/m4/animation.cpp
parentb45d2cd92b137dc429f12f67b887a193f601afb2 (diff)
downloadscummvm-rg350-6c6d8b3fb39afe4a5866348ca2d34a7b13b566bb.tar.gz
scummvm-rg350-6c6d8b3fb39afe4a5866348ca2d34a7b13b566bb.tar.bz2
scummvm-rg350-6c6d8b3fb39afe4a5866348ca2d34a7b13b566bb.zip
Introduced a hash for storing all the miscellaneous data values, and used it to more properly implement display of all the wakeup text in the first room
svn-id: r50544
Diffstat (limited to 'engines/m4/animation.cpp')
-rw-r--r--engines/m4/animation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/m4/animation.cpp b/engines/m4/animation.cpp
index f9dd8287ae..0ead57aac9 100644
--- a/engines/m4/animation.cpp
+++ b/engines/m4/animation.cpp
@@ -482,6 +482,10 @@ void MadsAnimation::setCurrentFrame(int frameNumber) {
_nextScrollTimer = _nextFrameTimer = _madsVm->_currentTimer;
}
+int MadsAnimation::getCurrentFrame() {
+ return _currentFrame;
+}
+
void MadsAnimation::load1(int frameNumber) {
if (_skipLoad)
return;