FourObjectMotion: the row of four figures the Status and Djinn menus show, placed by a scheduler callback and eased in and out. More...
Go to the source code of this file.
Macros | |
| #define | FOUR_OBJECT_MOTION_DEFINE_RELEASE(name, update) |
| Releases the four objects and removes their scheduler callback. | |
| #define | FOUR_OBJECT_MOTION_FULL_SCALE 0x10000u |
| Full size, 1.0 in 16.16, and the height the figures are placed from: 482 pixels, in 16.16. | |
| #define | FOUR_OBJECT_MOTION_ORIGIN_Y 0x01e20000u |
Functions | |
| void | FourObjectMotion_InitializeTopRow (void *unused0, s32 unused1) |
| Replaces the four displayed objects and starts their projected-position task. | |
| void | FourObjectMotion_ClearSlotsAndSchedule (void) |
| void | FourObjectMotion_UpdateAllPositions (void) |
| Projects the four objects at full scale from their saved row positions. | |
| void | FourObjectMotion_UpdateBottomRow (void) |
| Projects the bottom row using its saved scale or easing toward full size. | |
| void | FourObjectMotion_InitializeBottomRow (s32 unused0, s32 unused1) |
| Replaces the bottom row's four objects and starts its easing task. | |
| s32 | FourObjectMotion_SetSlotPosition (s32 index, s32 x, s32 y, s32 negative) |
| Updates one object's saved position and its signed y marker. | |
| s32 | FourObjectMotion_SetSlotPhase (s32 index, s32 phase) |
| s32 | FourObjectMotion_ReplaceSlot (s32 index, s32 resourceKind, s32 value) |
| Replaces one displayed object and selects its animation. | |
| void | FourObjectMotion_ClearSlotsAndScheduleAlt (void) |
| UNUSED void | Menu_StartPartyFiguresWalking (void) |
| Starts the walking animation (1) of each party figure. Nothing calls it. | |
FourObjectMotion: the row of four figures the Status and Djinn menus show, placed by a scheduler callback and eased in and out.
Part of menu.c, the menu object, compiled only through it.
Definition in file djinn_figures.c.
| #define FOUR_OBJECT_MOTION_DEFINE_RELEASE | ( | name, | |
| update ) |
Releases the four objects and removes their scheduler callback.
Definition at line 38 of file djinn_figures.c.
| #define FOUR_OBJECT_MOTION_FULL_SCALE 0x10000u |
Full size, 1.0 in 16.16, and the height the figures are placed from: 482 pixels, in 16.16.
Definition at line 60 of file djinn_figures.c.
Referenced by FourObjectMotion_UpdateAllPositions().
| #define FOUR_OBJECT_MOTION_ORIGIN_Y 0x01e20000u |
Definition at line 61 of file djinn_figures.c.
Referenced by FourObjectMotion_UpdateAllPositions().
| void FourObjectMotion_InitializeTopRow | ( | void * | unused0, |
| s32 | unused1 ) |
Replaces the four displayed objects and starts their projected-position task.
Definition at line 10 of file djinn_figures.c.
Referenced by FourObjectMotion_InitializeTopRow(), and StatusMenu_Run().
| void FourObjectMotion_ClearSlotsAndSchedule | ( | void | ) |
Definition at line 56 of file djinn_figures.c.
Referenced by StatusMenu_Run().
| void FourObjectMotion_UpdateAllPositions | ( | void | ) |
Projects the four objects at full scale from their saved row positions.
Definition at line 64 of file djinn_figures.c.
Referenced by FourObjectMotion_ClearSlotsAndSchedule(), FourObjectMotion_InitializeTopRow(), and FourObjectMotion_UpdateAllPositions().
| void FourObjectMotion_UpdateBottomRow | ( | void | ) |
Projects the bottom row using its saved scale or easing toward full size.
Definition at line 93 of file djinn_figures.c.
Referenced by FourObjectMotion_ClearSlotsAndScheduleAlt(), FourObjectMotion_InitializeBottomRow(), and FourObjectMotion_UpdateBottomRow().
Replaces the bottom row's four objects and starts its easing task.
Definition at line 140 of file djinn_figures.c.
Referenced by DjinnMenu_Run(), and FourObjectMotion_InitializeBottomRow().
Updates one object's saved position and its signed y marker.
Definition at line 167 of file djinn_figures.c.
Referenced by DjinnMenu_RunScreen(), DjinnMenu_SelectDjinn(), DjinnMenu_ShowOwnerStatus(), FourObjectMotion_SetSlotPosition(), and OwnerAction_RunCompareLoop().
Definition at line 178 of file djinn_figures.c.
Referenced by DjinnMenu_SelectDjinn(), FourObjectMotion_SetSlotPhase(), and OwnerAction_RunCompareLoop().
Replaces one displayed object and selects its animation.
Definition at line 186 of file djinn_figures.c.
Referenced by DjinnMenu_SelectDjinn(), and FourObjectMotion_ReplaceSlot().
| void FourObjectMotion_ClearSlotsAndScheduleAlt | ( | void | ) |
Definition at line 205 of file djinn_figures.c.
Referenced by DjinnMenu_Run().
| UNUSED void Menu_StartPartyFiguresWalking | ( | void | ) |
Starts the walking animation (1) of each party figure. Nothing calls it.
Definition at line 208 of file djinn_figures.c.
Referenced by Menu_StartPartyFiguresWalking().