Skip to Content
The Alchemy Project

src/field/actor_placement.c

The party leader's actor placement, which fdActorResetForLeader copies before a scene places its own actors, and the script it gives the leader.

Variables

NameDescription
const Sint32ActorUnusedCameraScript []Unused: the camera following the leader, a tick at a time, forever; no code names it.
const Sint32FieldLeaderScript []A lone SC_END: the leader's script, which the player moves.
const ACTOR_PLACEFieldDefaultActorPlacements [2]The leader's row and the end of the table; fdActorResetForLeader puts the leader's sprite, spot and heading over the row's.

Description

The party leader's actor placement, which fdActorResetForLeader copies before a scene places its own actors, and the script it gives the leader.

Variables in detail

ActorUnusedCameraScript

const Sint32 ActorUnusedCameraScript[]

Unused: the camera following the leader, a tick at a time, forever; no code names it.

References Sint32.

Definition at line 8 of file actor_placement.c.

FieldLeaderScript

const Sint32 FieldLeaderScript[]

A lone SC_END: the leader's script, which the player moves.

References Sint32.

Referenced by FieldDefaultActorPlacements.

Definition at line 16 of file actor_placement.c.

FieldDefaultActorPlacements

const ACTOR_PLACE FieldDefaultActorPlacements[2]

The leader's row and the end of the table; fdActorResetForLeader puts the leader's sprite, spot and heading over the row's.

References FieldLeaderScript and Sint32.

Referenced by fdActorResetForLeader().

Definition at line 20 of file actor_placement.c.