Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
TalkBox Struct Reference

A box with a speaker's name and a message (createTalkBox). More...

#include <engine/text.h>

Data Fields

s32 id
 
s32 key1
 
s32 key2
 
s32 state
 
s32 substate
 
s32 step
 
s32 counter
 
s32 paused
 
s32 childCount
 
void * children
 
void(* setState )(struct TalkBox *task, s32 state)
 
void(* setSubstate )(struct TalkBox *task, s32 substate)
 
void(* setStep )(struct TalkBox *task, s32 step)
 
void(* setCounter )(struct TalkBox *task, s32 counter)
 
void(* nextState )(struct TalkBox *task)
 
void(* nextSubstate )(struct TalkBox *task)
 
void(* nextStep )(struct TalkBox *task)
 
void(* tickCounter )(struct TalkBox *task)
 
void(* update )()
 
void(* destroy )(struct TalkBox *task)
 
void * strings
 
s32 layerId
 
s32 type
 
s32 timer
 
s16 x
 
s16 y
 
s16 w
 
s16 h
 
void(* setPos )(struct TalkBox *box, s32 x, s32 y)
 

Detailed Description

A box with a speaker's name and a message (createTalkBox).

It opens and closes with three ZoomBox outlines (substate 0 opens, 1 closes) and type (0-3) picks one of the TALK_BOX_LAYOUTS.

Definition at line 70 of file text.h.

Field Documentation

◆ id

s32 TalkBox::id

Definition at line 71 of file text.h.

◆ key1

s32 TalkBox::key1

Definition at line 71 of file text.h.

◆ key2

s32 TalkBox::key2

Definition at line 71 of file text.h.

◆ state

s32 TalkBox::state

Definition at line 71 of file text.h.

Referenced by updateTalkBox().

◆ substate

s32 TalkBox::substate

Definition at line 71 of file text.h.

Referenced by updateTalkBox().

◆ step

s32 TalkBox::step

Definition at line 71 of file text.h.

Referenced by updateTalkBox().

◆ counter

s32 TalkBox::counter

Definition at line 71 of file text.h.

◆ paused

s32 TalkBox::paused

Definition at line 71 of file text.h.

◆ childCount

s32 TalkBox::childCount

Definition at line 71 of file text.h.

◆ children

void* TalkBox::children

Definition at line 71 of file text.h.

Referenced by createTalkBox(), and talkBoxSetPos().

◆ setState

void(* TalkBox::setState) (struct TalkBox *task, s32 state)

Definition at line 71 of file text.h.

Referenced by updateTalkBox().

◆ setSubstate

void(* TalkBox::setSubstate) (struct TalkBox *task, s32 substate)

Definition at line 71 of file text.h.

Referenced by updateTalkBox().

◆ setStep

void(* TalkBox::setStep) (struct TalkBox *task, s32 step)

Definition at line 71 of file text.h.

◆ setCounter

void(* TalkBox::setCounter) (struct TalkBox *task, s32 counter)

Definition at line 71 of file text.h.

◆ nextState

void(* TalkBox::nextState) (struct TalkBox *task)

Definition at line 71 of file text.h.

◆ nextSubstate

void(* TalkBox::nextSubstate) (struct TalkBox *task)

Definition at line 71 of file text.h.

◆ nextStep

void(* TalkBox::nextStep) (struct TalkBox *task)

Definition at line 71 of file text.h.

Referenced by updateTalkBox().

◆ tickCounter

void(* TalkBox::tickCounter) (struct TalkBox *task)

Definition at line 71 of file text.h.

◆ update

void(* TalkBox::update) ()

Definition at line 71 of file text.h.

◆ destroy

void(* TalkBox::destroy) (struct TalkBox *task)

Definition at line 71 of file text.h.

◆ strings

void* TalkBox::strings

Definition at line 72 of file text.h.

Referenced by createTalkBox().

◆ layerId

s32 TalkBox::layerId

Definition at line 73 of file text.h.

Referenced by createTalkBox(), drawTalkBoxArrow(), drawTalkBoxFrame(), and updateTalkBox().

◆ type

s32 TalkBox::type

◆ timer

s32 TalkBox::timer

Definition at line 75 of file text.h.

Referenced by updateTalkBox().

◆ x

s16 TalkBox::x

◆ y

s16 TalkBox::y

◆ w

s16 TalkBox::w

◆ h

s16 TalkBox::h

Definition at line 79 of file text.h.

Referenced by createTalkBox(), drawTalkBoxFrame(), and updateTalkBox().

◆ setPos

void(* TalkBox::setPos) (struct TalkBox *box, s32 x, s32 y)

Definition at line 80 of file text.h.

Referenced by createTalkBox(), and FIELDSTG_updateSpeech().


The documentation for this struct was generated from the following file: