|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's command menu, the six commands of the player's turn. More...
#include "battle/battle_mode.h"Go to the source code of this file.
Functions | |
| void | FIGHTSTG_showCommands (CommandMenu *task) |
| Shows the six commands once, greying out attack, techniques and digivolve when the active fighter is asleep and digivolve when it has flag 0x20 (the first window's setPalette is called for each) | |
| void | FIGHTSTG_updateCommandMenu (CommandMenu *task, CommandMenuWindows *w) |
| The command menu's task: puts a cursor (FIGHTSTG_commandCursor) on the lines, starting on start; cross picks the line into *result and locks the cursor, but not the greyed-out ones (FIGHTSTG_showCommands). | |
| CommandMenu * | FIGHTSTG_createCommandMenu (s32 start, s32 *result) |
| Opens the battle's command menu with the cursor on start; *result gets the command (PlayerTurn.command) | |
Variables | |
| CursorLayout | FIGHTSTG_commandCursor |
| the battle commands' cursor (FIGHTSTG_createCursor makes the menus' cursors from these layouts) | |
FIGHTSTG's command menu, the six commands of the player's turn.
Definition in file command_menu.c.
| void FIGHTSTG_showCommands | ( | CommandMenu * | task | ) |
Shows the six commands once, greying out attack, techniques and digivolve when the active fighter is asleep and digivolve when it has flag 0x20 (the first window's setPalette is called for each)
< MFIGHT: WFIGHTMN's
< the HUD, the menus and the messages
< can't act or run away; a hit may wake it up
< what is unavailable
< can't digivolve or use a switch-in technique (TECH_EFFECT_NO_DIGIVOLVE)
< what is unavailable
Definition at line 8 of file command_menu.c.
Referenced by FIGHTSTG_updateCommandMenu().
| void FIGHTSTG_updateCommandMenu | ( | CommandMenu * | task, |
| CommandMenuWindows * | w | ||
| ) |
The command menu's task: puts a cursor (FIGHTSTG_commandCursor) on the lines, starting on start; cross picks the line into *result and locks the cursor, but not the greyed-out ones (FIGHTSTG_showCommands).
The match depends on the early exits being breaks out of a do/while.
< SYSTEM07
< can't act or run away; a hit may wake it up
< can't digivolve or use a switch-in technique (TECH_EFFECT_NO_DIGIVOLVE)
Definition at line 42 of file command_menu.c.
Referenced by FIGHTSTG_createCommandMenu().
| CommandMenu * FIGHTSTG_createCommandMenu | ( | s32 | start, |
| s32 * | result | ||
| ) |
Opens the battle's command menu with the cursor on start; *result gets the command (PlayerTurn.command)
Definition at line 79 of file command_menu.c.
Referenced by runCommandMenu().
| CursorLayout FIGHTSTG_commandCursor |
the battle commands' cursor (FIGHTSTG_createCursor makes the menus' cursors from these layouts)
FIGHTSTG_updateCommandMenu's cursor.
Definition at line 34 of file command_menu.c.
Referenced by FIGHTSTG_updateCommandMenu().