|
Digimon World 3 decomp
The European version, SLES_039.36
|
The launchers, which send an actor flying to a tile. More...
Go to the source code of this file.
Functions | |
| s32 | FIELDSTG_scaleSin (s32 angle, s32 radius) |
| radius times the sine of angle | |
| static void | flyToDest (Launch *task) |
| The flight: the distances to the destination taken once, then the player moved along them on a sine curve, spinning and without a shadow, until counter reaches 0x1000 and the player lands on it. | |
| void | FIELDSTG_runLaunch (Launch *task) |
| Sends an actor from the nearest FIELD_TASK_LAUNCHER (y counts twice in the distance) to its dest tile: the actor walks to the task, sets it to TASK_DONE, waits for it to leave that state, then moves along a quarter sine, spinning, until it lands; without such a task it ends at once. | |
| Launch * | FIELDSTG_createLaunch (Actor *actor, SlotDest *dest) |
| Creates the flight of an actor to the tile at dest; two stages' modes (0x26C, 0x2D4) set theirs up. | |
The launchers, which send an actor flying to a tile.
Definition in file launch.c.
radius times the sine of angle
Definition at line 7 of file launch.c.
Referenced by flyToDest().
|
inlinestatic |
The flight: the distances to the destination taken once, then the player moved along them on a sine curve, spinning and without a shadow, until counter reaches 0x1000 and the player lands on it.
Definition at line 16 of file launch.c.
Referenced by FIELDSTG_runLaunch().
| void FIELDSTG_runLaunch | ( | Launch * | task | ) |
Sends an actor from the nearest FIELD_TASK_LAUNCHER (y counts twice in the distance) to its dest tile: the actor walks to the task, sets it to TASK_DONE, waits for it to leave that state, then moves along a quarter sine, spinning, until it lands; without such a task it ends at once.
The match depends on the distance written twice.
< a stage's launchers (FIELDSTG_runLaunch)
< TELEPORT
Definition at line 72 of file launch.c.
Referenced by FIELDSTG_createLaunch().
Creates the flight of an actor to the tile at dest; two stages' modes (0x26C, 0x2D4) set theirs up.
Definition at line 166 of file launch.c.
Referenced by FIELDSTG_launchActor().