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

The message boxes and the talk boxes that follow an actor. More...

#include "field/field_mode.h"
Include dependency graph for speech.c:

Go to the source code of this file.

Functions

void FIELDSTG_getSpeechPos (Speech *task, Vec2 *out)
 Where a talk box goes: beside its actor's head on the screen, on the side its type says.
 
void FIELDSTG_updateSpeech (Speech *task, void **box)
 A speech's update: opens its message box or talk box, moves the talk box with its actor, and ends with it.
 
Speech * FIELDSTG_createSpeech (Actor *actor, s32 entry, s32 type, s32 isMessage)
 Creates the speech of an event's text entry: a message box, or a talk box of a type.
 
Speech * FIELDSTG_createTalk (Actor *actor, s32 entry)
 Creates the talk box of an actor's text entry, on the side of the screen away from where it faces and the edges.
 

Detailed Description

The message boxes and the talk boxes that follow an actor.

Definition in file speech.c.

Function Documentation

◆ FIELDSTG_getSpeechPos()

void FIELDSTG_getSpeechPos ( Speech *  task,
Vec2 *  out 
)

Where a talk box goes: beside its actor's head on the screen, on the side its type says.

speech.c

Definition at line 7 of file speech.c.

Referenced by FIELDSTG_updateSpeech().

Here is the caller graph for this function:

◆ FIELDSTG_updateSpeech()

void FIELDSTG_updateSpeech ( Speech *  task,
void **  box 
)

A speech's update: opens its message box or talk box, moves the talk box with its actor, and ends with it.

< the message and talk boxes

< the message and talk boxes

Definition at line 31 of file speech.c.

Referenced by FIELDSTG_createSpeech(), and FIELDSTG_createTalk().

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

◆ FIELDSTG_createSpeech()

Speech * FIELDSTG_createSpeech ( Actor *  actor,
s32  entry,
s32  type,
s32  isMessage 
)

Creates the speech of an event's text entry: a message box, or a talk box of a type.

Definition at line 64 of file speech.c.

Referenced by FIELDSTG_runEvent().

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

◆ FIELDSTG_createTalk()

Speech * FIELDSTG_createTalk ( Actor *  actor,
s32  entry 
)

Creates the talk box of an actor's text entry, on the side of the screen away from where it faces and the edges.

Definition at line 77 of file speech.c.

Referenced by runTalk().

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