BattleWork, the battle's own work, and the battle display work. More...
Go to the source code of this file.
Data Structures | |
| struct | BattlePromptSprite |
| One OAM entry in a sprite list: the arrow that waits for the player to advance a battle message. More... | |
| struct | BattleDisplayOffset |
| The battle message's text channel, as far as its offset in the window. More... | |
| struct | BattleDisplayWork |
| The battle message display: its window, its text channel and whether the next message is marked. More... | |
| struct | BattleEventState |
| The battle event queue and the state of its playback: the phase, the event playing and the advance arrow. More... | |
| struct | BattleWork |
| The battle's own work: its enemies, units and their objects, the turn's actions, the spoils, the background palette, the plan and the events. More... | |
Enumerations | |
| enum | { BATTLE_ENEMY_CAPACITY = 6 , BATTLE_ACTION_CAPACITY = 20 } |
| Six enemies at most, and a turn's queue of up to 20 actions. More... | |
Variables | |
| struct BattleDisplayWork * | gBattleDisplayWork |
| struct BattleWork * | gBattleWork |
BattleWork, the battle's own work, and the battle display work.
Definition in file battle_work.h.
| anonymous enum |
Six enemies at most, and a turn's queue of up to 20 actions.
| Enumerator | |
|---|---|
| BATTLE_ENEMY_CAPACITY | |
| BATTLE_ACTION_CAPACITY | |
Definition at line 66 of file battle_work.h.
| STATIC_ASSERT | ( | sizeof(struct BattleDisplayOffset) | = =8 | ) |
| STATIC_ASSERT | ( | sizeof(struct BattleDisplayWork) | = =12 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleDisplayWork, marked) | = =8 | ) |
| STATIC_ASSERT | ( | sizeof(struct BattleWork) | = =0x82c | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, partyStatus) | = =0x041 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, challengeFlag) | = =0x043 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, partyUnits) | = =0x058 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, enemyIds) | = =0x066 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, slots) | = =0x074 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, placement) | = =0x2dc | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, actions) | = =0x2ec | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, spoils) | = =0x530 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, palette) | = =0x544 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, brightness) | = =0x644 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, background) | = =0x648 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, plan) | = =0x654 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleWork, events) | = =0x6b8 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleEventState, phase) | = =0x148 | ) |
| STATIC_ASSERT | ( | offsetof(struct BattleEventState, flags) | = =0x16c | ) |
|
extern |
|
extern |
Referenced by Battle_AwardSpoils(), Battle_CollectPartyCommands(), Battle_FindTaggedSlotByValue(), Battle_GetTaggedSlotValue(), Battle_GetWorkEntryPair(), Battle_ProcessRoundEnd(), BattleActor_RemoveFromLists(), BattleCommand_BuildPlan(), BattleEnemy_ClaimNameLetter(), BattleEnemy_RecordDefeat(), BattleEnemy_ReleaseNameLetter(), BattleEscape_CheckSuccess(), BattleEv_DispatchQueued(), BattleEvent_Playback(), BattleEventRuntime_BeginPhase(), BattleEventRuntime_Reset(), BattleEventRuntime_SchedulePhase(), BattleEventRuntime_WaitForReady(), BattleEvPush(), BattleFormation_BuildEnemyList(), BattleFx_RunCondemn(), BattleFx_RunRingAndSparkScene(), BattleFx_SetupCanvasTileMap(), BattleIntro_AnnounceEncounter(), BattleLayout_HighlightPartyPanels(), BattleMotion_FlashHit(), BattleMotion_ReleaseObjectSlotByValue(), BattleObjGet(), BattleParty_AssignMemberSlots(), BattleParty_CollectUnitList(), BattleParty_ListActorIds(), BattleParty_PrepareActiveOwners(), BattlePres_BuildOpponentEntries(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), BattlePres_RunItem(), BattlePres_RunPsynergyCast(), BattlePres_RunUnitAction(), BattlePres_SetActorModes(), BattlePres_SyncTurn(), BattlePres_WaitSync(), BattlePresentation_AppendLinkedActions(), BattlePresentation_BuildActions(), BattlePresentation_ConfigurePaletteFade(), BattlePresentation_DispatchAction(), BattlePresentation_RunUnitTransition(), BattlePresentation_SetPaletteLevel(), BattlePresentation_UpdateCamera(), BattleSpoils_Clear(), BattleTarget_RunSelection(), BattleTarget_SelectForAction(), BattleTarget_SelectRandomPosition(), BattleTargetExec(), BattleUnit_ProcessTurnEnd(), BattleUnit_RefreshPlacement(), EnemyCheck(), EnemyUpdate(), Graphics_AdvancePaletteCycle(), LinkBattle_SendParty(), PartyStatusDraw(), Runtime_AdjustDebugValueWithButtons(), STATIC_ASSERT(), SummonSlot_RegisterActorSprites(), Ui_RunOwnerStatusScreen(), UiText_ShowLocalizedMessageAndWait(), and UpdateLinkSessionCountdown().