graphics.dat: palette() for palette_lut records #460
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#460
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?
entries() lists 4 palette_lut records on DOS and Mac US (cls3 0x0E: 11.9.14.103 and three under cls1 14; 154–156 on console sets), but palette() refuses them: "is not a palette". A browser shows palette and palette16 records as swatches, not these.
Proposal
palette(index) on a palette_lut returns its 16 pixel→palette values as JSON, null for a
-passthrough nibble.Acceptance