Alchemy
Loading...
Searching...
No Matches

PsynergyMenuState Struct Reference

The Psynergy menu: its windows, icons and cursors, the party members' tabs and the Psynergy listed for the chosen member. More...

#include <psynergy_menu.h>

Data Fields

u8 unk000 [8]
 not named by TBS code
s32 selectedOwner
 the party member chosen
u8 unk00c [4]
 not named by TBS code
struct UiWindow * auxiliaryWindow
struct RenderOutput * paneIcon [2]
 each pane's cursor
s8 tabIndex [2]
 each pane's member, in ownerTable
s8 tabCounts [2]
 members each pane chooses from
struct UiWindow * psynergyWindow
struct UiWindow * statusWindow
struct UiWindow * shortcutWindow
 the L and R shortcuts
struct UiWindow * infoWindow
u8 unk030 [4]
 not named by TBS code
struct UiWindow * listWindow
u8 unk038 [0x0c]
 not named by TBS code
struct RenderOutput * entryGridCursor
struct RenderOutput * entryIcons [32]
u8 unk0c8 [0x44]
 not named by TBS code
struct UiWindow * messageWindow
struct AnimationObject * tabObjects [8]
 the party members' figures
s16 tabX [8]
 screen pixels
s16 rowPositions [8]
 screen pixels
s32 ownerScale [8]
 16.16 fixed point, 0x10000 full size
u16 paneRow [2]
 each pane's Psynergy row chosen
u16 paneAction [2]
 each pane's Psynergy chosen, as an owner action entry
u8 unk17c [0x4c]
 not named by TBS code
u16 psynergies [32]
 the chosen member's Psynergy listed
u16 ownerTable [8]
 the party in order (Party_ListActiveOwners)
u8 psynergyCount
u8 ownerCount
u8 ownerIds [2]
 The user and the target: [1] is MENU_TARGET_WHOLE_PARTY for Psynergy on the whole party.
struct RenderOutput * cursorIcon
u16 flags
 bits: 1 the list shows the shortcut help | 0 set after a use or a cancelled target
u16 skipSlide
 1 skips the cursor's next slide once
u8 unk224 [0x18]
 not named by TBS code
s16 slotY [4]
 screen pixels
u8 unk244 [0x16]
 not named by TBS code
s16 useResult
 the use's result message, after MsgItemUseResult
u8 unk25c [4]
 not named by TBS code
s8 selectedIndexByOwner [8]
 each member's entry chosen last
u8 mode
 0 to use Psynergy; 1 or 2 to set the L or R shortcut
u8 selectedColumn
 The cursor grid: its place and its size.
u8 selectedRow
u8 columnCount
u8 rowCount

Detailed Description

The Psynergy menu: its windows, icons and cursors, the party members' tabs and the Psynergy listed for the chosen member.

Definition at line 20 of file psynergy_menu.h.

Field Documentation

◆ unk000

u8 PsynergyMenuState::unk000[8]

not named by TBS code

Definition at line 21 of file psynergy_menu.h.

◆ selectedOwner

s32 PsynergyMenuState::selectedOwner

◆ unk00c

u8 PsynergyMenuState::unk00c[4]

not named by TBS code

Definition at line 23 of file psynergy_menu.h.

◆ auxiliaryWindow

struct UiWindow* PsynergyMenuState::auxiliaryWindow

◆ paneIcon

◆ tabIndex

◆ tabCounts

s8 PsynergyMenuState::tabCounts[2]

◆ psynergyWindow

◆ statusWindow

◆ shortcutWindow

struct UiWindow* PsynergyMenuState::shortcutWindow

the L and R shortcuts

Definition at line 30 of file psynergy_menu.h.

Referenced by PsynergyMenu_SelectMember().

◆ infoWindow

◆ unk030

u8 PsynergyMenuState::unk030[4]

not named by TBS code

Definition at line 32 of file psynergy_menu.h.

◆ listWindow

struct UiWindow* PsynergyMenuState::listWindow

Definition at line 33 of file psynergy_menu.h.

Referenced by PsynergyMenu_RunList().

◆ unk038

u8 PsynergyMenuState::unk038[0x0c]

not named by TBS code

Definition at line 34 of file psynergy_menu.h.

◆ entryGridCursor

struct RenderOutput* PsynergyMenuState::entryGridCursor

Definition at line 35 of file psynergy_menu.h.

Referenced by PsynergyMenu_CreateEntryGrid(), and PsynergyMenu_RunList().

◆ entryIcons

◆ unk0c8

u8 PsynergyMenuState::unk0c8[0x44]

not named by TBS code

Definition at line 37 of file psynergy_menu.h.

◆ messageWindow

struct UiWindow* PsynergyMenuState::messageWindow

◆ selectedColumn

u8 PsynergyMenuState::selectedColumn

The cursor grid: its place and its size.

Definition at line 41 of file psynergy_menu.h.

Referenced by PsynergyMenu_CreateEntryGrid().

◆ selectedRow

u8 PsynergyMenuState::selectedRow

Definition at line 42 of file psynergy_menu.h.

Referenced by PsynergyMenu_CreateEntryGrid().

◆ columnCount

u8 PsynergyMenuState::columnCount

Definition at line 43 of file psynergy_menu.h.

Referenced by PsynergyMenu_CreateEntryGrid().

◆ rowCount

u8 PsynergyMenuState::rowCount

Definition at line 44 of file psynergy_menu.h.

Referenced by PsynergyMenu_CreateEntryGrid().

◆ tabObjects

struct AnimationObject* PsynergyMenuState::tabObjects[8]

◆ tabX

s16 PsynergyMenuState::tabX[8]

screen pixels

Definition at line 47 of file psynergy_menu.h.

Referenced by Menu_UpdateEntryObjectTransforms(), and PsynergyMenu_InitializeEntryObjects().

◆ rowPositions

◆ ownerScale

s32 PsynergyMenuState::ownerScale[8]

16.16 fixed point, 0x10000 full size

Definition at line 49 of file psynergy_menu.h.

Referenced by Menu_UpdateEntryObjectTransforms(), and PsynergyMenu_InitializeEntryObjects().

◆ paneRow

u16 PsynergyMenuState::paneRow[2]

each pane's Psynergy row chosen

Definition at line 50 of file psynergy_menu.h.

Referenced by Menu_ResolveSelectedAction(), and PsynergyMenu_RunList().

◆ paneAction

u16 PsynergyMenuState::paneAction[2]

each pane's Psynergy chosen, as an owner action entry

Definition at line 51 of file psynergy_menu.h.

Referenced by Menu_ResolveSelectedAction(), PsynergyMenu_Run(), PsynergyMenu_RunList(), and PsynergyMenu_SelectTarget().

◆ unk17c

u8 PsynergyMenuState::unk17c[0x4c]

not named by TBS code

Definition at line 52 of file psynergy_menu.h.

◆ psynergies

◆ ownerTable

u16 PsynergyMenuState::ownerTable[8]

◆ psynergyCount

◆ ownerCount

◆ ownerIds

u8 PsynergyMenuState::ownerIds[2]

◆ cursorIcon

struct RenderOutput* PsynergyMenuState::cursorIcon

◆ flags

u16 PsynergyMenuState::flags

bits: 1 the list shows the shortcut help | 0 set after a use or a cancelled target

Definition at line 63 of file psynergy_menu.h.

Referenced by Menu_ResolveSelectedAction(), PsynergyMenu_DrawActionPage(), PsynergyMenu_RunList(), and PsynergyMenu_SelectOwner().

◆ skipSlide

u16 PsynergyMenuState::skipSlide

1 skips the cursor's next slide once

Definition at line 64 of file psynergy_menu.h.

Referenced by Menu_ResolveSelectedAction(), and UiMenu_SlideCursor().

◆ unk224

u8 PsynergyMenuState::unk224[0x18]

not named by TBS code

Definition at line 65 of file psynergy_menu.h.

◆ slotY

s16 PsynergyMenuState::slotY[4]

screen pixels

Definition at line 66 of file psynergy_menu.h.

Referenced by PsynergyMenu_SelectAction().

◆ unk244

u8 PsynergyMenuState::unk244[0x16]

not named by TBS code

Definition at line 67 of file psynergy_menu.h.

◆ useResult

s16 PsynergyMenuState::useResult

the use's result message, after MsgItemUseResult

Definition at line 68 of file psynergy_menu.h.

Referenced by Menu_ResolveSelectedAction().

◆ unk25c

u8 PsynergyMenuState::unk25c[4]

not named by TBS code

Definition at line 69 of file psynergy_menu.h.

◆ selectedIndexByOwner

s8 PsynergyMenuState::selectedIndexByOwner[8]

each member's entry chosen last

Definition at line 70 of file psynergy_menu.h.

Referenced by PsynergyMenu_BuildPageResult(), PsynergyMenu_RunList(), and PsynergyMenu_SelectAction().

◆ mode

u8 PsynergyMenuState::mode

0 to use Psynergy; 1 or 2 to set the L or R shortcut

Definition at line 71 of file psynergy_menu.h.

Referenced by Menu_ResolveSelectedAction(), PsynergyMenu_CollectActions(), PsynergyMenu_RunList(), and PsynergyMenu_SelectMember().