Skip to Content
The Alchemy Project

src/system/bupdata.c

The save signature and sector header template, and test data nothing reads.

Variables

NameDescription
const Uint8BupSignature []The signature that marks a save part: syBupInitState counts a sector as a save only when its first seven bytes match it.
const Uint8BupHeaderTemplate [8]The sector header's first eight bytes, with no terminator: the signature, then a byte in the part id's place that the writer overwrites.
const Uint32LinkTestWordUnused: nothing in the game reads it.
const Uint8LinkTestDataA []Unused: two test messages left beside the link code; nothing sends them.
const Uint8LinkTestDataB []

Description

The save signature and sector header template, and test data nothing reads.

Variables in detail

BupSignature

const Uint8 BupSignature[]

The signature that marks a save part: syBupInitState counts a sector as a save only when its first seven bytes match it.

Referenced by syBupInitState().

Definition at line 7 of file bupdata.c.

BupHeaderTemplate

const Uint8 BupHeaderTemplate[8]

The sector header's first eight bytes, with no terminator: the signature, then a byte in the part id's place that the writer overwrites.

Referenced by syBupInvalidateSector() and syBupWritePart().

Definition at line 10 of file bupdata.c.

LinkTestWord

const Uint32 LinkTestWord

Unused: nothing in the game reads it.

Definition at line 13 of file bupdata.c.

LinkTestDataA

const Uint8 LinkTestDataA[]

Unused: two test messages left beside the link code; nothing sends them.

Definition at line 16 of file bupdata.c.

LinkTestDataB

const Uint8 LinkTestDataB[]

Definition at line 17 of file bupdata.c.