struct SELECTION_NODE
An icon of the selection screen: its list links, the entry it shows, its place and its slide toward a target, its zoom and its sprite.
Declared in select.h.
Fields
| Name | Description | |
|---|---|---|
struct SELECTION_NODE * | prev | the icon before it in its row |
struct SELECTION_NODE * | next | the icon after it in its row |
Uint16 | base | the entry's id, as listed in SELECTION_MENU_STATE.bases |
Uint16 | kind | the entry's kind, as listed in |
Uint16 | slot | SELECTION_MENU_STATE.kinds |
Uint16 | tile | |
Sint16 | x | screen pixels |
Sint16 | y | screen pixels |
Sint16 | dx | pixels a tick |
Sint16 | dy | pixels a tick |
Sint16 | targetX | screen pixels |
Sint16 | targetY | screen pixels |
Sint16 | homeX | |
Sint16 | homeY | |
Uint16 | msg | its name, shown in the screen's window |
Sint16 | scale | |
Sint16 | scaleStep | |
Sint16 | scaleEnd | |
SELECTION_SPR | sprite |
Description
An icon of the selection screen: its list links, the entry it shows, its place and its slide toward a target, its zoom and its sprite.
struct SELECTION_NODE
Referenced by mnClearBattleHighlight(), mnConfirmSelection(), mnSelectionMenuBuildEntries(), mnSelectionMenuClose(), mnSelectionMenuCreate(), mnSelectionMenuDraw(), mnSelectionMenuFreeLargeIcon(), mnSelectionMenuGetCursorNode(), mnSelectionMenuHighlightIcon(), mnSelectionMenuLoadLargeIcon(), mnSelectionMenuOpenNameWindow(), mnSelectionMenuRedrawIcon(), mnSelectionMenuScroll(), mnSelectionMenuSetPos(), mnSelectionMenuSetupIcon(), mnSelectionMenuStepLeft() and mnSelectionMenuStepRight().
Definition at line 32 of file select.h.
Fields in detail
prev
struct SELECTION_NODE *prev
the icon before it in its row
next
struct SELECTION_NODE *next
the icon after it in its row
base
Uint16 base
the entry's id, as listed in
SELECTION_MENU_STATE.bases
kind
Uint16 kind
the entry's kind, as listed in
slot
Uint16 slot
SELECTION_MENU_STATE.kinds
tile
Uint16 tile
x
Sint16 x
screen pixels
y
Sint16 y
screen pixels
dx
Sint16 dx
pixels a tick
dy
Sint16 dy
pixels a tick
targetX
Sint16 targetX
screen pixels
targetY
Sint16 targetY
screen pixels
homeX
Sint16 homeX
homeY
Sint16 homeY
msg
Uint16 msg
its name, shown in the screen's window
scale
Sint16 scale
scaleStep
Sint16 scaleStep
scaleEnd
Sint16 scaleEnd
sprite
SELECTION_SPR sprite