From dd84aaf648b57220180b84a9aa0825d16bcea5bc Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sun, 10 May 2009 13:40:28 +0000 Subject: LOL: - added some spell casting (spark, heal, swarm) - fixed several bugs (not the one in the fighting system though) - added several opcodes. there shouldn't be any real show stoppers in the draracle cave now. - simplified wsa code (which required 4 lines of code for displaying a frame) - added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file) svn-id: r40420 --- engines/kyra/text_mr.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engines/kyra/text_mr.cpp') diff --git a/engines/kyra/text_mr.cpp b/engines/kyra/text_mr.cpp index 57bf717906..220208e313 100644 --- a/engines/kyra/text_mr.cpp +++ b/engines/kyra/text_mr.cpp @@ -603,12 +603,8 @@ void KyraEngine_MR::albumChatWaitToFinish() { if (frame > 22) frame = 13; - _album.wsa->setX(-100); - _album.wsa->setY(90); - _album.wsa->setDrawPage(2); - albumRestoreRect(); - _album.wsa->displayFrame(frame, 0x4000); + _album.wsa->displayFrame(frame, 2, -100, 90, 0x4000); albumUpdateRect(); nextFrame = _system->getMillis() + _rnd.getRandomNumberRng(4, 8) * _tickLength; -- cgit v1.2.3