Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
move.c File Reference

FIGHTSTG's jumps and moves of a fighter's model. More...

Include dependency graph for move.c:

Go to the source code of this file.

Functions

void FIGHTSTG_updateJump (Jump *task)
 The jump's task: lifts its model and drops it along ease curves at its speed; kind 4 also moves it forward from home, 5 back home and 6 drops it to its home height, mirrored for the enemy.
 
Jump * FIGHTSTG_startJump (ModelControl *control, s32 kind, s32 distance)
 Starts a jump of control's model of kind 1-6 (FIGHTSTG_jumps), forward by distance for kind 4.
 
void FIGHTSTG_updateMove (MoveTask *task)
 The move's task: takes the model from from to to along tStep, a step each frame, and dies there.
 
MoveTask * FIGHTSTG_startMove (ModelControl *control, ShortVec3 *to, s32 time)
 Moves control's model from where it is to to over time frames.
 

Variables

JumpParams FIGHTSTG_jumps []
 the jumps of FIGHTSTG_startJump, by kind from 1
 

Detailed Description

FIGHTSTG's jumps and moves of a fighter's model.

Definition in file move.c.

Function Documentation

◆ FIGHTSTG_updateJump()

void FIGHTSTG_updateJump ( Jump *  task)

The jump's task: lifts its model and drops it along ease curves at its speed; kind 4 also moves it forward from home, 5 back home and 6 drops it to its home height, mirrored for the enemy.

Definition at line 8 of file move.c.

Referenced by FIGHTSTG_startJump().

Here is the caller graph for this function:

◆ FIGHTSTG_startJump()

Jump * FIGHTSTG_startJump ( ModelControl *  control,
s32  kind,
s32  distance 
)

Starts a jump of control's model of kind 1-6 (FIGHTSTG_jumps), forward by distance for kind 4.

Definition at line 89 of file move.c.

Referenced by startModelJump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FIGHTSTG_updateMove()

void FIGHTSTG_updateMove ( MoveTask *  task)

The move's task: takes the model from from to to along tStep, a step each frame, and dies there.

Definition at line 103 of file move.c.

Referenced by FIGHTSTG_startMove().

Here is the caller graph for this function:

◆ FIGHTSTG_startMove()

MoveTask * FIGHTSTG_startMove ( ModelControl *  control,
ShortVec3 *  to,
s32  time 
)

Moves control's model from where it is to to over time frames.

Definition at line 142 of file move.c.

Referenced by FIGHTSTG_runScriptModel(), and moveModelHome().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ FIGHTSTG_jumps

JumpParams FIGHTSTG_jumps[]
Initial value:
= {
{ 640, 136 }, { 1280, 102 }, { 1920, 81 }, { 2560, 64 }, { 1280, 64 }, { 0, 42 },
}

the jumps of FIGHTSTG_startJump, by kind from 1

Definition at line 83 of file move.c.

Referenced by FIGHTSTG_startJump().