|
Digimon World 3 decomp
The European version, SLES_039.36
|
The helpers of the stages' scripts and the script commands' table. More...
#include "field/field_mode.h"Go to the source code of this file.
Functions | |
| void | FIELDSTG_resetScriptTimer (void) |
| Stops the scripts' timer. | |
| Actor * | FIELDSTG_findActor (s32 character) |
| The actor of a character (Actor.key1), or NULL. | |
| void | FIELDSTG_waitScriptTime (s32 time, s32 *pc) |
| A script's wait: counts time down, then moves the script on. | |
| void | FIELDSTG_waitAnimDone (s32 id, s32 *pc) |
| A script's wait for the animation of the actor id to end. | |
| void | FIELDSTG_waitWalkDone (s32 id, s32 *pc) |
| A script's wait for the actor id to reach its goal. | |
| void | FIELDSTG_toScreenPos (Vec2 *pos) |
| Turns a map position into a screen one. | |
| void | FIELDSTG_clearScriptFlag (void) |
| A script helper: clears the script flag of character 1, or else of character 2. | |
| ScriptCommand * | FIELDSTG_findScriptCommand (s32 id) |
| The script command id of FIELDSTG_scriptCommands, or NULL. | |
| s32 | FIELDSTG_createScriptCommand (s32 id) |
| Creates the task of script command id, or returns 0. | |
| void | FIELDSTG_handleScriptCommand (s32 task, s32 id, s32 command, s32 arg) |
| Hands the task of script command id a command and its argument, through the command's handle. | |
The helpers of the stages' scripts and the script commands' table.
Definition in file script.c.
| void FIELDSTG_resetScriptTimer | ( | void | ) |
The actor of a character (Actor.key1), or NULL.
< every character (FIELDSTG_createActor)
Definition at line 11 of file script.c.
Referenced by FIELDSTG_clearScriptFlag(), FIELDSTG_waitAnimDone(), and FIELDSTG_waitWalkDone().
| void FIELDSTG_toScreenPos | ( | Vec2 * | pos | ) |
| void FIELDSTG_clearScriptFlag | ( | void | ) |
| ScriptCommand * FIELDSTG_findScriptCommand | ( | s32 | id | ) |
The script command id of FIELDSTG_scriptCommands, or NULL.
Definition at line 69 of file script.c.
Referenced by FIELDSTG_createScriptCommand(), and FIELDSTG_handleScriptCommand().
Creates the task of script command id, or returns 0.
Definition at line 81 of file script.c.
Referenced by FIELDSTG_setEventPose().
Hands the task of script command id a command and its argument, through the command's handle.
Definition at line 93 of file script.c.
Referenced by FIELDSTG_setEventPose().