struct WORLD_MAP_AFFINE_LINE
One screen line's affine parameters for a background, as the HBlank DMA copies them into the BG2 or BG3 registers, BG2PA to BG2Y.
Declared in world_map_affine.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | pa, pb, pc, pd , pb, pc, pd | The matrix, 8.8 fixed point as BG2PA to BG2PD take it; fdWorldMapUpdateAffineLines writes pa and pc only. |
Sint32 | x, y , y | the reference point, 20.8 fixed point as BG2X and BG2Y take it |
Description
One screen line's affine parameters for a background, as the HBlank DMA copies them into the BG2 or BG3 registers, BG2PA to BG2Y.
struct WORLD_MAP_AFFINE_LINE
Referenced by fdWorldMapUpdateAffineLines().
Definition at line 28 of file world_map_affine.h.
Fields in detail
pa, pb, pc, pd
Sint16 pa, pb, pc, pd
The matrix, 8.8 fixed point as BG2PA to BG2PD take
it; fdWorldMapUpdateAffineLines writes pa and pc
only.
x, y
Sint32 x, y
the reference point, 20.8 fixed point as BG2X and BG2Y take it