Skip to Content
The Alchemy Project

struct ACTOR_SNAPSHOT

Actors kept across a battle or a saved scene, with parallel sprite state. More…

Declared in actor.h.

Fields

NameDescription
Uint8slots [ACTOR_SNAPSHOT_CAPACITY]actor ids, or ACTOR_SNAPSHOT_EMPTY
ACTORactors [ACTOR_SNAPSHOT_CAPACITY]copied by DMA
Uint8animations [ACTOR_SNAPSHOT_CAPACITY]each sprite's lastNo
Uint8spriteFlags [ACTOR_SNAPSHOT_CAPACITY]each sprite's SPR.flags
Uint8priorities [ACTOR_SNAPSHOT_CAPACITY]each sprite's priority, for image and shadow

Description

Actors kept across a battle or a saved scene, with parallel sprite state. The slot list ends in ACTOR_SNAPSHOT_EMPTY unless every entry is filled.

struct ACTOR_SNAPSHOT

Referenced by ActorSnapshotWork.

Definition at line 404 of file actor.h.

Fields in detail

slots

Uint8 slots[ACTOR_SNAPSHOT_CAPACITY]

actor ids, or ACTOR_SNAPSHOT_EMPTY

actors

ACTOR actors[ACTOR_SNAPSHOT_CAPACITY]

copied by DMA

animations

Uint8 animations[ACTOR_SNAPSHOT_CAPACITY]

each sprite's lastNo

spriteFlags

Uint8 spriteFlags[ACTOR_SNAPSHOT_CAPACITY]

each sprite's SPR.flags

priorities

Uint8 priorities[ACTOR_SNAPSHOT_CAPACITY]

each sprite's priority, for image and shadow