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

The seventh object of STSTATUS.PRO (see card_screen.c), the first screen's panels (STSTATUS_createItemList): its rodata starts at 0x80082B90 (USA). More...

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

Go to the source code of this file.

Functions

void STSTATUS_createItemListWindows (ItemList *panel, ItemListWindows *windows)
 Creates the item list's windows: its title, two columns of 8 items, the page number, the page arrows and the cursor.
 
void STSTATUS_showItemListPage (ItemList *panel, ItemListWindows *windows, s32 show)
 Shows or hides the list's page and its arrows.
 
void STSTATUS_refreshItemList (ItemList *panel, ItemListWindows *windows)
 Shows the page with the arrows, the chosen item and the page number.
 
s32 STSTATUS_moveItemListCursor (ItemList *panel, ItemListWindows *windows)
 Moves the item list's cursor: L1 and R1 turn the pages; returns whether it moved.
 
void STSTATUS_runItemList (ItemList *panel, ItemListWindows *windows)
 The item list's update: fades in, lets an item be chosen, fades out.
 
void STSTATUS_drawItemList (ItemList *panel)
 Draws the item list's icons, page arrows and frames.
 
void STSTATUS_updateItemList (ItemList *panel, ItemListWindows *windows)
 The item list's task: fills the list, counts its pages of 16 and puts the cursor on the start item (else where the last chosen one was), then runs and draws the list.
 
ItemList * STSTATUS_createItemList (ItemScreen *screen, s32 list, s32 item)
 Creates the first screen's list of the items of a list (task), the cursor on ITEM when it is not 0.
 

Detailed Description

The seventh object of STSTATUS.PRO (see card_screen.c), the first screen's panels (STSTATUS_createItemList): its rodata starts at 0x80082B90 (USA).

Definition in file item_list.c.

Function Documentation

◆ STSTATUS_createItemListWindows()

void STSTATUS_createItemListWindows ( ItemList *  panel,
ItemListWindows *  windows 
)

Creates the item list's windows: its title, two columns of 8 items, the page number, the page arrows and the cursor.

item_list.c

Definition at line 8 of file item_list.c.

Referenced by STSTATUS_updateItemList().

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

◆ STSTATUS_showItemListPage()

void STSTATUS_showItemListPage ( ItemList *  panel,
ItemListWindows *  windows,
s32  show 
)

Shows or hides the list's page and its arrows.

< STATUS: the field menu's and STSTATUS's

< ITMNAM

< STATUS: the field menu's and STSTATUS's

< STATUS: the field menu's and STSTATUS's

Definition at line 32 of file item_list.c.

Referenced by STSTATUS_refreshItemList(), and STSTATUS_runItemList().

Here is the caller graph for this function:

◆ STSTATUS_refreshItemList()

void STSTATUS_refreshItemList ( ItemList *  panel,
ItemListWindows *  windows 
)

Shows the page with the arrows, the chosen item and the page number.

< STATUS: the field menu's and STSTATUS's

< STATUS: the field menu's and STSTATUS's

< STATUS: the field menu's and STSTATUS's

Definition at line 79 of file item_list.c.

Referenced by STSTATUS_moveItemListCursor(), and STSTATUS_runItemList().

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

◆ STSTATUS_moveItemListCursor()

s32 STSTATUS_moveItemListCursor ( ItemList *  panel,
ItemListWindows *  windows 
)

Moves the item list's cursor: L1 and R1 turn the pages; returns whether it moved.

< SYSTEM02: a cursor moves

< SYSTEM02: a cursor moves

Definition at line 107 of file item_list.c.

Referenced by STSTATUS_runItemList().

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

◆ STSTATUS_runItemList()

void STSTATUS_runItemList ( ItemList *  panel,
ItemListWindows *  windows 
)

The item list's update: fades in, lets an item be chosen, fades out.

< usable from the status menu (STSTATUS)

< SYSTEM00: a choice is taken

< SYSTEM01

Definition at line 178 of file item_list.c.

Referenced by STSTATUS_updateItemList().

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

◆ STSTATUS_drawItemList()

void STSTATUS_drawItemList ( ItemList *  panel)

Draws the item list's icons, page arrows and frames.

< usable from the status menu (STSTATUS)

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

< GTE regards 4096 as 1.0

Definition at line 243 of file item_list.c.

Referenced by STSTATUS_updateItemList().

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

◆ STSTATUS_updateItemList()

void STSTATUS_updateItemList ( ItemList *  panel,
ItemListWindows *  windows 
)

The item list's task: fills the list, counts its pages of 16 and puts the cursor on the start item (else where the last chosen one was), then runs and draws the list.

Definition at line 308 of file item_list.c.

Referenced by STSTATUS_createItemList().

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

◆ STSTATUS_createItemList()

ItemList * STSTATUS_createItemList ( ItemScreen *  screen,
s32  list,
s32  item 
)

Creates the first screen's list of the items of a list (task), the cursor on ITEM when it is not 0.

Definition at line 358 of file item_list.c.

Referenced by STSTATUS_openItemList(), and STSTATUS_reopenItemList().

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