struct PUSHED_ACTOR_PROBE
Where a pushed actor ahead of the leader would roll to: its rectangle, its actor, that position, and a function run during the leader's follow-through.
Declared in pushed_actor.h.
Fields
| Name | Description | |
|---|---|---|
Sint32 | rectangleIndex | The large thing's row in PushedActorRectangleKinds and PushedActorRectangles, 0 to 5. |
Sint32 | actorSlot | the large thing's actor id, 8 to 65 |
FIELD_POS | pos | 16.16 pixels while moving; converted to metatiles by rectangle redraws. |
void (* | callback )(void) | Run as the leader follows the rolling thing, when not null; the probe clears it. |
Description
Where a pushed actor ahead of the leader would roll to: its rectangle, its actor, that position, and a function run during the leader's follow-through.
struct PUSHED_ACTOR_PROBE
Referenced by offsetof, scCrossboneIsleSteppingStonesFloatLog(), scCrossboneIsleSteppingStonesPushSinkingBoulder(), scCrossboneIsleSteppingStonesQueryCoveredMetatiles(), scCrossboneIsleSteppingStonesRollColumnOrLog(), scCrossboneIsleSteppingStonesStrandLog(), scKolimaForestCliffPushLog(), scKolimaForestEntrancePushLog(), scKolimaForestGladePushLog(), scMercuryLighthousePushChannelPipes(), scMercuryLighthousePushJetRoomPipes(), scMercuryLighthousePushSpoutAndNorthJetPipes(), scMogallForestFirstAreaPushLog(), scMogallForestSecondAreaPushLog(), scMogallForestThirdAreaPushLog(), scPushedActorBlockFootprint(), scPushedActorFindClearPos(), scPushedActorPushIfClear(), scPushedActorRoll(), scValeCavePushLogNorth() and scValeCavePushLogOverEdge().
Definition at line 29 of file pushed_actor.h.
Fields in detail
rectangleIndex
Sint32 rectangleIndex
The large thing's row in
PushedActorRectangleKinds and
PushedActorRectangles, 0 to 5.
actorSlot
Sint32 actorSlot
the large thing's actor id, 8 to 65
pos
FIELD_POS pos
16.16 pixels while moving; converted to metatiles by rectangle redraws.
callback
void (*callback)(void)
Run as the leader follows the rolling thing, when not null; the probe clears it.