struct MENU_SPR
A menu sprite: a list link and its OAM attributes, as two words or as fields.
Declared in menu_list.h.
Fields
| Name | Description | |
|---|---|---|
struct MENU_SPR * | next | |
union { struct { unsigned long | attr01, attr23, word, y, affine, mode, mosaic, colors, shape, x, affineIndex, size, tile, priority, palette, unused, f, oam ; unsigned long attr23; } word; struct { Uint16 y : 8; Uint16 affine : 2; Uint16 mode : 2; Uint16 mosaic : 1; Uint16 colors : 1; Uint16 shape : 2; Uint16 x : 9; Uint16 affineIndex : 5; Uint16 size : 2; Uint16 tile : 10; Uint16 priority : 2; Uint16 palette : 4; Uint16 unused; } f; } oam |
Description
A menu sprite: a list link and its OAM attributes, as two words or as fields.
struct MENU_SPR
Referenced by btMessageWaitForAdvance(), btMessageWaitForAdvanceAt(), btPlaybackRun(), mnArrowCreate(), mnArrowSetPos(), mnBattleCollectPartyCommands(), mnBattleDjinnMenuRun(), mnBattleItemMenuRun(), mnBattlePsynergyMenuRun(), mnBattleSummonMenuRun(), mnDebugFlagEditorRun() and mnDebugSceneSelectRun().
Definition at line 38 of file menu_list.h.
Fields in detail
next
struct MENU_SPR *next
attr01, attr23, word, y, affine, mode, mosaic, colors, shape, x, affineIndex, size, tile, priority, palette, unused, f, oam
union { struct { unsigned long attr01; unsigned long attr23; } word; struct { Uint16 y : 8; Uint16 affine : 2; Uint16 mode : 2; Uint16 mosaic : 1; Uint16 colors : 1; Uint16 shape : 2; Uint16 x : 9; Uint16 affineIndex : 5; Uint16 size : 2; Uint16 tile : 10; Uint16 priority : 2; Uint16 palette : 4; Uint16 unused; } f; } oam