What every part of the menu object shares: its includes, edition values, macros and the link round state. More...
Go to the source code of this file.
Data Structures | |
| struct | SelectionEntry |
| The command icon row's work block and one of its icons: pictures.c loads the icons, command_row.c runs the row. More... | |
| struct | SelectionWork |
| The command icon row's work block: the icons' shared palette, up to six icons, the label window, the pulsing icon's transform and the selection. More... | |
Enumerations | |
| enum | { SUMMON_ELEMENT_TILE = 0x5001 , LIST_TILE_PAGE_NUMBER = 0xf301 , LIST_TILE_PAGE_NUMBER_LIT = 0xf30b , LIST_TILE_PAGES_LEFT = 0xf334 , LIST_TILE_PAGES_RIGHT = 0xf335 } |
| Tiles the battle lists draw over their window's top edge: the page numbers and arrows, and the summon list's element icon. More... | |
Variables | |
| const u8 | gDjinnMenu_BlinkTile [32] |
| const u8 | gDjinnMenu_ElementXOffsets [4] |
| const u8 | gDjinnMenu_ElementYOffsets [4] |
What every part of the menu object shares: its includes, edition values, macros and the link round state.
battle_command.c includes it before the parts, and each part includes it too, so that a part read on its own still resolves.
Definition in file battle_command_internal.h.
| #define DJINN_PREVIEW_VITALS_X 5 |
Definition at line 116 of file battle_command_internal.h.
Referenced by DjinnMenu_ShowChangePreview().
| #define DJINN_PREVIEW_STAT_DIGIT_OFFSET 8 |
Definition at line 123 of file battle_command_internal.h.
Referenced by DjinnMenu_ShowChangePreview().
| #define DJINN_PREVIEW_STAT_X 6 |
Definition at line 124 of file battle_command_internal.h.
Referenced by DjinnMenu_ShowChangePreview().
| #define DJINN_PREVIEW_HELP_X 24 |
Definition at line 130 of file battle_command_internal.h.
Referenced by DjinnMenu_ShowChangePreview().
| #define PSYNERGY_COST_SECOND_TILE 0xf01e |
Definition at line 137 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands(), BattleMenu_RunActionSelection(), and DjinnMenu_ShowChangePreview().
| #define OWNER_STATUS_LEVEL_X 56 |
Definition at line 143 of file battle_command_internal.h.
Referenced by Ui_RunOwnerStatusScreen().
| #define SUMMON_MENU_WINDOW_X 13 |
Definition at line 147 of file battle_command_internal.h.
Referenced by SummonMenu_SelectSummon().
| #define SUMMON_MENU_WINDOW_WIDTH 17 |
Definition at line 148 of file battle_command_internal.h.
Referenced by SummonMenu_SelectSummon().
| #define BATTLE_CLASS_ICON_X 0 |
Definition at line 155 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands().
| #define BATTLE_COMMAND_NAME_X 16 |
Definition at line 163 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands().
| #define BATTLE_SUMMON_ICON_X 80 |
Definition at line 167 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands().
| #define BATTLE_SUMMON_WINDOW_WIDTH 17 |
Definition at line 173 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands().
| #define BATTLE_SUMMON_ELEMENT_COLUMN 13 |
Definition at line 179 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands().
| #define BATTLE_SUMMON_COST_COLUMN 14 |
Definition at line 180 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands().
| #define BATTLE_ITEM_WINDOW_WIDTH 15 |
Definition at line 190 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands().
| #define RESOURCE_MODE0_WINDOW_X 7 |
Definition at line 195 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define RESOURCE_MODE0_WINDOW_WIDTH 17 |
Definition at line 196 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define RESOURCE_MODE1_WINDOW_X 3 |
Definition at line 212 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define RESOURCE_MODE1_WINDOW_WIDTH 25 |
Definition at line 213 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define TRANSFER_METHOD_WINDOW_X 6 |
Definition at line 217 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define TRANSFER_METHOD_WINDOW_WIDTH 18 |
Definition at line 218 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define TRANSFER_METHOD_LABEL_X 2 |
Definition at line 231 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define TRANSFER_HELP_WINDOW_X 1 |
Definition at line 238 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define TRANSFER_HELP_WINDOW_WIDTH 28 |
Definition at line 239 of file battle_command_internal.h.
Referenced by Menu_SelectResourceLayout().
| #define ENTRY11_COMMAND_LABEL_WIDTH 7 |
Definition at line 251 of file battle_command_internal.h.
Referenced by Menu_SelectShopCommand().
| #define ENTRY19_COMMAND_LABEL_WIDTH 10 |
Definition at line 257 of file battle_command_internal.h.
Referenced by Menu_SelectSanctumService().
| #define OUTPUT_SIZE_16X16 0x40000000 |
OAM attribute bits a sprite output is created with: the size field of attribute 1 (bits 30-31 of the first word).
A square sprite of size 1 is 16x16 pixels, of size 2 32x32.
Definition at line 265 of file battle_command_internal.h.
Referenced by DebugMenu_BrowseIcons(), NameEntry_EditOwnerName(), PartyTalkMenu_Choose(), RenderOutput_CreateFromResource(), RenderOutput_CreateFromTable(), RenderOutput_CreateLoaded(), RenderOutput_CreateWithTransform(), SaveMenu_SelectSlot(), and Ui_CreateOutputFromResourceSlot().
| #define OUTPUT_SIZE_32X32 0x80000000 |
Definition at line 266 of file battle_command_internal.h.
Referenced by CreateSideObject(), and RenderResource_CreateFrame().
| #define PORTRAIT_SLOT_COUNT 2 |
Definition at line 270 of file battle_command_internal.h.
| #define PORTRAIT_PALETTE 14 |
Definition at line 271 of file battle_command_internal.h.
Referenced by CreateSideObject(), and Ui_LoadCharacterEntryForSlot().
| #define PORTRAIT_SLOT_EMPTY 999 |
Definition at line 272 of file battle_command_internal.h.
Referenced by CreateSideObject().
| #define BATTLE_MENU_MESSAGE_CAPACITY 52 |
Definition at line 277 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands(), Battle_SelectAbility(), BattleMenu_RunActionSelection(), ItemList_SelectEntry(), SummonMenu_SelectSummon(), and UiText_ShowLocalizedMessageAndWait().
| #define BATTLE_MENU_MESSAGE_COPY UiText_CopyMessageString |
Definition at line 278 of file battle_command_internal.h.
Referenced by Battle_CollectPartyCommands(), Battle_SelectAbility(), BattleMenu_RunActionSelection(), ItemList_SelectEntry(), SummonMenu_SelectSummon(), and UiText_ShowLocalizedMessageAndWait().
| #define BATTLE_OK 0x80 |
flags: usable in battle
Definition at line 294 of file battle_command_internal.h.
Referenced by Item_ClassifyUseAbility().
| anonymous enum |
Tiles the battle lists draw over their window's top edge: the page numbers and arrows, and the summon list's element icon.
| Enumerator | |
|---|---|
| SUMMON_ELEMENT_TILE | Element icon. |
| LIST_TILE_PAGE_NUMBER | Page number. |
| LIST_TILE_PAGE_NUMBER_LIT | Current page number. |
| LIST_TILE_PAGES_LEFT | Left arrow. |
| LIST_TILE_PAGES_RIGHT | Right arrow. |
Definition at line 286 of file battle_command_internal.h.
|
extern |
Referenced by Battle_SelectAbility().
|
extern |
Referenced by Battle_SelectAbility().
|
extern |
Referenced by Battle_SelectAbility().