Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
SwitchMenu Struct Reference

The battle's switch menu (FIGHTSTG_createSwitchMenu): the player's other fighters, with their HP and MP, to bring in for the active one; a message when there are none. 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 SwitchMenu *task, s32 state)
 
void(* setSubstate )(struct SwitchMenu *task, s32 substate)
 
void(* setStep )(struct SwitchMenu *task, s32 step)
 
void(* setCounter )(struct SwitchMenu *task, s32 counter)
 
void(* nextState )(struct SwitchMenu *task)
 
void(* nextSubstate )(struct SwitchMenu *task)
 
void(* nextStep )(struct SwitchMenu *task)
 
void(* tickCounter )(struct SwitchMenu *task)
 
void(* update )()
 
void(* destroy )(struct SwitchMenu *task)
 
s32 * result
 -1 until it is done, then the fighter or -2
 
s32 * line
 the cursor's line, kept for the next time
 
s32 canCancel
 triangle goes back (not after a knockout)
 
s32 others [2]
 the other fighters of the player's side
 
s32 count
 
s32 arrowShown
 the message's arrow, from its second frame
 
s32 arrowTime
 
s32 arrowPalette
 
s32 pairs [2]
 FIGHTSTG_getPairDigimon's, marked with an icon.
 
s16 slots [6]
 GAME.funcs.getPartnerSlots's.
 

Detailed Description

The battle's switch menu (FIGHTSTG_createSwitchMenu): the player's other fighters, with their HP and MP, to bring in for the active one; a message when there are none.

Definition at line 224 of file menu.h.

Field Documentation

◆ id

s32 SwitchMenu::id

Definition at line 225 of file menu.h.

◆ key1

s32 SwitchMenu::key1

Definition at line 225 of file menu.h.

◆ key2

s32 SwitchMenu::key2

Definition at line 225 of file menu.h.

◆ state

s32 SwitchMenu::state

Definition at line 225 of file menu.h.

Referenced by FIGHTSTG_updateSwitchMenu().

◆ substate

s32 SwitchMenu::substate

Definition at line 225 of file menu.h.

◆ step

s32 SwitchMenu::step

Definition at line 225 of file menu.h.

◆ counter

s32 SwitchMenu::counter

Definition at line 225 of file menu.h.

◆ paused

s32 SwitchMenu::paused

Definition at line 225 of file menu.h.

◆ childCount

s32 SwitchMenu::childCount

Definition at line 225 of file menu.h.

◆ children

void* SwitchMenu::children

Definition at line 225 of file menu.h.

◆ setState

void(* SwitchMenu::setState) (struct SwitchMenu *task, s32 state)

Definition at line 225 of file menu.h.

Referenced by FIGHTSTG_updateSwitchMenu().

◆ setSubstate

void(* SwitchMenu::setSubstate) (struct SwitchMenu *task, s32 substate)

Definition at line 225 of file menu.h.

◆ setStep

void(* SwitchMenu::setStep) (struct SwitchMenu *task, s32 step)

Definition at line 225 of file menu.h.

◆ setCounter

void(* SwitchMenu::setCounter) (struct SwitchMenu *task, s32 counter)

Definition at line 225 of file menu.h.

◆ nextState

void(* SwitchMenu::nextState) (struct SwitchMenu *task)

Definition at line 225 of file menu.h.

Referenced by FIGHTSTG_updateSwitchMenu().

◆ nextSubstate

void(* SwitchMenu::nextSubstate) (struct SwitchMenu *task)

Definition at line 225 of file menu.h.

◆ nextStep

void(* SwitchMenu::nextStep) (struct SwitchMenu *task)

Definition at line 225 of file menu.h.

◆ tickCounter

void(* SwitchMenu::tickCounter) (struct SwitchMenu *task)

Definition at line 225 of file menu.h.

◆ update

void(* SwitchMenu::update) ()

Definition at line 225 of file menu.h.

◆ destroy

void(* SwitchMenu::destroy) (struct SwitchMenu *task)

Definition at line 225 of file menu.h.

◆ result

s32* SwitchMenu::result

-1 until it is done, then the fighter or -2

Definition at line 226 of file menu.h.

Referenced by FIGHTSTG_createSwitchMenu(), and FIGHTSTG_updateSwitchMenu().

◆ line

s32* SwitchMenu::line

the cursor's line, kept for the next time

Definition at line 227 of file menu.h.

Referenced by FIGHTSTG_createSwitchMenu(), and FIGHTSTG_updateSwitchMenu().

◆ canCancel

s32 SwitchMenu::canCancel

triangle goes back (not after a knockout)

Definition at line 228 of file menu.h.

Referenced by FIGHTSTG_createSwitchMenu(), and FIGHTSTG_updateSwitchMenu().

◆ others

s32 SwitchMenu::others[2]

the other fighters of the player's side

Definition at line 229 of file menu.h.

Referenced by FIGHTSTG_showSwitchFighters(), and FIGHTSTG_updateSwitchMenu().

◆ count

◆ arrowShown

s32 SwitchMenu::arrowShown

the message's arrow, from its second frame

Definition at line 231 of file menu.h.

Referenced by FIGHTSTG_updateSwitchMenu().

◆ arrowTime

s32 SwitchMenu::arrowTime

Definition at line 232 of file menu.h.

Referenced by FIGHTSTG_updateSwitchMenu().

◆ arrowPalette

s32 SwitchMenu::arrowPalette

Definition at line 233 of file menu.h.

Referenced by FIGHTSTG_updateSwitchMenu().

◆ pairs

s32 SwitchMenu::pairs[2]

FIGHTSTG_getPairDigimon's, marked with an icon.

Definition at line 234 of file menu.h.

Referenced by FIGHTSTG_drawSwitchMenu(), and FIGHTSTG_updateSwitchMenu().

◆ slots

s16 SwitchMenu::slots[6]

GAME.funcs.getPartnerSlots's.

Definition at line 235 of file menu.h.

Referenced by FIGHTSTG_getPairDigimon().


The documentation for this struct was generated from the following file: