struct ICON_MENU_ENTRY
A command icon of the icon menu: its OAM attributes, its place and its VRAM cache slot.
Declared in icon_menu.h.
Fields
| Name | Description | |
|---|---|---|
Uint32 | sprite [3] | queue link, OAM attrs 0-1 and 2, written each tick by mnIconMenuDrawIcons |
Sint16 | x | screen pixels; an icon at 0 is not drawn |
Sint16 | y | screen pixels |
Uint16 | unused | |
Uint16 | slot | VRAM cache entry of the icon's picture |
Description
A command icon of the icon menu: its OAM attributes, its place and its VRAM
cache slot.
struct ICON_MENU_ENTRY
Referenced by mnIconMenuAddIcon(), mnIconMenuCenter(), mnIconMenuDrawIcons() and mnIconMenuLayoutIcons().
Definition at line 13 of file icon_menu.h.
Fields in detail
sprite
Uint32 sprite[3]
queue link, OAM attrs 0-1 and 2, written each tick by
mnIconMenuDrawIcons
x
Sint16 x
screen pixels; an icon at 0 is not drawn
y
Sint16 y
screen pixels
unused
Uint16 unused
slot
Uint16 slot
VRAM cache entry of the icon's picture