struct MAP_METATILE
One metatile of a map layer: its metatile tiles and flags, its collision code and a second attribute byte.
Declared in map_grid.h.
Fields
| Name | Description | |
|---|---|---|
Uint16 | picture : 12 | its metatile tiles |
Uint16 | actorLayer : 2 | the map layer an actor here takes, plus one |
Uint16 | actorPriority : 2 | the sprite priority an actor here is drawn at |
Uint8 | collisionCode | |
Uint8 | attributeB |
Description
One metatile of a map layer: its metatile tiles and flags, its collision code and a second attribute byte.
struct MAP_METATILE
Referenced by fdActorGetCueMetatileAheadOfCurrent(), fdActorLiftTargetBlock(), fdActorMoveByKeys(), fdActorPlaceBlocks(), fdActorPlaceMovedBlock(), fdActorResetForLeader(), fdActorSetMetatileOpen(), fdActorSetMetatileShape(), fdActorSystemPlaceSprites(), fdActorUpdatePlayerControl(), fdBlankOverlayDrawMarks(), fdClimbDown(), fdClimbUp(), fdFlagBlockApplyFlags(), fdFlagBlockPlaceAll(), fdFlagBlockPlaceAllMarkingEdges(), fdGetCollisionUnderLeader(), fdHangingVineHang(), fdMapGridCheckCollision(), fdMapGridCheckCollisionAbove(), fdMapGridCheckCollisionAt(), fdMapGridClearAttributeBBitsAt(), fdMapGridGetMetatileAt(), fdMapGridGetMetatileBehaviorAt(), fdMapGridIsWallAt(), fdMapGridLoadMap(), fdMapGridSetMetatileAttributeBitsAt(), fdMapGridSetMetatileBehaviorAt(), fdMapGridSetMetatileHeight(), fdPlaceTreasureSpots(), fdTryJumpForward(), fdUpdateWalking(), scActorRollAndCrumble(), scAnkohlRuinsFlowWithSand(), scAnkohlRuinsRaiseFirstSand(), scAnkohlRuinsRaiseSecondSand(), scApojiiIslandsAddMetatileMarkers(), scAquaRockGetMetatileAttribute(), scAquaRockInsideAddSpouts(), scAquaRockInsideAdvanceStreams(), scAquaRockInsideBlockMetatileUnder(), scBlocksMarkMetatiles(), scBlocksUnmarkMetatiles(), scCrackedTileFind(), scCrumblingPillarPlace(), scCrumblingPillarPlaceWithStandIn(), scDehkanPlateauInitTightropes(), scDehkanPlateauPlaceVinePillar(), scGaiaRockCueWallMetatile(), scGaiaRockInsideBlankLayer() and 30 more.
Definition at line 146 of file map_grid.h.
Fields in detail
picture
Uint16 picture : 12
its metatile tiles
actorLayer
Uint16 actorLayer : 2
the map layer an actor here takes, plus one
actorPriority
Uint16 actorPriority : 2
the sprite priority an actor here is drawn at
collisionCode
Uint8 collisionCode
attributeB
Uint8 attributeB