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
Uint32linkThe sprite queue's link, then OAM attributes 0 and 1 and
Uint32attr01attribute 2
Uint32attr2
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

Uint32 link

The sprite queue's link, then OAM attributes 0 and 1 and

attr01

Uint32 attr01

attribute 2

attr2

Uint32 attr2

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