struct BATTLE_COMMAND_ROW_ICON
One icon of the command row (BATTLE_COMMAND_ROW_STATE): its sprite, where it stands and the command it stands for. More…
Declared in screens_internal.h.
Fields
| Name | Description | |
|---|---|---|
MENU_SPR | sprite | The icon as a 32x32 sprite, drawn only while it is selected (pulsing); the others show as tiles of BG1. |
Uint16 | resource, unused , unused | resource: the VRAM cache entry its sprite's tiles go into, one 1 KB entry that every icon of the row shares, reloaded with the selected icon. unused is never read. |
Sint32 | posX, posY , posY | Screen pixels: the sprite's top left before the pulse moves it. |
Sint32 | kind | its command: MsgCommandName + kind names it |
Description
One icon of the command row (BATTLE_COMMAND_ROW_STATE): its sprite, where it
stands and the command it stands for. screens_menu_titles.c loads it,
screens_battle_command_row.c runs the row.
struct BATTLE_COMMAND_ROW_ICON
Referenced by mnBattleCommandRowLoadIcon() and mnBattleCommandRowRun().
Definition at line 299 of file screens_internal.h.
Fields in detail
sprite
MENU_SPR sprite
The icon as a 32x32 sprite, drawn only while it is selected (pulsing); the others show as tiles of BG1.
resource, unused
Uint16 resource, unused
resource: the VRAM cache entry its sprite's
tiles go into, one 1 KB entry that every icon
of the row shares, reloaded with the selected
icon. unused is never read.
posX, posY
Sint32 posX, posY
Screen pixels: the sprite's top left before the pulse moves it.
kind
Sint32 kind
its command: MsgCommandName + kind names it