MapLayer struct
#include <include/map.h>
Layer of the TileMap.
Public variables
- BgSettings* bgSettings
- u16 mapData
- tileIndex for each tile on the current layer.
- u8 collisionData
- Collision data for each tile on the current layer.
- u16 mapDataOriginal
- Copy of the map data.
- u16 tileTypes
- Maps from the tileIndex to the tileType.
- u16 tileIndices
- Maps from a tileType to a tileIndex.
- u16 subTiles
- Maps from a tile index to the four sub tiles (with attributes) it consists of.
- u8 actTiles
- Some sort of special behavior for tiles? Falling into holes or jumping off walls does not work when this is all zero.
Variable documentation
u8 MapLayer:: collisionData
Collision data for each tile on the current layer.
u16 MapLayer:: mapDataOriginal
Copy of the map data.