|
Digimon World 3 decomp
The European version, SLES_039.36
|
The player's turn (FIGHTSTG_updatePlayerTurn, BATTLE_TASK_PLAYER_TURN): the battle menu, then the menus of its commands. More...
#include <battle/battle_mode/menu.h>
Data Fields | |
| s32 | id |
| s32 | key1 |
| s32 | key2 |
| s32 | state |
| s32 | substate |
| s32 | step |
| s32 | counter |
| s32 | paused |
| s32 | childCount |
| void * | children |
| void(* | setState )(struct PlayerTurn *task, s32 state) |
| void(* | setSubstate )(struct PlayerTurn *task, s32 substate) |
| void(* | setStep )(struct PlayerTurn *task, s32 step) |
| void(* | setCounter )(struct PlayerTurn *task, s32 counter) |
| void(* | nextState )(struct PlayerTurn *task) |
| void(* | nextSubstate )(struct PlayerTurn *task) |
| void(* | nextStep )(struct PlayerTurn *task) |
| void(* | tickCounter )(struct PlayerTurn *task) |
| void(* | update )() |
| void(* | destroy )(struct PlayerTurn *task) |
| s32 | command |
| the command menu's choice, a BATTLE_COMMAND_* | |
| s32 | switchLine |
| FIGHTSTG_createSwitchMenu's line, kept while the turn goes back to it. | |
| s32 | result |
| the open menu's, -1 until it is done and -2 to go back | |
| s32 | action |
| what the turn does | |
| s32 | arg |
| the action's: the item, the technique, or the party slot of the partner that digivolves or switches out | |
| s32 | digimon |
| the Digimon a partner changes into, or the one it switches to | |
| s32 | pairTech |
| FIGHTSTG_createPairSwitchMenu's technique, which the outgoing and incoming partners do together (action 6) | |
The player's turn (FIGHTSTG_updatePlayerTurn, BATTLE_TASK_PLAYER_TURN): the battle menu, then the menus of its commands.
| s32 PlayerTurn::state |
Definition at line 33 of file menu.h.
Referenced by FIGHTSTG_updatePlayerTurn().
| s32 PlayerTurn::substate |
Definition at line 33 of file menu.h.
Referenced by FIGHTSTG_isPlayerChoosing(), and FIGHTSTG_updatePlayerTurn().
| s32 PlayerTurn::step |
Definition at line 33 of file menu.h.
Referenced by FIGHTSTG_updatePlayerTurn().
| s32 PlayerTurn::counter |
Definition at line 33 of file menu.h.
Referenced by runCommandMenu(), runConfusedMenu(), runDigivolveMenu(), runItemMenu(), runKnockOutSwitchMenu(), runSwitchMenu(), and runTechMenu().
| void(* PlayerTurn::setState) (struct PlayerTurn *task, s32 state) |
| void(* PlayerTurn::setSubstate) (struct PlayerTurn *task, s32 substate) |
Definition at line 33 of file menu.h.
Referenced by FIGHTSTG_updatePlayerTurn(), runCommandMenu(), runConfusedMenu(), runDigivolveMenu(), runItemMenu(), runKnockOutSwitchMenu(), runSwitchMenu(), and runTechMenu().
| void(* PlayerTurn::setStep) (struct PlayerTurn *task, s32 step) |
Definition at line 33 of file menu.h.
Referenced by runCommandMenu().
| void(* PlayerTurn::setCounter) (struct PlayerTurn *task, s32 counter) |
Definition at line 33 of file menu.h.
Referenced by runKnockOutSwitchMenu(), and runSwitchMenu().
| void(* PlayerTurn::nextState) (struct PlayerTurn *task) |
Definition at line 33 of file menu.h.
Referenced by FIGHTSTG_updatePlayerTurn().
| void(* PlayerTurn::nextSubstate) (struct PlayerTurn *task) |
| void(* PlayerTurn::nextStep) (struct PlayerTurn *task) |
Definition at line 33 of file menu.h.
Referenced by FIGHTSTG_updatePlayerTurn().
| void(* PlayerTurn::tickCounter) (struct PlayerTurn *task) |
Definition at line 33 of file menu.h.
Referenced by runCommandMenu(), runConfusedMenu(), runDigivolveMenu(), runItemMenu(), runKnockOutSwitchMenu(), runSwitchMenu(), and runTechMenu().
| void(* PlayerTurn::destroy) (struct PlayerTurn *task) |
| s32 PlayerTurn::command |
the command menu's choice, a BATTLE_COMMAND_*
Definition at line 34 of file menu.h.
Referenced by FIGHTSTG_updatePlayerTurn(), and runCommandMenu().
| s32 PlayerTurn::switchLine |
FIGHTSTG_createSwitchMenu's line, kept while the turn goes back to it.
Definition at line 35 of file menu.h.
Referenced by runCommandMenu(), runKnockOutSwitchMenu(), and runSwitchMenu().
| s32 PlayerTurn::result |
the open menu's, -1 until it is done and -2 to go back
Definition at line 36 of file menu.h.
Referenced by runCommandMenu(), runConfusedMenu(), runDigivolveMenu(), runItemMenu(), runKnockOutSwitchMenu(), runSwitchMenu(), and runTechMenu().
| s32 PlayerTurn::action |
what the turn does
Definition at line 37 of file menu.h.
Referenced by runCommandMenu(), runConfusedMenu(), runDigivolveMenu(), runItemMenu(), runKnockOutSwitchMenu(), runSwitchMenu(), runTechMenu(), WFIGHTMN_runCommand(), and WFIGHTMN_runConfusedCommand().
| s32 PlayerTurn::arg |
the action's: the item, the technique, or the party slot of the partner that digivolves or switches out
Definition at line 38 of file menu.h.
Referenced by runDigivolveMenu(), runItemMenu(), runKnockOutSwitchMenu(), runSwitchMenu(), runTechMenu(), WFIGHTMN_markPicked(), WFIGHTMN_runCommand(), and WFIGHTMN_tag().
| s32 PlayerTurn::digimon |
the Digimon a partner changes into, or the one it switches to
Definition at line 39 of file menu.h.
Referenced by runDigivolveMenu(), runKnockOutSwitchMenu(), runSwitchMenu(), WFIGHTMN_digivolve(), WFIGHTMN_markPicked(), and WFIGHTMN_tag().
| s32 PlayerTurn::pairTech |
FIGHTSTG_createPairSwitchMenu's technique, which the outgoing and incoming partners do together (action 6)
Definition at line 40 of file menu.h.
Referenced by runSwitchMenu(), and WFIGHTMN_pairTech().