struct BUP_FILE_SUMMARY
A save file's summary for the file list: the leader's name, level and class, the area, play time, coins, Djinn and party.
Declared in definitions.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | slotHeader [16] | Room for the part's BUP_SECTOR_HEADER. |
Uint8 | name [12] | The leader's. |
Uint8 | level | The leader's; 0 for an empty file. |
Uint8 | classId | The leader's. |
Uint16 | area | Area name number (fdAreaGetNameIndex). |
Uint32 | playTime | Ticks. |
Uint32 | coins | |
Sint8 | djinn [4] | The party's Djinn of each element. |
Sint8 | party [5] | Up to four party members, ended by -1. |
Sint8 | sendFlag | Copied from MAIN_ROUTINE_STATE.sendFlag, which saving at the end of the game sets; the file list for cleared data lists a file without it as not cleared. |
Sint8 | djinnCount | How many Djinn flags (FLAG_DJINN_FIRST on) are set. |
Sint8 | childhood | FLAG_CHILDHOOD is set; remaps the party's sprites. |
Uint16 | windowHue : 8 | bits: 15..8 windowBrightness | 7..0 windowHue MAIN_ROUTINE_STATE.windowHue. |
Uint16 | windowBrightness : 8 | MAIN_ROUTINE_STATE.windowBrightness. |
Uint16 | buildStamp | Low half of MAIN_ROUTINE_STATE.buildStamp; a file below the current stamp is listed as from an older build. |
Uint32 | secondPartPlayTime | Filled on reading: the play time from the file's second part. |
Uint32 | checksum | The sum of the 968 words from GameFlagBytes. |
Description
A save file's summary for the file list: the leader's name, level and class, the area, play time, coins, Djinn and party.
struct BUP_FILE_SUMMARY
Referenced by mnFileListDrawDjinnCounts(), mnFileListDrawSummary(), mnFileListSelectFile(), mnFileListShowPartySprites(), mnSaveBuildFileSummary(), mnSaveCountFilesExcludingSent(), mnSaveFindFreeFile() and syBupLoadFileSummaries().
Definition at line 1275 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; 0 for an empty file.
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
Copied from MAIN_ROUTINE_STATE.sendFlag,
which saving at the end of the game sets;
the file list for cleared data lists a file
without it as not cleared.
djinnCount
Sint8 djinnCount
How many Djinn flags (FLAG_DJINN_FIRST on)
are set.
childhood
Sint8 childhood
FLAG_CHILDHOOD is set; remaps the party's
sprites.
windowHue
Uint16 windowHue : 8
bits: 15..8 windowBrightness | 7..0
windowHue MAIN_ROUTINE_STATE.windowHue.
windowBrightness
Uint16 windowBrightness : 8
MAIN_ROUTINE_STATE.windowBrightness.
buildStamp
Uint16 buildStamp
Low half of MAIN_ROUTINE_STATE.buildStamp; a
file below the current stamp is listed as
from an older build.
secondPartPlayTime
Uint32 secondPartPlayTime
Filled on reading: the play time from the file's second part. A file whose playTime differs is listed as corrupted.
checksum
Uint32 checksum
The sum of the 968 words from GameFlagBytes.