- some "actors walk" work progression
svn-id: r16308
This commit is contained in:
parent
a8c8a7ab4c
commit
a66080b80a
5 changed files with 154 additions and 97 deletions
|
@ -694,13 +694,13 @@ int Script::SF_actorWalk(SCRIPTFUNC_PARAMS) {
|
|||
int Script::sfCycleFrames(SCRIPTFUNC_PARAMS) {
|
||||
uint16 actorId;
|
||||
int flags;
|
||||
int cycleFrameNumber;
|
||||
int cycleFrameSequence;
|
||||
int cycleDelay;
|
||||
ActorData *actor;
|
||||
|
||||
actorId = getSWord(thread->pop());
|
||||
flags = getUWord(thread->pop());
|
||||
cycleFrameNumber = getUWord(thread->pop());
|
||||
cycleFrameSequence = getUWord(thread->pop());
|
||||
cycleDelay = getUWord(thread->pop());
|
||||
|
||||
actor = _vm->_actor->getActor(actorId);
|
||||
|
@ -723,7 +723,7 @@ int Script::sfCycleFrames(SCRIPTFUNC_PARAMS) {
|
|||
actor->actorFlags |= kActorBackwards;
|
||||
}
|
||||
|
||||
actor->cycleFrameNumber = cycleFrameNumber;
|
||||
actor->cycleFrameSequence = cycleFrameSequence;
|
||||
actor->cycleTimeCount = 0;
|
||||
actor->cycleDelay = cycleDelay;
|
||||
actor->actionCycle = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue