moved more stuff out of the Scumm class (usage of g_scumm is only temporary, Endy, no worries <g>); some other cleanup

svn-id: r4376
This commit is contained in:
Max Horn 2002-05-23 00:37:00 +00:00
parent 1ba002766e
commit 8fd03ae929
8 changed files with 354 additions and 387 deletions

View file

@ -2024,7 +2024,7 @@ void Scumm::o6_actorSet()
break;
case 198: /* set anim variable */
i = pop(); /* value */
setAnimVar(a, pop(), i);
a->setAnimVar(pop(), i);
break;
case 215:
a->new_3 = 1;
@ -2405,7 +2405,7 @@ void Scumm::o6_getActorAnimCounter1()
void Scumm::o6_getAnimateVariable()
{
int var = pop();
push(getAnimVar(derefActorSafe(pop(), "o6_getAnimateVariable"), var));
push(derefActorSafe(pop(), "o6_getAnimateVariable")->getAnimVar(var));
}
void Scumm::o6_soundKludge()