Skip to Content
The Alchemy Project

struct TOUCH_COPIES

The scene's own state (SceneLocalState) as far as the copies of metatiles Cyclone blew away, kept there so that fdTileCopiesRestore makes them again. More…

Declared in script_commands.h.

Fields

NameDescription
Uint32savedPlayTime
Uint8snapshotSlots [ACTOR_SNAPSHOT_CAPACITY]
ACTORsnapshotObjects [ACTOR_SNAPSHOT_CAPACITY]
Uint8untilCopies [1832]the snapshot's sprite state, RareItemStock, SceneStateWork and the start of InventorySnapshot
TOUCH_COPYcopies [64]
Sint8count

Description

The scene's own state (SceneLocalState) as far as the copies of metatiles Cyclone blew away, kept there so that fdTileCopiesRestore makes them again. It opens with the second copy of the play time (mnSaveBuildFileSummary) and the actor snapshot's slot ids and actors (SnapshotObjects, as The Broken Seal's ActorSnapshot); the copies lie in InventorySnapshot's spare space.

struct TOUCH_COPIES

Referenced by fdTileCopiesRestore().

Definition at line 74 of file script_commands.h.

Fields in detail

savedPlayTime

Uint32 savedPlayTime

snapshotSlots

Uint8 snapshotSlots[ACTOR_SNAPSHOT_CAPACITY]

snapshotObjects

ACTOR snapshotObjects[ACTOR_SNAPSHOT_CAPACITY]

untilCopies

Uint8 untilCopies[1832]

the snapshot's sprite state, RareItemStock, SceneStateWork and the start of InventorySnapshot

copies

TOUCH_COPY copies[64]

count

Sint8 count