struct SELECTION_NODE
An icon of the selection screen: its list links, the entry it shows (kind/base from SELECTION_MENU_STATE.kinds and .bases; for an arrow, kind is TRUE while shown and base is the ticks left of its nudge after a scroll), 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 | entry number in kind (arrow: scroll-nudge ticks left) |
Uint16 | kind | entry kind, ICON_KIND_NONE if free (arrow: TRUE shown) |
Uint16 | slot | VRAM cache slot of its picture |
Uint16 | tile | first sprite tile of its picture |
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 | screen pixels, where it stood when chosen |
Sint16 | homeY | screen pixels, where it stood when chosen |
Uint16 | msg | its name, shown in the screen's window |
Sint16 | scale | 8.8 fixed point, Q_8_8(1) full size |
Sint16 | scaleStep | 8.8 fixed point a tick |
Sint16 | scaleEnd | 8.8 fixed point, Q_8_8(1) full size |
SELECTION_SPR | sprite |
Description
An icon of the selection screen: its list links, the entry it shows
(kind/base from SELECTION_MENU_STATE.kinds and .bases; for an arrow, kind is
TRUE while shown and base is the ticks left of its nudge after a scroll), its
place and its slide toward a target, its zoom and its sprite.
struct SELECTION_NODE
Referenced by mnClearBattleHighlight(), mnConfirmSelection(), mnNodeChainGetNodeAtIndex(), mnSelectionMenuBuildEntries(), mnSelectionMenuClose(), mnSelectionMenuDraw(), mnSelectionMenuFindFreeIcon(), mnSelectionMenuFreeLargeIcon(), mnSelectionMenuGetCursorNode(), mnSelectionMenuHighlightIcon(), mnSelectionMenuLoadLargeIcon(), mnSelectionMenuOpenNameWindow(), mnSelectionMenuRedrawIcon(), mnSelectionMenuScroll(), mnSelectionMenuSetPos(), mnSelectionMenuSetupIcon(), mnSelectionMenuStepLeft() and mnSelectionMenuStepRight().
Definition at line 35 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
entry number in kind (arrow: scroll-nudge ticks left)
kind
Uint16 kind
entry kind, ICON_KIND_NONE if free
(arrow: TRUE shown)
slot
Uint16 slot
VRAM cache slot of its picture
tile
Uint16 tile
first sprite tile of its picture
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
screen pixels, where it stood when chosen
homeY
Sint16 homeY
screen pixels, where it stood when chosen
msg
Uint16 msg
its name, shown in the screen's window
scale
Sint16 scale
8.8 fixed point, Q_8_8(1) full size
scaleStep
Sint16 scaleStep
8.8 fixed point a tick
scaleEnd
Sint16 scaleEnd
8.8 fixed point, Q_8_8(1) full size
sprite
SELECTION_SPR sprite