Cursor that approaches its target, shared by shop, name entry and settings. More...
#include <cursor.h>
Data Fields | |
| struct RenderOutput * | anchor |
| the cursor's sprite, moved with its OAM | |
| u16 | x |
| screen pixels: where the current move started | |
| u16 | y |
| screen pixels: where the current move started | |
| s16 | targetX |
| screen pixels | |
| s16 | targetY |
| screen pixels | |
| s8 | active |
| frames of the current move done; reset when it ends | |
| s8 | kind |
| frames the move takes; 0 when the cursor is still | |
Cursor that approaches its target, shared by shop, name entry and settings.
| struct RenderOutput* ShopCursor::anchor |
the cursor's sprite, moved with its OAM
Definition at line 14 of file cursor.h.
Referenced by Sanctum_RunPartyService(), SaveMenu_SelectSlot(), Shop_ConfirmAct(), Shop_PickUnit(), Shop_PickUnitItem(), Shop_Run(), Shop_RunPartyMemberIconBurst(), Shop_SelectBuy(), Shop_SelectRepair(), Shop_SelectSell(), Shop_SelectSellNum(), Shop_SelectUse(), Shop_SetCursor(), ShopCursor_Advance(), ShopCursor_MoveTowardTarget(), ShopCursor_SetPositionImmediate(), UiMessage_ShowAndRestoreState(), UiMessage_ShowChoice(), UiMessage_ShowChoiceVariant(), and UiMessage_ShowResolvedAndRestoreState().
| u16 ShopCursor::x |
screen pixels: where the current move started
Definition at line 15 of file cursor.h.
Referenced by SaveMenu_SelectSlot(), Shop_SetCursor(), ShopCursor_Advance(), and ShopCursor_SetPositionImmediate().
| u16 ShopCursor::y |
screen pixels: where the current move started
Definition at line 16 of file cursor.h.
Referenced by SaveMenu_SelectSlot(), Shop_SetCursor(), ShopCursor_Advance(), and ShopCursor_SetPositionImmediate().
| s16 ShopCursor::targetX |
screen pixels
Definition at line 17 of file cursor.h.
Referenced by Shop_SelectSellNum(), Shop_SetCursor(), ShopCursor_Advance(), ShopCursor_MoveTowardTarget(), and ShopCursor_SetPositionImmediate().
| s16 ShopCursor::targetY |
screen pixels
Definition at line 18 of file cursor.h.
Referenced by Shop_SelectSellNum(), Shop_SetCursor(), ShopCursor_Advance(), ShopCursor_MoveTowardTarget(), and ShopCursor_SetPositionImmediate().
| s8 ShopCursor::active |
frames of the current move done; reset when it ends
Definition at line 19 of file cursor.h.
Referenced by Shop_SetCursor(), ShopCursor_Advance(), and ShopCursor_SetPositionImmediate().
| s8 ShopCursor::kind |
frames the move takes; 0 when the cursor is still
Definition at line 20 of file cursor.h.
Referenced by Shop_SetCursor(), ShopCursor_Advance(), and ShopCursor_SetPositionImmediate().