struct PSYNERGY_MENU_STATE
The Psynergy menu's state (HEAP_SLOT_MENU): its windows, icons and cursors, the party members' tabs and the Psynergy listed for the chosen party member. More…
Declared in menu_internal.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | unused [8] | No view of the menu state names it. |
Sint32 | selectedMember | The party member chosen. |
WINDOW * | moneyWindow | SHOP_STATE's; not named here. |
WINDOW * | auxiliaryWindow | |
WINDOW_SPR * | sideIcon [2] | Each side's cursor. |
Sint8 | tabIndex [2] | Each side's party member, in memberTable. |
Sint8 | sideMemberCount [2] | Party members each side chooses from. |
Uint8 | unusedAfterSides [4] | No view of the menu state names it. |
WINDOW * | psynergyWindow | |
WINDOW * | statusWindow | |
WINDOW * | shortcutWindow | |
WINDOW * | infoWindow | |
WINDOW * | equipWindow | ITEM_MENU_STATE's; not named here. |
WINDOW * | listWindow | |
Uint8 | modalWindows [12] | ITEM_MENU_STATE's modal window and the words around it; not named here. |
WINDOW_SPR * | entryGridCursor | |
WINDOW_SPR * | entryIcons [MENU_ENTRY_ICONS] | |
Uint8 | unusedAfterIcons [36] | No view of the menu state names it. |
WINDOW * | msgWindow | |
Uint8 | cursorGrid [4] | ITEM_MENU_STATE's cursor grid; not named here. |
void * | memberSprites [8] | The party members' figures. |
Sint16 | memberX [8] | Screen pixels. |
Sint16 | memberY [8] | |
FIXED | memberScale [8] | 16.16 fixed point, toFIXED(1) full size. |
Sint16 | memberSpriteIds [8] | ITEM_MENU_STATE's; not named here. |
Uint16 | sideRow [2] | Each side's Psynergy row chosen. |
Uint16 | sideAction [2] | Each side's Psynergy chosen, as a party member action entry. |
Uint8 | itemCursor [8] | ITEM_MENU_STATE's cursor and the word after it; not named here. |
WINDOW_SPR * | pageArrows [2] | The up and down arrows beside the party row (mnCursorCreate). |
Uint8 | aroundBackdrop [68] | DJINN_MENU_STATE's backdrop pointer at offset 384; no view names the rest. |
Uint16 | psynergies [32] | The chosen party member's Psynergy listed. |
Uint16 | memberTable [8] | The party in order (gmPartyListMembersStub). |
Uint8 | psynergyCount | |
Uint8 | memberCount | |
Uint8 | memberIds [2] | The user and the target: [1] is |
WINDOW_SPR * | cursorIcon | MENU_TARGET_WHOLE_PARTY for Psynergy on the whole party. |
Uint16 | flags | Bit 0 is set after a use or a cancelled target. |
Uint16 | skipSlide | 1 skips the cursor's next slide once. |
Uint8 | figureRow [62] | ITEM_MENU_STATE's row of figures and the pair after it; not named here. |
Sint16 | useResult | The use's result message, after MsgItemUseResult. |
Uint8 | listState [4] | ITEM_MENU_STATE's equipPreview and listMode; not named here. |
Sint8 | selectedIndexByMember [8] | Each party member's entry chosen last. |
Uint8 | mode | 0 to use Psynergy; 1 or 2 to set the L or R shortcut. |
Uint8 | unusedAfterMode [3] | No view of the menu state names it. |
Description
The Psynergy menu's state (HEAP_SLOT_MENU): its windows, icons and cursors,
the party members' tabs and the Psynergy listed for the chosen party member.
The Broken Seal's PSYNERGY_MENU_STATE, laid out as ITEM_MENU_STATE is here.
The menu's shared functions (mnCursorCreate, mnCursorSlide,
mnPlacePartyFigures) read their cursor and figures through it, as The Broken
Seal's do.
struct PSYNERGY_MENU_STATE
Referenced by mnCursorSlide(), mnPsynergyMenuBuildPagedList(), mnPsynergyMenuClassifySelectedPsynergy(), mnPsynergyMenuDrawPage(), mnPsynergyMenuDrawPsynergyIcons(), mnPsynergyMenuPlaceEntryIcons(), mnPsynergyMenuRefreshMemberPsynergy(), mnPsynergyMenuRunList(), mnPsynergyMenuRunSteps(), mnPsynergyMenuSelectMember(), mnPsynergyMenuSelectPartySlot(), mnPsynergyMenuSelectTarget(), mnPsynergyMenuShowSelectedRow(), mnStatusScreenDrawPsynergyPage(), mnStatusScreenRunPsynergyPage() and mnStatusScreenShowPsynergyRow().
Definition at line 417 of file menu_internal.h.
Fields in detail
unused
Uint8 unused[8]
No view of the menu state names it.
selectedMember
Sint32 selectedMember
The party member chosen.
moneyWindow
WINDOW *moneyWindow
SHOP_STATE's; not named here.
auxiliaryWindow
WINDOW *auxiliaryWindow
sideIcon
WINDOW_SPR *sideIcon[2]
Each side's cursor.
tabIndex
Sint8 tabIndex[2]
Each side's party member, in memberTable.
sideMemberCount
Sint8 sideMemberCount[2]
Party members each side chooses from.
unusedAfterSides
Uint8 unusedAfterSides[4]
No view of the menu state names it.
psynergyWindow
WINDOW *psynergyWindow
statusWindow
WINDOW *statusWindow
shortcutWindow
WINDOW *shortcutWindow
infoWindow
WINDOW *infoWindow
equipWindow
WINDOW *equipWindow
ITEM_MENU_STATE's; not named here.
listWindow
WINDOW *listWindow
modalWindows
Uint8 modalWindows[12]
ITEM_MENU_STATE's modal window and the words around it; not named here.
entryGridCursor
WINDOW_SPR *entryGridCursor
entryIcons
WINDOW_SPR *entryIcons[MENU_ENTRY_ICONS]
unusedAfterIcons
Uint8 unusedAfterIcons[36]
No view of the menu state names it.
msgWindow
WINDOW *msgWindow
cursorGrid
Uint8 cursorGrid[4]
ITEM_MENU_STATE's cursor grid; not
named here.
memberSprites
void *memberSprites[8]
The party members' figures.
memberX
Sint16 memberX[8]
Screen pixels.
memberY
Sint16 memberY[8]
memberScale
FIXED memberScale[8]
16.16 fixed point, toFIXED(1) full
size.
memberSpriteIds
Sint16 memberSpriteIds[8]
ITEM_MENU_STATE's; not named here.
sideRow
Uint16 sideRow[2]
Each side's Psynergy row chosen.
sideAction
Uint16 sideAction[2]
Each side's Psynergy chosen, as a party member action entry.
itemCursor
Uint8 itemCursor[8]
ITEM_MENU_STATE's cursor and the word
after it; not named here.
pageArrows
WINDOW_SPR *pageArrows[2]
The up and down arrows beside the party
row (mnCursorCreate).
aroundBackdrop
Uint8 aroundBackdrop[68]
DJINN_MENU_STATE's backdrop pointer at
offset 384; no view names the rest.
psynergies
Uint16 psynergies[32]
The chosen party member's Psynergy listed.
memberTable
Uint16 memberTable[8]
The party in order (gmPartyListMembersStub).
psynergyCount
Uint8 psynergyCount
memberCount
Uint8 memberCount
memberIds
Uint8 memberIds[2]
The user and the target: [1] is
cursorIcon
WINDOW_SPR *cursorIcon
MENU_TARGET_WHOLE_PARTY for
Psynergy on the whole party.
flags
Uint16 flags
Bit 0 is set after a use or a cancelled target.
skipSlide
Uint16 skipSlide
1 skips the cursor's next slide once.
figureRow
Uint8 figureRow[62]
ITEM_MENU_STATE's row of figures
and the pair after it; not named
here.
useResult
Sint16 useResult
The use's result message, after
MsgItemUseResult.
listState
Uint8 listState[4]
ITEM_MENU_STATE's equipPreview and
listMode; not named here.
selectedIndexByMember
Sint8 selectedIndexByMember[8]
Each party member's entry chosen last.
mode
Uint8 mode
0 to use Psynergy; 1 or 2 to set the L or R shortcut.
unusedAfterMode
Uint8 unusedAfterMode[3]
No view of the menu state names it.