feat(bindings)!: SaveGame keeps its GraphicsArchive #457
No reviewers
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!457
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/451-save-game-keeps-graphics"
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?
Closes #451. Stacked on #456.
SaveGameholds theGraphicsArchiveit was built with, shared through anArc:toBytes,inventory,container,putInContainer,takeFromContainer,createItemandpreviewItemdrop theirgraphicsargument, so a save is never read or encoded against another archive;fromJsontakes the archive too;dm2_graphics_archive_free(tested).Deviation from #451: only the dungeon's map info is kept, not the
DungeonFile; nothing else in it is used after construction.https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7