struct BATTLE_BACKGROUND_STATE
The HEAP_SLOT_BATTLE_BACKGROUND heap slot: the yaw the battle camera eases toward and the ticks left to ease it, and how the battle background is shown.
Declared in battle_camera.h.
Fields
| Name | Description | |
|---|---|---|
Sint32 | targetYaw | 1/65536 turns. |
Sint32 | ticks | Ticks left to ease the yaw, a sixteenth a tick. |
Sint32 | mode | BATTLE_BACKGROUND_MODE. |
Sint32 | secondMode | BATTLE_BACKGROUND_FIXED also sets BG1's scroll whatever the mode; the battle effects' canvas layers set it. |
Sint32 | busy | While set, btCameraSetRange leaves BG1's scroll. |
Sint32 | keepRange | 0 lets the camera update set the background's range each tick; 1 for a critical hit's zoom and once a turn's view is set. |
Sint32 | unusedAfterKeepRange [2] | Cleared when a battle starts; nothing reads them. |
Description
The HEAP_SLOT_BATTLE_BACKGROUND heap slot: the yaw the battle camera eases
toward and the ticks left to ease it, and how the battle background is shown.
struct BATTLE_BACKGROUND_STATE
Referenced by btAutoBattleRunAction(), btAutoBattleRunAttackOrItem(), btAutoBattleRunPsynergy(), btBackgroundInit(), btBackgroundLoad(), btBackgroundSetMode(), btBackgroundShowZoomedPage(), btCameraSetCommandView(), btCameraSetRange(), btCameraUpdate(), btEffectHideBg1AndRestoreBackdrop(), btEffectOpenCanvasLayer(), btEffectRunAtalanta(), btEffectRunJudgment(), btEffectRunKirin(), btEffectRunNeptune(), btEffectRunShatteringOpening(), btEffectRunStarfieldFall(), btEffectRunThor(), btEffectSetupCanvasTileMap(), btEffectStartCanvasLayer(), btRun(), btStagingDispatchAction(), btStagingRunAttack(), btStagingRunFlee(), btStagingRunFullScreen(), btStagingRunItem(), btStagingRunPlainAttack(), btStagingRunPsynergyCast() and btTransitionRun().
Definition at line 50 of file battle_camera.h.
Fields in detail
targetYaw
Sint32 targetYaw
1/65536 turns.
ticks
Sint32 ticks
Ticks left to ease the yaw, a sixteenth a tick.
mode
Sint32 mode
secondMode
Sint32 secondMode
BATTLE_BACKGROUND_FIXED also sets BG1's
scroll whatever the mode; the battle
effects' canvas layers set it.
busy
Sint32 busy
While set, btCameraSetRange leaves BG1's
scroll.
keepRange
Sint32 keepRange
0 lets the camera update set the background's range each tick; 1 for a critical hit's zoom and once a turn's view is set.
unusedAfterKeepRange
Sint32 unusedAfterKeepRange[2]
Cleared when a battle starts; nothing reads them.