Skip to Content
The Alchemy Project

src/field/actor_placement.c

The idle script, and the placement table the field starts with.

Variables

NameDescription
const Sint32ActorIdleScript []The script of an actor that does nothing.
const ACTOR_PLACEFieldDefaultPlacements []The leader's placement and the end of its table, which the field copies into its state as it starts.

Description

The idle script, and the placement table the field starts with.

Variables in detail

ActorIdleScript

const Sint32 ActorIdleScript[]

The script of an actor that does nothing.

References Sint32.

Referenced by FieldDefaultPlacements.

Definition at line 7 of file actor_placement.c.

FieldDefaultPlacements

const ACTOR_PLACE FieldDefaultPlacements[]

The leader's placement and the end of its table, which the field copies into its state as it starts. Only the idle script survives the copy: fdActorResetForLeader writes the leader's own sprite, condition, spot and heading over the rest of the first row.

References ActorIdleScript and Sint32.

Referenced by fdActorResetForLeader().

Definition at line 15 of file actor_placement.c.