Skip to Content
The Alchemy Project

include/scene/actor_step.h

One step from an actor, for the scenes whose statues and pillars are pushed (Bilibin, its cave, Kalay, Sol Sanctum's entrance, the Vault's cave, Venus Lighthouse) and those of pushed_actor.c.

Included by actor_find_at_metatile.c, pushed_actor.c, vault_cave.c and venus_lighthouse.c.

Functions

NameDescription
static inline voidfdActorStepFrom (FIELD_POS *pos, ACTOR *actor, Sint32 step)Sets pos to one step from actor: step is a DIRECTION_STEP, as the push tables hold them.

Description

One step from an actor, for the scenes whose statues and pillars are pushed (Bilibin, its cave, Kalay, Sol Sanctum's entrance, the Vault's cave, Venus Lighthouse) and those of pushed_actor.c.

Functions in detail

fdActorStepFrom

static inline void fdActorStepFrom(FIELD_POS *pos, ACTOR *actor, Sint32 step)

Sets pos to one step from actor: step is a DIRECTION_STEP, as the push tables hold them.

References Sint32.

Referenced by scBilibinCavePushTorch(), scBilibinPushStatueOrCrates(), scKalayPushTunnelStatue(), scPushedActorAdvancePair(), scPushedActorStopBlockedMotion(), scSolSanctumEntrancePushStatue(), scVaultCavePushPillarAhead() and scVenusLighthousePushPillarAhead().

Definition at line 13 of file actor_step.h.