src/window/screens_battle_summon_menu.c
The battle summon menu. More…
Included by screens.c.
Macros
| Name | Description | |
|---|---|---|
#define | SUMMON_COST_X JAPANESE_OR(10, 13) | The tile column of a summon's first Djinn cost in the list: its element icon, the count after it, two tiles for each element it needs. |
#define | SUMMON_LIST_ROWS 4 | The summons a page of the list shows. |
Functions
| Name | Description | |
|---|---|---|
Sint32 | mnBattleSummonMenuRun (Sint32 unusedA, Sint32 unusedB, const Uint8 *standby) | The battle summon list: the summons the party holds enough Djinn for (gmSummonListLearnedStub, DJINN_RECOVERY_TABLE.summonMask), SUMMON_LIST_ROWS to a page, those standby can pay for first, each with its Djinn cost by element, the others in TEXT_COLOR_RED. |
Description
The battle summon menu. Part of screens.c.
Macros in detail
SUMMON_COST_X
#define SUMMON_COST_X JAPANESE_OR(10, 13)
The tile column of a summon's first Djinn cost in the list: its element icon, the count after it, two tiles for each element it needs.
Referenced by mnBattleSummonMenuRun().
Definition at line 5 of file screens_battle_summon_menu.c.
SUMMON_LIST_ROWS
#define SUMMON_LIST_ROWS 4
The summons a page of the list shows.
Referenced by mnBattleSummonMenuRun().
Definition at line 8 of file screens_battle_summon_menu.c.
Functions in detail
mnBattleSummonMenuRun
Sint32 mnBattleSummonMenuRun(Sint32 unusedA, Sint32 unusedB, const Uint8 *standby)
The battle summon list: the summons the party holds enough Djinn for
(gmSummonListLearnedStub, DJINN_RECOVERY_TABLE.summonMask), SUMMON_LIST_ROWS
to a page, those standby can pay for first, each with its Djinn cost by
element, the others in TEXT_COLOR_RED.
References glyph, gmSummonDefinitionGetNearStub(), gmSummonListLearnedStub(), mnAbilityBuildIconTiles(), mnTextDrawMessageAsTiles(), mnTextDrawWideStringAtOffset(), mnTextFillCanvasBackground(), mnTextSetColor(), mnWindowClose(), mnWindowCreate(), mnWindowHighlightRect(), mnWindowPutGlyph(), mnWindowSetTilemapEntry(), mnWindowSpriteRedrawSavedRect(), PerPush, PerRepeat, PointingHandTiles, Sint32, state, syInputResetKeyRepeat(), syOAMAddSpriteAtDepth(), sySoundPlayStub(), sySynch(), syVRAMCacheAllocateEntry(), syVRAMCacheFreeEntry(), syVRAMCacheReload() and TickCount.
Referenced by mnBattleCollectPartyCommands().
Definition at line 14 of file screens_battle_summon_menu.c.