Alchemy
Loading...
Searching...
No Matches

mapframe.h File Reference

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)

Detailed Description

The map frame's scanlines and affine lines.

Definition in file mapframe.h.

Function Documentation

◆ STATIC_ASSERT() [1/7]

STATIC_ASSERT ( sizeof(struct MapScanline) = =20)

◆ STATIC_ASSERT() [2/7]

STATIC_ASSERT ( offsetof(struct MapScanline, pa) = =16)

◆ STATIC_ASSERT() [3/7]

STATIC_ASSERT ( sizeof(struct MapAffineLine) = =16)

◆ STATIC_ASSERT() [4/7]

STATIC_ASSERT ( sizeof(struct MapAffinePair) = =32)

◆ STATIC_ASSERT() [5/7]

STATIC_ASSERT ( offsetof(struct MapFrameWork, pages) = =0xc80)

◆ STATIC_ASSERT() [6/7]

STATIC_ASSERT ( offsetof(struct MapFrameWork, unk3480) = =0x3480)

◆ STATIC_ASSERT() [7/7]

STATIC_ASSERT ( sizeof(struct MapFrameWork) = =0x3484)