Skip to Content
The Alchemy Project

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

NameDescription
Uint32sprite [3]queue link, OAM attrs 0-1 and 2, written each tick by mnIconMenuDrawIcons
Sint16xscreen pixels; an icon at 0 is not drawn
Sint16yscreen pixels
Uint16unused
Uint16slotVRAM 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