From 8e341ee968017be7d5bf7690473c80500c6b75d9 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Sun, 5 Jul 2009 11:52:17 +0000 Subject: Renaming Animation -> AnimationManager and AnimObj -> Animation in light of the new API change. svn-id: r42133 --- engines/draci/game.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/draci/game.cpp') diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index a843a8267e..b2295d15b8 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -189,7 +189,7 @@ int Game::loadAnimation(uint animNum) { animationReader.readByte(); // Cyclic field, not used animationReader.readByte(); // Relative field, not used - AnimObj *obj = _vm->_anims->addAnimation(animNum, 254, false); + Animation *anim = _vm->_anims->addAnimation(animNum, 254, false); for (uint i = 0; i < numFrames; ++i) { uint spriteNum = animationReader.readUint16LE() - 1; @@ -202,7 +202,7 @@ int Game::loadAnimation(uint animNum) { uint freq = animationReader.readUint16LE(); uint delay = animationReader.readUint16LE(); - obj->setDelay(delay * 10); + anim->setDelay(delay * 10); BAFile *spriteFile = _vm->_spritesArchive->getFile(spriteNum); @@ -212,9 +212,9 @@ int Game::loadAnimation(uint animNum) { sp->setMirrorOn(); // HACK: This is only for testing - obj->setLooping(true); + anim->setLooping(true); - obj->addFrame(sp); + anim->addFrame(sp); } return animNum; -- cgit v1.2.3