Skip to Content
The Alchemy Project

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

NameDescription
struct SELECTION_NODE *prevthe icon before it in its row
struct SELECTION_NODE *nextthe icon after it in its row
Uint16basethe entry's id, as listed in SELECTION_MENU_STATE.bases
Uint16kindthe entry's kind, as listed in
Uint16slotSELECTION_MENU_STATE.kinds
Uint16tile
Sint16xscreen pixels
Sint16yscreen pixels
Sint16dxpixels a tick
Sint16dypixels a tick
Sint16targetXscreen pixels
Sint16targetYscreen pixels
Sint16homeX
Sint16homeY
Uint16msgits name, shown in the screen's window
Sint16scale
Sint16scaleStep
Sint16scaleEnd
SELECTION_SPRsprite

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