Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
message_box.c File Reference
#include "engine/game.h"
Include dependency graph for message_box.c:

Go to the source code of this file.

Functions

void drawMessageBoxFrame (MessageBoxFrame *task)
 Draws the two halves of a message box's panel, growing, still or fading.
 
void drawMessageBoxArrow (MessageBoxFrame *task)
 Draws a message box's blinking "next" arrow.
 
void updateMessageBoxFrame (MessageBoxFrame *task)
 The message box frame task: grows, waits with the arrow when asked, then fades out and ends.
 
MessageBoxFrame * createMessageBoxFrame (s32 layerId)
 A message box frame on a layer, with the menu sound.
 
void updateMessageBox (Task *task, MessageBox *data)
 The message box task: shows the text once the frame is open, closes when the text ends.
 
Task * createMessageBox (s32 layerId, void *strings, s32 index)
 A message box with string index of a table, typed out in three-line pages.
 

Function Documentation

◆ drawMessageBoxFrame()

void drawMessageBoxFrame ( MessageBoxFrame *  task)

Draws the two halves of a message box's panel, growing, still or fading.

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

Definition at line 4 of file message_box.c.

Referenced by updateMessageBoxFrame().

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

◆ drawMessageBoxArrow()

void drawMessageBoxArrow ( MessageBoxFrame *  task)

Draws a message box's blinking "next" arrow.

Definition at line 29 of file message_box.c.

Referenced by updateMessageBoxFrame().

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

◆ updateMessageBoxFrame()

void updateMessageBoxFrame ( MessageBoxFrame *  task)

The message box frame task: grows, waits with the arrow when asked, then fades out and ends.

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

Definition at line 46 of file message_box.c.

Referenced by createMessageBoxFrame().

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

◆ createMessageBoxFrame()

MessageBoxFrame * createMessageBoxFrame ( s32  layerId)

A message box frame on a layer, with the menu sound.

< SYSTEM03

Definition at line 87 of file message_box.c.

Referenced by createMessageBox().

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

◆ updateMessageBox()

void updateMessageBox ( Task *  task,
MessageBox *  data 
)

The message box task: shows the text once the frame is open, closes when the text ends.

< SYSTEM04

Definition at line 96 of file message_box.c.

Referenced by createMessageBox().

Here is the caller graph for this function:

◆ createMessageBox()

Task * createMessageBox ( s32  layerId,
void *  strings,
s32  index 
)

A message box with string index of a table, typed out in three-line pages.

Definition at line 142 of file message_box.c.

Referenced by FIELDSTG_updateSpeech().

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