feat(dungeon): lossless JSON schema 3 with decoded maps and tiles #398
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!398
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/390-schema3-maps"
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?
First step of the #390 schema 3 work: maps and tiles. Records (doors, teleporters, texts, items, then actuators and creatures) follow in later PRs.
mapsentry merges the map header and body.level,flags,difficulty,map_graphics_style, door types, etc.tiles[x][y]holds one object per tile, tagged bytype, e.g.{"type": "pit", "objects": true, "open": true}. False and zero fields are omitted.residual_*fields, written only when non-zero.Round-trip is byte-identical over every fixture. The DOS-EN dump is 1.13 MB pretty-printed (473 KB compact), against 530 KB for schema 2.
Refs #390
https://claude.ai/code/session_01WCNjYNkYSAapvFewz9wfkw