Alchemy
Loading...
Searching...
No Matches

BattlePresentationTransition Struct Reference

The battle background's work slot as the camera reads it: the yaw the camera eases toward and the frames left to ease it. More...

#include <battle/battle_display.h>

Data Fields

s32 targetYaw
 1/65536 turns
s32 frames
 frames left to ease the yaw, a sixteenth a frame
u8 unk08 [8]
 BattleBackgroundView's mode and secondMode.
s32 active
 BattleBackgroundView's busy, at the same offset.
s32 flag
 0 lets the camera update set the background's range each frame; 1 for a critical hit's zoom and once a round's view is set.
s32 unk18
 cleared when the battle starts; not read by name in TBS
s32 unk1c
 cleared when the battle starts; not read by name in TBS

Detailed Description

The battle background's work slot as the camera reads it: the yaw the camera eases toward and the frames left to ease it.

Definition at line 42 of file battle_display.h.

Field Documentation

◆ targetYaw

◆ frames

◆ unk08

u8 BattlePresentationTransition::unk08[8]

BattleBackgroundView's mode and secondMode.

Definition at line 45 of file battle_display.h.

◆ active

s32 BattlePresentationTransition::active

◆ flag

s32 BattlePresentationTransition::flag

0 lets the camera update set the background's range each frame; 1 for a critical hit's zoom and once a round's view is set.

Definition at line 49 of file battle_display.h.

Referenced by Battle_RunEncounter(), BattlePres_RunAction(), BattlePres_RunAttack(), BattlePresentation_DispatchAction(), BattlePresentation_UpdateCamera(), and Camera_ConfigureScene().

◆ unk18

s32 BattlePresentationTransition::unk18

cleared when the battle starts; not read by name in TBS

Definition at line 50 of file battle_display.h.

Referenced by Battle_RunEncounter().

◆ unk1c

s32 BattlePresentationTransition::unk1c

cleared when the battle starts; not read by name in TBS

Definition at line 51 of file battle_display.h.

Referenced by Battle_RunEncounter().