From 6c6d8b3fb39afe4a5866348ca2d34a7b13b566bb Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 1 Jul 2010 12:01:17 +0000 Subject: 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 --- engines/m4/animation.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/m4/animation.cpp') 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; -- cgit v1.2.3