MapDataDefinition struct

Definition where some map data is found and where it should be copied to.

Defined using the map_data asm macro, e.g. in map_headers.s

Public variables

u32 src
Source offset from gMapData.
void* dest
Target pointer where to load or decompress the map data to.
u32 size
Size of the map data in bytes.

Variable documentation

u32 MapDataDefinition::src

Source offset from gMapData.

MAP_MULTIPLE bit is set if there is another MapDataDefinition following.

u32 MapDataDefinition::size

Size of the map data in bytes.

MAP_COMPRESSED bit is set if the map data is compressed.