struct MENU_CURSOR
Cursor that approaches its target, shared by shops, name entry screen and settings menu.
Declared in cursor.h.
Fields
| Name | Description | |
|---|---|---|
WINDOW_SPR * | anchor | the cursor's sprite, moved with its OAM |
Uint16 | x | screen pixels: where the current move started |
Uint16 | y | screen pixels: where the current move started |
Sint16 | targetX | screen pixels |
Sint16 | targetY | screen pixels |
Sint8 | elapsed | ticks of the current move done; reset when it ends |
Sint8 | ticks | ticks the move takes; 0 when the cursor is still |
Description
Cursor that approaches its target, shared by shops, name entry screen and settings menu.
struct MENU_CURSOR
Referenced by mnColossoMenuChoose(), mnCursorAdvance(), mnCursorMoveTowardTarget(), mnCursorSet() and mnCursorSetPosImmediate().
Definition at line 13 of file cursor.h.
Fields in detail
anchor
WINDOW_SPR *anchor
the cursor's sprite, moved with its OAM
x
Uint16 x
screen pixels: where the current move started
y
Uint16 y
screen pixels: where the current move started
targetX
Sint16 targetX
screen pixels
targetY
Sint16 targetY
screen pixels
elapsed
Sint8 elapsed
ticks of the current move done; reset when it ends
ticks
Sint8 ticks
ticks the move takes; 0 when the cursor is still