Skip to Content
The Alchemy Project

struct GROUND_MASK_ACTOR

An actor (ACTOR) as the ground mask reads it: its place, its ground height's halves and its layer.

Declared in ground_mask.h.

Fields

NameDescription
Uint8unused [8]No code names it.
Sint32x
Sint32y
Sint32z
Uint16groundHeightFractionACTOR.groundHeight's fraction.
Sint16floorACTOR.groundHeight's whole pixels.
Uint8unusedAfterFloor [10]No code names it.
Uint8terrainIdThe map layer it stands on.

Description

An actor (ACTOR) as the ground mask reads it: its place, its ground height's halves and its layer.

struct GROUND_MASK_ACTOR

Referenced by fdBlankOverlayDrawMarks(), fdEffectStartBlankOverlay(), fdFadeOverlayDrawMarks() and scKibomboOverlayFollowsLeader().

Definition at line 16 of file ground_mask.h.

Fields in detail

unused

Uint8 unused[8]

No code names it.

x

Sint32 x

y

Sint32 y

z

Sint32 z

groundHeightFraction

Uint16 groundHeightFraction

ACTOR.groundHeight's fraction.

floor

Sint16 floor

ACTOR.groundHeight's whole pixels.

unusedAfterFloor

Uint8 unusedAfterFloor[10]

No code names it.

terrainId

Uint8 terrainId

The map layer it stands on.