Alchemy
Loading...
Searching...
No Matches

BattleCanvasOrigin Struct Reference

Two adjacent affine background coordinates, queued together for BG2X/BG2Y. More...

#include <battle/battle_effect_work.h>

Data Fields

s32 x
 BG2X, 8 fractional bits.
s32 y
 BG2Y, 8 fractional bits.
s32 unk_08
 Written after staging the coordinates; no reader has been identified.

Detailed Description

Two adjacent affine background coordinates, queued together for BG2X/BG2Y.

Definition at line 16 of file battle_effect_work.h.

Field Documentation

◆ x

s32 BattleCanvasOrigin::x

BG2X, 8 fractional bits.

Definition at line 17 of file battle_effect_work.h.

Referenced by BattleFx_PlayUnitElementEffect().

◆ y

s32 BattleCanvasOrigin::y

BG2Y, 8 fractional bits.

Definition at line 18 of file battle_effect_work.h.

Referenced by BattleFx_PlayUnitElementEffect().

◆ unk_08

s32 BattleCanvasOrigin::unk_08

Written after staging the coordinates; no reader has been identified.

Definition at line 20 of file battle_effect_work.h.

Referenced by BattleFx_InitializeStarField(), and BattleFx_PlayUnitElementEffect().