Alchemy
Loading...
Searching...
No Matches

BattleAffineHdma Struct Reference

The battle background's scanline work in heap slot 10: two pages of per-line BG2CNT values, swapped each frame, and the affine parameters. More...

#include <battle/battle_display.h>

Data Fields

u32 page
 the page of lines shown; the other one is built
u8 unk04 [12]
 not named by TBS code
struct BattleAffine affine
u16 lines [2][160]

Detailed Description

The battle background's scanline work in heap slot 10: two pages of per-line BG2CNT values, swapped each frame, and the affine parameters.

Definition at line 84 of file battle_display.h.

Field Documentation

◆ page

u32 BattleAffineHdma::page

the page of lines shown; the other one is built

Definition at line 85 of file battle_display.h.

Referenced by BattleCamera_SetRange(), and BattlePres_UpdateHBlankScroll().

◆ unk04

u8 BattleAffineHdma::unk04[12]

not named by TBS code

Definition at line 86 of file battle_display.h.

◆ affine

struct BattleAffine BattleAffineHdma::affine

Definition at line 87 of file battle_display.h.

Referenced by BattleCamera_SetRange(), and BattlePres_UpdateHBlankScroll().

◆ lines

u16 BattleAffineHdma::lines[2][160]

Definition at line 88 of file battle_display.h.

Referenced by BattleCamera_SetRange(), and BattlePres_UpdateHBlankScroll().