graphics.dat: platform family in header #461
Labels
No labels
area/ci-release
area/cli
area/docs
area/dungeon
area/ftl
area/graphics
area/gui
area/music
area/saves
area/tooling
port/amiga
port/dos
port/fm-towns
port/mac
port/pc98
port/sega-cd
priority/high
priority/low
priority/medium
type/bug
type/chore
type/docs
type/feature
type/research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jqueuniet/dm2-tools#461
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
image() takes style and light (0–5) on console-family archives (Amiga, Sega CD, FM-Towns) and ignores them on PC-family ones, but nothing tells a caller which family an archive is: header() gives format_version, byte_order and entry_count, and Mac US is BE like Amiga and Sega CD. A browser offering a lighting bank picker shows it everywhere or guesses from record counts.
Proposal
header() adds the archive's family (pc or console), or whether image() honours style and light.
Acceptance