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

The map screen, with the areas visited and the towns. More...

#include "menus/field_menu.h"
Include dependency graph for map_screen.c:

Go to the source code of this file.

Functions

void STSTATUS_showMapArea (StatusMapScreen *screen, TextWindow **windows)
 Finds the area under the cursor and shows its name.
 
void STSTATUS_moveMapCursor (StatusMapScreen *screen, s32 dx, s32 dy)
 Moves the cursor, or the map when the cursor is in the middle.
 
void STSTATUS_runMapScreen (StatusMapScreen *screen, TextWindow **windows)
 Moves the cursor faster while the pad is held; triangle closes.
 
void STSTATUS_drawMapScreen (StatusMapScreen *screen)
 Draws the map, the visited areas, the towns and the cursor.
 
void STSTATUS_updateMapScreen (StatusMapScreen *screen, TextWindow **windows)
 The map screen's update.
 
Task * STSTATUS_createMapScreen (FieldMenuScreen *menu, s32 extra)
 Creates the map screen (task): the map of the first half of the game or, in the late game, of the second (FILE_STATUS_BG + 2), and requests its area names.
 

Detailed Description

The map screen, with the areas visited and the towns.

It begins STSTATUS's last object, which has no rodata: where its code starts is a guess

Definition in file map_screen.c.

Function Documentation

◆ STSTATUS_showMapArea()

void STSTATUS_showMapArea ( StatusMapScreen *  screen,
TextWindow **  windows 
)

Finds the area under the cursor and shows its name.

map_screen.c

< SYSTEM07

Definition at line 7 of file map_screen.c.

Referenced by STSTATUS_updateMapScreen().

Here is the caller graph for this function:

◆ STSTATUS_moveMapCursor()

void STSTATUS_moveMapCursor ( StatusMapScreen *  screen,
s32  dx,
s32  dy 
)

Moves the cursor, or the map when the cursor is in the middle.

Definition at line 53 of file map_screen.c.

Referenced by STSTATUS_runMapScreen(), and STSTATUS_updateMapScreen().

Here is the caller graph for this function:

◆ STSTATUS_runMapScreen()

void STSTATUS_runMapScreen ( StatusMapScreen *  screen,
TextWindow **  windows 
)

Moves the cursor faster while the pad is held; triangle closes.

< SYSTEM01

Definition at line 134 of file map_screen.c.

Referenced by STSTATUS_updateMapScreen().

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

◆ STSTATUS_drawMapScreen()

void STSTATUS_drawMapScreen ( StatusMapScreen *  screen)

Draws the map, the visited areas, the towns and the cursor.

Definition at line 176 of file map_screen.c.

Referenced by STSTATUS_updateMapScreen().

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

◆ STSTATUS_updateMapScreen()

void STSTATUS_updateMapScreen ( StatusMapScreen *  screen,
TextWindow **  windows 
)

The map screen's update.

Definition at line 273 of file map_screen.c.

Referenced by STSTATUS_createMapScreen().

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

◆ STSTATUS_createMapScreen()

Task * STSTATUS_createMapScreen ( FieldMenuScreen *  menu,
s32  extra 
)

Creates the map screen (task): the map of the first half of the game or, in the late game, of the second (FILE_STATUS_BG + 2), and requests its area names.

< ASKMAP: the map screen's before

< AMTMAP: the map screen's in the second half (STSTATUS_getGameHalf)

Definition at line 322 of file map_screen.c.

Here is the call graph for this function: