Maps: their cells, layers, animations and blend scripts, and the map state. More...
Go to the source code of this file.
Data Structures | |
| struct | MapCell |
| One cell of a map layer: its metatile and flags, its collision code and an attribute indexing the collision table. More... | |
| struct | MapLayer |
| A map layer's scroll record, seen from its cells. More... | |
| struct | BlendScriptState |
| The map's running blend script, which sets the blend registers over time. More... | |
| struct | MapAnimation |
| One of the 16 tile animation channels, which copy tiles into VRAM by script. More... | |
| struct | MapState |
| The map work in heap slot 8 (struct MapScrollWork), seen as its tile animation channels, blend script and layers' cells. More... | |
| struct | WorldPosition |
| A position on the world map, as its walkability check reads it. More... | |
Functions | |
| STATIC_ASSERT (sizeof(struct MapAnimation)==12) | |
| STATIC_ASSERT (offsetof(struct MapState, flags)==0x14) | |
| STATIC_ASSERT (offsetof(struct MapState, wideTiles)==0x16) | |
| STATIC_ASSERT (offsetof(struct MapState, anim)==0x18) | |
| STATIC_ASSERT (offsetof(struct MapState, blend)==0xd8) | |
| STATIC_ASSERT (offsetof(struct MapState, layers)==0x130) | |
Variables | |
| u32 | gMapBlocks [] |
| u8 | gMapLayerData [] |
| u8 | gMapCollision [] |
| u8 | gBgTileBuffer [] |
| u8 * | gMapAnimationPages |
Maps: their cells, layers, animations and blend scripts, and the map state.
Definition in file map.h.
| STATIC_ASSERT | ( | sizeof(struct MapAnimation) | = =12 | ) |
|
extern |
|
extern |
Referenced by Map_LoadLayeredScene(), and WorldMap_LoadGraphics().
|
extern |
Referenced by KolimaForestBend_CheckLogFits().
|
extern |
Referenced by Map_LoadAreaGraphics(), Map_ShowBg1FromBuffer(), TileMap_DrawRowsFromRam(), and WorldMap_LoadGraphics().
|
extern |