Skip to Content
The Alchemy Project

struct BUP_SUMMARY

A save file's summary for the file screen: the leader's name, level and class, the area, play time, coins, Djinn and party. secondPartPlayTime is filled on reading from the start of the file's next sector (offset 0x10, or 0x110 for the extra summary); if it differs from playTime, the file was not written whole.

Declared in definitions.h.

Fields

NameDescription
Uint8slotHeader [16]room for the part's BUP_SECTOR_HEADER
Uint8name [12]the leader's
Uint8levelthe leader's
Uint8classIdthe leader's
Uint16areaarea name number (fdAreaGetNameIndex)
Uint32playTimeticks
Uint32coins
Sint8djinn [4]the party's Djinn of each element
Sint8party [5]up to four party members, ended by -1
Sint8sendFlagMainRoutineStateWork.sendFlag: the file is cleared
Sint8djinnCountthe Djinn found: their flags from FLAG_DJINN_FIRST
Sint8reunitedFLAG_REUNION is set
Uint8windowHueMainRoutineStateWork.windowHue
Uint8windowBrightnessMainRoutineStateWork.windowBrightness
Uint16buildStamplow half of the build stamp saved with the game
Uint32secondPartPlayTimenext sector's playTime; mismatch flags torn write
Uint32checksumthe sum of the 968 words from GameFlagBytes

Description

A save file's summary for the file screen: the leader's name, level and class, the area, play time, coins, Djinn and party. secondPartPlayTime is filled on reading from the start of the file's next sector (offset 0x10, or 0x110 for the extra summary); if it differs from playTime, the file was not written whole.

struct BUP_SUMMARY

Referenced by mnFileListDrawDjinnCounts(), mnFileListDrawSummary(), mnFileListSelectFile(), mnFileListShowPartySprites(), mnSaveBuildFileSummary(), mnSaveCountFilesExcludingSent(), mnSaveFindFreeFile(), syBupLoadExtraSummary() and syBupLoadFileSummaries().

Definition at line 1688 of file definitions.h.

Fields in detail

slotHeader

Uint8 slotHeader[16]

room for the part's BUP_SECTOR_HEADER

name

Uint8 name[12]

the leader's

level

Uint8 level

the leader's

classId

Uint8 classId

the leader's

area

Uint16 area

area name number (fdAreaGetNameIndex)

playTime

Uint32 playTime

ticks

coins

Uint32 coins

djinn

Sint8 djinn[4]

the party's Djinn of each element

party

Sint8 party[5]

up to four party members, ended by -1

sendFlag

Sint8 sendFlag

MainRoutineStateWork.sendFlag: the file is cleared

djinnCount

Sint8 djinnCount

the Djinn found: their flags from FLAG_DJINN_FIRST

reunited

Sint8 reunited

FLAG_REUNION is set

windowHue

Uint8 windowHue

MainRoutineStateWork.windowHue

windowBrightness

Uint8 windowBrightness

MainRoutineStateWork.windowBrightness

buildStamp

Uint16 buildStamp

low half of the build stamp saved with the game

secondPartPlayTime

Uint32 secondPartPlayTime

next sector's playTime; mismatch flags torn write

checksum

Uint32 checksum

the sum of the 968 words from GameFlagBytes