feat(magicmap): option to leave out unreferenced solid rock #426

Merged
jqueuniet merged 1 commit from feat/423-unfilled-rock into main 2026-10-30 15:07:16 +01:00
Owner

Closes #423.

Layout::unfilled drops walls and map exits with no other tile among their 8 neighbours, no record and no random ornament. Exposed as fill (default true) on RenderOptions, the PNG and chip-report bindings, and dm2 extract --no-fill.

DOS EN level 7: 1101 → 924 cells; the DMDC2 World Atlas leaves 174 of the 177 dropped cells black. Levels 1–7: 2057 dropped cells match the atlas, 71 it draws (mostly enclosed rock on level 6).

Breaking: JS and C callers pass the new fill argument; Python defaults it.

https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7

Closes #423. `Layout::unfilled` drops walls and map exits with no other tile among their 8 neighbours, no record and no random ornament. Exposed as `fill` (default true) on `RenderOptions`, the PNG and chip-report bindings, and `dm2 extract --no-fill`. DOS EN level 7: 1101 → 924 cells; the DMDC2 World Atlas leaves 174 of the 177 dropped cells black. Levels 1–7: 2057 dropped cells match the atlas, 71 it draws (mostly enclosed rock on level 6). Breaking: JS and C callers pass the new `fill` argument; Python defaults it. https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7
feat(magicmap): option to leave out unreferenced solid rock
Some checks failed
CI / audit (pull_request) Successful in 20s
CI / stable (pull_request) Successful in 55s
CI / python bindings (3.11) (pull_request) Successful in 27s
CI / msrv (1.90) (pull_request) Successful in 29s
CI / msrv (1.90) (push) Successful in 28s
CI / audit (push) Successful in 19s
CI / stable (push) Successful in 56s
CI / python bindings (3.11) (push) Has been cancelled
a9babc6c61
Layout::unfilled drops walls and map exits with no other tile among
their 8 neighbours and nothing on them, as the DMDC2 World Atlas does.
RenderOptions::fill, dm2 extract --no-fill, and a fill flag on the PNG
and chip-report bindings select it; fill stays the default.

Closes #423

Claude-Session: https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7
jqueuniet deleted branch feat/423-unfilled-rock 2026-10-30 15:07:16 +01:00
Sign in to join this conversation.
No reviewers
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-tools!426
No description provided.