cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)

svn-id: r9175
This commit is contained in:
Max Horn 2003-07-24 17:44:00 +00:00
parent be7597a8c9
commit becd70d243
11 changed files with 45 additions and 44 deletions

View file

@ -959,8 +959,7 @@ void Scumm_v8::o8_actorOps() {
a->standFrame = pop();
break;
case 0x6C: // SO_ACTOR_ANIMATION_SPEED Set speed of animation
a->animSpeed = pop();
a->animProgress = 0;
a->setAnimSpeed(pop());
break;
case 0x6D: // SO_ACTOR_DEFAULT
// FIXME - is this right? Or maybe a->initActor(2) ?