psynergy_menu.h
games/tbs/include/psynergy_menu.h on GitHub
Structures
PsynergyMenuState
struct PsynergyMenuState
The Psynergy menu: its windows, icons and cursors, the party members' tabs and the Psynergy listed for the chosen member.
| Field | Declared as | |
|---|---|---|
unk000 | u8 unk000[8] | not named by TBS code |
selectedOwner | s32 selectedOwner | the party member chosen |
unk00c | u8 unk00c[4] | not named by TBS code |
auxiliaryWindow | struct UiWindow *auxiliaryWindow | |
paneIcon | struct RenderOutput *paneIcon[2] | each pane's cursor |
tabIndex | s8 tabIndex[2] | each pane's member, in ownerTable |
tabCounts | s8 tabCounts[2] | members each pane chooses from |
psynergyWindow | struct UiWindow *psynergyWindow | |
statusWindow | struct UiWindow *statusWindow | |
shortcutWindow | struct UiWindow *shortcutWindow | the L and R shortcuts |
infoWindow | struct UiWindow *infoWindow | |
unk030 | u8 unk030[4] | not named by TBS code |
listWindow | struct UiWindow *listWindow | |
unk038 | u8 unk038[0x0c] | not named by TBS code |
entryGridCursor | struct RenderOutput *entryGridCursor | |
entryIcons | struct RenderOutput *entryIcons[32] | |
unk0c8 | u8 unk0c8[0x44] | not named by TBS code |
messageWindow | struct UiWindow *messageWindow | |
selectedColumn | u8 selectedColumn | The cursor grid: its place and its size. @{ |
selectedRow | u8 selectedRow | |
columnCount | u8 columnCount | |
rowCount | u8 rowCount | |
tabObjects | struct AnimationObject *tabObjects[8] | @} the party members' figures |
tabX | s16 tabX[8] | screen pixels |
rowPositions | s16 rowPositions[8] | screen pixels |
ownerScale | s32 ownerScale[8] | 16.16 fixed point, 0x10000 full size |
paneRow | u16 paneRow[2] | each pane's Psynergy row chosen |
paneAction | u16 paneAction[2] | each pane's Psynergy chosen, as an owner action entry |
unk17c | u8 unk17c[0x4c] | not named by TBS code |
psynergies | u16 psynergies[32] | the chosen member's Psynergy listed |
ownerTable | u16 ownerTable[8] | the party in order (Party_ListActiveOwners) |
psynergyCount | u8 psynergyCount | |
ownerCount | u8 ownerCount | |
ownerIds | u8 ownerIds[2] | The user and the target: [1] is MENU_TARGET_WHOLE_PARTY for Psynergy on the whole party. |
cursorIcon | struct RenderOutput *cursorIcon | |
flags | u16 flags | bits: 1 the list shows the shortcut help | 0 set after a use or a cancelled target |
skipSlide | u16 skipSlide | 1 skips the cursor's next slide once |
unk224 | u8 unk224[0x18] | not named by TBS code |
slotY | s16 slotY[4] | screen pixels |
unk244 | u8 unk244[0x16] | not named by TBS code |
useResult | s16 useResult | the use's result message, after MsgItemUseResult |
unk25c | u8 unk25c[4] | not named by TBS code |
selectedIndexByOwner | s8 selectedIndexByOwner[8] | each member's entry chosen last |
mode | u8 mode | 0 to use Psynergy; 1 or 2 to set the L or R shortcut |
Used by Menu_ReleaseEntryObjects, Menu_ResolveSelectedAction, Menu_UpdateEntryObjectTransforms, PsynergyMenu_BuildPageResult, PsynergyMenu_ClassifySelectedPsynergy, PsynergyMenu_CloseWindows, PsynergyMenu_CreateEntryGrid, PsynergyMenu_DrawActionPage, PsynergyMenu_DrawDetailPage, PsynergyMenu_DrawListPage, PsynergyMenu_DrawPreparedPsynergyIcons, PsynergyMenu_DrawPsynergyIcons, PsynergyMenu_DrawRangePage, PsynergyMenu_InitializeEntryObjects, PsynergyMenu_RefreshOwnerEntries, PsynergyMenu_RefreshOwnerPsynergy, PsynergyMenu_Run, PsynergyMenu_RunList, PsynergyMenu_SelectAction, PsynergyMenu_SelectMember, PsynergyMenu_SelectOwner, PsynergyMenu_SelectPartySlot, PsynergyMenu_SelectTarget, UiMenu_CreateCursor, UiMenu_PositionCursor, UiMenu_SlideCursor, offsetof.
Globals, without a comment: offsetof.