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

The area name banner, with the names of the area and the place. More...

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

Go to the source code of this file.

Functions

void FIELDSTG_showAreaName (AreaBanner *task, AreaNameWindows *windows)
 Opens the banner's windows with the names of the mode's area and place (FIELDSTG_areaNames)
 
void FIELDSTG_stretchBannerBox (AreaBanner *task, BannerBox *box)
 Stretches a box toward from-to along one axis.
 
void FIELDSTG_drawBannerBox (AreaBanner *task, u_long *ot, DVECTOR pos, DVECTOR size, s32 color)
 Draws one of the banner's boxes, a flat quad of a color.
 
void FIELDSTG_updateBanner (AreaBanner *task, AreaNameWindows *windows)
 The area name banner: in TASK_INIT it copies its ten boxes from FIELDSTG_bannerBoxes and opens the area and place windows (FIELDSTG_showAreaName); in TASK_RUN the boxes appear and stretch in turn until both windows have finished; in TASK_DONE it closes the layer's clip from the top and the bottom.
 
Task * FIELDSTG_createBanner (s32 show)
 Creates the area name banner, which closes at once unless show; the player is frozen until it ends.
 

Detailed Description

The area name banner, with the names of the area and the place.

Its rodata, at 0x800825CC (USA), starts FIELDSTG.PRO's fourth object (see data/fieldstg.c).

Definition in file banner.c.

Function Documentation

◆ FIELDSTG_showAreaName()

void FIELDSTG_showAreaName ( AreaBanner *  task,
AreaNameWindows *  windows 
)

Opens the banner's windows with the names of the mode's area and place (FIELDSTG_areaNames)

banner.c

< the area name banner

< STAREA

< the area name banner

< STNAME

Definition at line 9 of file banner.c.

Referenced by FIELDSTG_updateBanner().

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

◆ FIELDSTG_stretchBannerBox()

void FIELDSTG_stretchBannerBox ( AreaBanner *  task,
BannerBox *  box 
)

Stretches a box toward from-to along one axis.

The match depends on each case having its own variables.

Definition at line 28 of file banner.c.

Referenced by FIELDSTG_updateBanner().

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

◆ FIELDSTG_drawBannerBox()

void FIELDSTG_drawBannerBox ( AreaBanner *  task,
u_long *  ot,
DVECTOR  pos,
DVECTOR  size,
s32  color 
)

Draws one of the banner's boxes, a flat quad of a color.

Definition at line 106 of file banner.c.

Referenced by FIELDSTG_updateBanner().

Here is the caller graph for this function:

◆ FIELDSTG_updateBanner()

void FIELDSTG_updateBanner ( AreaBanner *  task,
AreaNameWindows *  windows 
)

The area name banner: in TASK_INIT it copies its ten boxes from FIELDSTG_bannerBoxes and opens the area and place windows (FIELDSTG_showAreaName); in TASK_RUN the boxes appear and stretch in turn until both windows have finished; in TASK_DONE it closes the layer's clip from the top and the bottom.

< the area name banner

< the area name banner

Definition at line 131 of file banner.c.

Referenced by FIELDSTG_createBanner().

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

◆ FIELDSTG_createBanner()

Task * FIELDSTG_createBanner ( s32  show)

Creates the area name banner, which closes at once unless show; the player is frozen until it ends.

< the area name banner

Definition at line 241 of file banner.c.

Referenced by startField().

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