Open dungeon.dat: level map grid #36

Closed
opened 2026-10-27 23:10:15 +01:00 by jqueuniet · 0 comments
Owner

First step of dungeon editing: open a `dungeon.dat` on its own and browse its levels on a grid, the base for drawing them as the game's magic map and, later, a save's world.

Scope

  • A dungeon category, read-only for now. A `dungeon.dat` opened first opens it. When a save is picked together with its data files, the save still wins and takes them as context.
  • One level at a time, picked from a list with each level's maps and size.
  • The level's maps are placed on one grid in level coordinates, with axis labels as in the magic map. Where maps on a level overlap, the cell shows the map that is not a map exit there.
  • Each cell is drawn by tile type (wall, floor, pit, stairs, door, teleporter, trick wall), with a legend. Hovering a cell shows its coordinates, map and tile type.

Acceptance

  • DOS and Mac US `dungeon.dat`: every level opens; level 1 matches the shape of the DMDC2 World Atlas level 1 (19×19, x 38–56, y 23–41).
  • DOS level 2 shows maps 2 and 3 merged.
  • A save picked with its dungeon.dat and graphics.dat still opens the save editor.
First step of dungeon editing: open a \`dungeon.dat\` on its own and browse its levels on a grid, the base for drawing them as the game's magic map and, later, a save's world. ## Scope - A dungeon category, read-only for now. A \`dungeon.dat\` opened first opens it. When a save is picked together with its data files, the save still wins and takes them as context. - One level at a time, picked from a list with each level's maps and size. - The level's maps are placed on one grid in level coordinates, with axis labels as in the magic map. Where maps on a level overlap, the cell shows the map that is not a map exit there. - Each cell is drawn by tile type (wall, floor, pit, stairs, door, teleporter, trick wall), with a legend. Hovering a cell shows its coordinates, map and tile type. ## Acceptance - DOS and Mac US \`dungeon.dat\`: every level opens; level 1 matches the shape of the DMDC2 World Atlas level 1 (19×19, x 38–56, y 23–41). - DOS level 2 shows maps 2 and 3 merged. - A save picked with its dungeon.dat and graphics.dat still opens the save editor.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jqueuniet/dm2-web-editor#36
No description provided.