struct PSYNERGY_MENU_STATE
The Psynergy menu: its windows, icons and cursors, the party members' tabs and the Psynergy listed for the chosen party member.
Declared in menu_internal.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | unused [8] | No view of the menu state names it (see menu/README.md). |
Sint32 | selectedMember | The party member chosen. |
struct WINDOW * | moneyWindow | SHOP_STATE's; not named here. |
struct 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. |
struct WINDOW * | psynergyWindow | |
struct WINDOW * | statusWindow | |
struct WINDOW * | shortcutWindow | |
struct WINDOW * | infoWindow | |
struct WINDOW * | equipWindow | ITEM_MENU_STATE's; not named here. |
struct WINDOW * | listWindow | |
Uint8 | itemWindows [12] | ITEM_MENU_STATE's modalWindow and the two windows it never opens; not named here. |
WINDOW_SPR * | entryGridCursor | |
WINDOW_SPR * | entryIcons [32] | |
WINDOW_SPR * | statusIcons [8] | ITEM_MENU_STATE's; not named here. |
Uint8 | unusedAfterIcons [36] | No view of the menu state names it. |
struct WINDOW * | msgWindow | |
Uint8 | selectedColumn | The cursor grid: its place and its size. |
Uint8 | selectedRow | |
Uint8 | columnCount | |
Uint8 | rowCount | |
struct SPR * | memberSprites [8] | The party members' figures. |
Sint16 | memberX [8] | Screen pixels. |
Sint16 | memberY [8] | Screen pixels. |
FIXED | memberScale [8] | 16.16 fixed point, toFIXED(1) full size. |
Uint16 | sideRow [2] | Each side's Psynergy row chosen. |
Uint16 | sideAction [2] | Each side's Psynergy chosen, as a party member action entry. |
WINDOW_SPR * | cursor | ITEM_MENU_STATE's; not named here. |
Uint8 | aroundBackdrop [72] | DJINN_MENU_STATE's backdrop pointer at 388; no view names the rest. |
Uint16 | psynergies [32] | The chosen party member's Psynergy listed. |
Uint16 | memberTable [8] | The party in order (gmPartyListMembers). |
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 | bits: 1 the list shows the shortcut help | 0 set after a use or a cancelled target |
Uint16 | skipSlide | 1 skips the cursor's next slide once. |
Uint8 | figureRow [24] | ITEM_MENU_STATE's figures and figureX, the row of four figures; not named here. |
Sint16 | slotY [4] | Screen pixels. |
Uint8 | figurePhases [22] | ITEM_MENU_STATE's figureScales and DJINN_MENU_STATE's pair; not named here. |
Sint16 | useResult | The use's result message, after MsgItemUseResult. |
Sint8 | equipPreview | ITEM_MENU_STATE's; not named here. |
Uint8 | listMode | ITEM_MENU_STATE's; not named here. |
Uint8 | unusedAfterListMode [2] | No view of the menu state names it. |
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. |
Description
The Psynergy menu: its windows, icons and cursors, the party members' tabs and the Psynergy listed for the chosen party member.
struct PSYNERGY_MENU_STATE
Referenced by mnCursorCreate(), mnCursorPos(), mnCursorSlide(), mnPsynergyMenuBuildPagedList(), mnPsynergyMenuClassifySelectedPsynergy(), mnPsynergyMenuCloseWindows(), mnPsynergyMenuCreateEntryGrid(), mnPsynergyMenuDrawPage(), mnPsynergyMenuDrawPreparedPsynergyIcons(), mnPsynergyMenuDrawPsynergyIcons(), mnPsynergyMenuPlaceEntryIcons(), mnPsynergyMenuRefreshMemberPsynergy(), mnPsynergyMenuRun(), mnPsynergyMenuRunList(), mnPsynergyMenuRunSteps(), mnPsynergyMenuSelectMember(), mnPsynergyMenuSelectPartySlot(), mnPsynergyMenuSelectTarget(), mnPsynergyMenuShowSelectedRow(), mnStatusScreenDrawPsynergyPage(), mnStatusScreenRunPsynergyPage(), mnStatusScreenShowPsynergyRow() and offsetof.
Definition at line 185 of file menu_internal.h.
Fields in detail
unused
Uint8 unused[8]
No view of the menu state names it (see menu/README.md).
selectedMember
Sint32 selectedMember
The party member chosen.
moneyWindow
struct WINDOW *moneyWindow
SHOP_STATE's; not named here.
auxiliaryWindow
struct 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.
psynergyWindow
struct WINDOW *psynergyWindow
statusWindow
struct WINDOW *statusWindow
shortcutWindow
struct WINDOW *shortcutWindow
infoWindow
struct WINDOW *infoWindow
equipWindow
struct WINDOW *equipWindow
ITEM_MENU_STATE's; not named here.
listWindow
struct WINDOW *listWindow
itemWindows
Uint8 itemWindows[12]
ITEM_MENU_STATE's modalWindow and the two windows it never opens; not
named here.
entryGridCursor
WINDOW_SPR *entryGridCursor
entryIcons
WINDOW_SPR *entryIcons[32]
statusIcons
WINDOW_SPR *statusIcons[8]
ITEM_MENU_STATE's; not named here.
unusedAfterIcons
Uint8 unusedAfterIcons[36]
No view of the menu state names it.
msgWindow
struct WINDOW *msgWindow
selectedColumn
Uint8 selectedColumn
The cursor grid: its place and its size.
selectedRow
Uint8 selectedRow
columnCount
Uint8 columnCount
rowCount
Uint8 rowCount
memberSprites
struct SPR *memberSprites[8]
The party members' figures.
memberX
Sint16 memberX[8]
Screen pixels.
memberY
Sint16 memberY[8]
Screen pixels.
memberScale
FIXED memberScale[8]
16.16 fixed point, toFIXED(1) full
size.
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.
cursor
WINDOW_SPR *cursor
ITEM_MENU_STATE's; not named here.
aroundBackdrop
Uint8 aroundBackdrop[72]
DJINN_MENU_STATE's backdrop pointer at
388; no view names the rest.
psynergies
Uint16 psynergies[32]
The chosen party member's Psynergy listed.
memberTable
Uint16 memberTable[8]
The party in order (gmPartyListMembers).
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
bits: 1 the list shows the shortcut help | 0 set after a use or a cancelled target
skipSlide
Uint16 skipSlide
1 skips the cursor's next slide once.
figureRow
Uint8 figureRow[24]
ITEM_MENU_STATE's figures and
figureX, the row of four
figures; not named here.
slotY
Sint16 slotY[4]
Screen pixels.
figurePhases
Uint8 figurePhases[22]
ITEM_MENU_STATE's figureScales
and DJINN_MENU_STATE's pair; not
named here.
useResult
Sint16 useResult
The use's result message, after
MsgItemUseResult.
equipPreview
Sint8 equipPreview
ITEM_MENU_STATE's; not named
here.
listMode
Uint8 listMode
ITEM_MENU_STATE's; not named
here.
unusedAfterListMode
Uint8 unusedAfterListMode[2]
No view of the menu state names it.
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.