include/menu/stubs.h
The stub calls into the menu module, as the other modules' code calls them.
Included by shop_internal.h and window_internal.h.
Functions
| Name | Description | |
|---|---|---|
Sint32 | mnItemMenuRunStub (void) | The field menu's Item screen; returns 1 when an item is to be used. |
Sint32 | mnPsynergyMenuRunStub (void) | The field menu's Psynergy screen. |
Sint32 | mnStatusScreenRunStub (void) | The field menu's Status screen. |
void | mnIconShowStub (struct WINDOW_SPR *object) | Turns an icon's window sprite on and copies its screen position into its OAM attributes, with no affine matrix. |
Sint32 | mnDjinnMenuRunStub (void) | The field menu's Djinn screen; returns 1 to open the field menu again. |
void | mnItemMenuDrawItemDetailsStub (void *window, Sint32 item) | Describes item in window with the entry's own count. |
void | mnItemMenuDrawItemDetailsWithCountStub (void *window, Sint32 item, Sint32 count) | Describes an item (an inventory entry) in window, one 8-pixel row a line, with count as its count. |
void | mnPaletteLoadIconsIntoHighlightStub (void) | Lends HIGHLIGHT_PALETTE to the element icons. |
void | mnCreatePartyFiguresStub (Sint32 first) | Replaces the menu's party figures with up to four party members' figures, from party place first on. |
void | mnShowPartyFiguresStub (void *window, Sint32 originX, Sint32 originY) | Creates the first four party members' figures in a row from tile (originX, originY) inside window, three tiles apart. |
void | mnReleasePartyFiguresStub (void) | Destroys the menu's party figures and stops placing them. |
void | mnDjinnFiguresInitTopRowStub (void) | Creates the four Djinn figures of the file list's top row. |
void | mnDjinnFiguresReleaseTopRowStub (void) | Destroys the four Djinn figures and stops placing them. |
void | mnDjinnFiguresSetShownStub (Sint32 shown) | Shows the Djinn figures (nonzero) or hides them (0). |
void | mnDjinnFiguresSetSlotPosStub (Sint32 index, Sint32 x, Sint32 y) | Moves Djinn figure index to screen pixel (x, y), if it exists. |
Description
The stub calls into the menu module, as the other modules' code calls them.
Functions in detail
mnItemMenuRunStub
Sint32 mnItemMenuRunStub(void)
The field menu's Item screen; returns 1 when an item is to be used.
Referenced by mnFieldMenuRun().
Definition at line 11 of file stubs.h.
mnPsynergyMenuRunStub
Sint32 mnPsynergyMenuRunStub(void)
The field menu's Psynergy screen.
Referenced by mnFieldMenuRun().
Definition at line 14 of file stubs.h.
mnStatusScreenRunStub
Sint32 mnStatusScreenRunStub(void)
The field menu's Status screen.
Referenced by mnFieldMenuRun().
Definition at line 17 of file stubs.h.
mnIconShowStub
void mnIconShowStub(struct WINDOW_SPR *object)
Turns an icon's window sprite on and copies its screen position into its OAM attributes, with no affine matrix.
Referenced by mnPauseMenuChoose(), mnSanctumAskYesNo(), mnSettingsMenuRun(), mnShopAskYesNo() and mnShopSelectSellCount().
Definition at line 20 of file stubs.h.
mnDjinnMenuRunStub
Sint32 mnDjinnMenuRunStub(void)
The field menu's Djinn screen; returns 1 to open the field menu again.
Referenced by mnFieldMenuRun().
Definition at line 23 of file stubs.h.
mnItemMenuDrawItemDetailsStub
void mnItemMenuDrawItemDetailsStub(void *window, Sint32 item)
Describes item in window with the entry's own count.
Referenced by mnItemPickerSelectItem() and mnShopSelectSell().
Definition at line 25 of file stubs.h.
mnItemMenuDrawItemDetailsWithCountStub
void mnItemMenuDrawItemDetailsWithCountStub(void *window, Sint32 item, Sint32 count)
Describes an item (an inventory entry) in window, one 8-pixel row a line, with count as its count.
Referenced by mnShopSelectBuy().
Definition at line 28 of file stubs.h.
mnPaletteLoadIconsIntoHighlightStub
void mnPaletteLoadIconsIntoHighlightStub(void)
Lends HIGHLIGHT_PALETTE to the element icons.
Referenced by mnShopInitState().
Definition at line 32 of file stubs.h.
mnCreatePartyFiguresStub
void mnCreatePartyFiguresStub(Sint32 first)
Replaces the menu's party figures with up to four party members' figures, from party place first on.
Referenced by mnItemPickerRun(), mnSanctumRunPartyService(), mnShopChooseMember(), mnShopGiveGameTicket() and mnShopSelectBuy().
Definition at line 36 of file stubs.h.
mnShowPartyFiguresStub
void mnShowPartyFiguresStub(void *window, Sint32 originX, Sint32 originY)
Creates the first four party members' figures in a row from tile (originX, originY) inside window, three tiles apart.
Referenced by mnItemPickerRun(), mnSanctumRunPartyService(), mnShopChooseMember() and mnShopSelectBuy().
Definition at line 40 of file stubs.h.
mnReleasePartyFiguresStub
void mnReleasePartyFiguresStub(void)
Destroys the menu's party figures and stops placing them.
Referenced by mnItemPickerRun(), mnSanctumRunPartyService(), mnShopChooseMember() and mnShopSelectBuy().
Definition at line 43 of file stubs.h.
mnDjinnFiguresInitTopRowStub
void mnDjinnFiguresInitTopRowStub(void)
Creates the four Djinn figures of the file list's top row.
Referenced by mnFileListSelectFile().
Definition at line 46 of file stubs.h.
mnDjinnFiguresReleaseTopRowStub
void mnDjinnFiguresReleaseTopRowStub(void)
Destroys the four Djinn figures and stops placing them.
Referenced by mnFileListSelectFile().
Definition at line 49 of file stubs.h.
mnDjinnFiguresSetShownStub
void mnDjinnFiguresSetShownStub(Sint32 shown)
Shows the Djinn figures (nonzero) or hides them (0).
Referenced by mnFileListSelectFile().
Definition at line 52 of file stubs.h.
mnDjinnFiguresSetSlotPosStub
void mnDjinnFiguresSetSlotPosStub(Sint32 index, Sint32 x, Sint32 y)
Moves Djinn figure index to screen pixel (x, y), if it exists.
Referenced by mnFileListSelectFile().
Definition at line 55 of file stubs.h.