feat(bindings): DungeonFile handle for dungeon.dat and the magic map #444
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!444
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/443-dungeon-handle"
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?
Part of #443.
Adds
DungeonFile, adungeon.datparsed once, in Rust, wasm, C and Python:to_json,skproject_jsonmap_layout,level_layoutmap_png,level_png,map_chips,level_chips, drawn through aGraphicsArchiveOptions objects as in
GraphicsArchive; unknown keys are errors. Output byte-identical to the free functions, which now share its internals. NamedDungeonFileto avoid clashing withdm2_dungeon_*C exports anddm2_dungeon::Dungeon.Speed gain is small (levels 1.03×, maps 1.1×, layouts 1.5×): rendering dominates. Removal of the free functions follows in a stacked PR.
https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7