|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's menu cursor. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| void | FIGHTSTG_drawCursorBar (s32 arg) |
| The vsync callback while the list is open: draws the picked line's bar, moving through its frames, and the bar off the line picked before when the pick has changed, over the frame being drawn. | |
| void | FIGHTSTG_drawCursorSprites (MenuCursor *task) |
| Draws each line's sprite of the cursor, the picked one blinking through the palettes and the one left fading out. | |
| void | FIGHTSTG_updateCursor (MenuCursor *task) |
| The menu cursor's task: sets FIGHTSTG_drawCursorBar as the vsync callback, draws the lines' sprites and moves with up and down until locked; when killed, takes the callback off. | |
| MenuCursor * | FIGHTSTG_createCursor (CursorLayout *layout) |
| Creates a menu cursor laid out by layout. | |
Variables | |
| RECT | FIGHTSTG_cursorBarRect = { 0, 0xF4, 12, 12 } |
| where FIGHTSTG_drawCursorBar puts the cursor's bar in VRAM | |
FIGHTSTG's menu cursor.
Definition in file cursor.c.
| void FIGHTSTG_drawCursorBar | ( | s32 | arg | ) |
The vsync callback while the list is open: draws the picked line's bar, moving through its frames, and the bar off the line picked before when the pick has changed, over the frame being drawn.
The match depends on the task coming as the callback's s32 argument, cast into a variable.
Definition at line 12 of file cursor.c.
Referenced by FIGHTSTG_updateCursor().
| void FIGHTSTG_drawCursorSprites | ( | MenuCursor * | task | ) |
Draws each line's sprite of the cursor, the picked one blinking through the palettes and the one left fading out.
< the HUD, the menus and the messages
Definition at line 49 of file cursor.c.
Referenced by FIGHTSTG_updateCursor().
| void FIGHTSTG_updateCursor | ( | MenuCursor * | task | ) |
The menu cursor's task: sets FIGHTSTG_drawCursorBar as the vsync callback, draws the lines' sprites and moves with up and down until locked; when killed, takes the callback off.
< SYSTEM06
< SYSTEM06
Definition at line 87 of file cursor.c.
Referenced by FIGHTSTG_createCursor().
| MenuCursor * FIGHTSTG_createCursor | ( | CursorLayout * | layout | ) |
Creates a menu cursor laid out by layout.
Definition at line 136 of file cursor.c.
Referenced by FIGHTSTG_updateCommandMenu(), FIGHTSTG_updateConfusedMenu(), FIGHTSTG_updateDigivolveMenu(), FIGHTSTG_updateItemMenu(), FIGHTSTG_updateSwitchInMenu(), FIGHTSTG_updateSwitchMenu(), and FIGHTSTG_updateTechMenu().
| RECT FIGHTSTG_cursorBarRect = { 0, 0xF4, 12, 12 } |
where FIGHTSTG_drawCursorBar puts the cursor's bar in VRAM
where FIGHTSTG_drawCursorBar's bar is in VRAM
Definition at line 6 of file cursor.c.
Referenced by FIGHTSTG_drawCursorBar().