include/field/world_map_affine.h
The world map's scanlines and affine lines.
Included by field_internal.h and world_map_lines.c.
Structures
| Name | Description | |
|---|---|---|
struct | WORLD_MAP_SCANLINE | One screen line's ground-plane terms on the world map: its width scale and distance, from which its affine parameters are built (fdWorldMapBuildScanlineTable, when the pitch changes). |
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. |
struct | WORLD_MAP_AFFINE_PAIR | One screen line's affine parameters for BG2 and BG3. |
struct | WORLD_MAP_AFFINE_STATE | The world map's affine state in HEAP_SLOT_WORLD_MAP_AFFINE: the scanline terms and two pages of per-line affine parameters, one built while the other is shown. |
Description
The world map's scanlines and affine lines.