Alchemy
Loading...
Searching...
No Matches

StagedActorProbe Struct Reference

Where a large thing ahead of the leader would roll to: its footprint, its actor, that position, and a callback during the leader's follow-through. More...

#include <staged_actor.h>

Data Fields

s32 footprintIndex
 The large thing's row in gStagedActor_FootprintKinds and gStagedActor_FootprintBounds, 0 to 5.
s32 actorSlot
 the large thing's actor number, 8 to 65
struct FieldPosition position
 16.16 pixels while moving; converted to cells by footprint redraws.
void(*) callback (void)
 Run as the leader follows the rolling thing, when not null; the probe clears it.

Detailed Description

Where a large thing ahead of the leader would roll to: its footprint, its actor, that position, and a callback during the leader's follow-through.

Definition at line 14 of file staged_actor.h.

Field Documentation

◆ footprintIndex

s32 StagedActorProbe::footprintIndex

The large thing's row in gStagedActor_FootprintKinds and gStagedActor_FootprintBounds, 0 to 5.

Definition at line 17 of file staged_actor.h.

Referenced by CrossboneIslePillarRooms_QueryFootprint(), FieldScene_RedrawActorFootprint(), SceneActor_MoveAndRedraw(), and StagedActor_FindClearPosition().

◆ actorSlot

◆ position

◆ callback

void(*) StagedActorProbe::callback(void)

Run as the leader follows the rolling thing, when not null; the probe clears it.

Definition at line 23 of file staged_actor.h.

Referenced by MercuryLighthouse_MoveStairAndFountainBlocks(), SceneActor_MoveAndRedraw(), and StagedActor_FindClearPosition().