The map frame's scanlines and affine lines. More...
Go to the source code of this file.
Data Structures | |
| struct | MapScanline |
| One screen line's ground-plane terms on the world map: its width scale and distance, from which its affine parameters are built. More... | |
| struct | MapAffineLine |
| One screen line's affine parameters for a background, as the HBlank DMA copies them into the BG2 or BG3 registers. More... | |
| struct | MapAffinePair |
| One screen line's affine parameters for BG2 and BG3. More... | |
| struct | MapFrameWork |
| The world map's frame work in heap slot 7: the scanline terms and two pages of per-line affine parameters, one built while the other is shown. More... | |
Functions | |
| STATIC_ASSERT (sizeof(struct MapScanline)==20) | |
| STATIC_ASSERT (offsetof(struct MapScanline, pa)==16) | |
| STATIC_ASSERT (sizeof(struct MapAffineLine)==16) | |
| STATIC_ASSERT (sizeof(struct MapAffinePair)==32) | |
| STATIC_ASSERT (offsetof(struct MapFrameWork, pages)==0xc80) | |
| STATIC_ASSERT (offsetof(struct MapFrameWork, unk3480)==0x3480) | |
| STATIC_ASSERT (sizeof(struct MapFrameWork)==0x3484) | |
The map frame's scanlines and affine lines.
Definition in file mapframe.h.
| STATIC_ASSERT | ( | sizeof(struct MapScanline) | = =20 | ) |
| STATIC_ASSERT | ( | offsetof(struct MapScanline, pa) | = =16 | ) |
| STATIC_ASSERT | ( | sizeof(struct MapAffineLine) | = =16 | ) |
| STATIC_ASSERT | ( | sizeof(struct MapAffinePair) | = =32 | ) |
| STATIC_ASSERT | ( | offsetof(struct MapFrameWork, pages) | = =0xc80 | ) |
| STATIC_ASSERT | ( | offsetof(struct MapFrameWork, unk3480) | = =0x3480 | ) |
| STATIC_ASSERT | ( | sizeof(struct MapFrameWork) | = =0x3484 | ) |