From 065be271664b287f0f711052924a9beb493b3d70 Mon Sep 17 00:00:00 2001 From: Daniel Covington Date: Thu, 3 Dec 2026 23:25:35 -0500 Subject: [PATCH] M6.1: fewer scroll pauses when paths change; record manual confirmation A cell that changed while the hidden buffer was being rebuilt restarted the whole rebuild (up to 8 frames). Now the rest of the rebuild draws every cell and the changed cells are redrawn once it is ready. Tour with the path test build: 272 stall frames instead of 472-752 (allowed 606). MT6.1 confirmed by the user. Co-Authored-By: Claude Opus 5.5 --- docs/milestones.md | 2 +- docs/verification-status.md | 3 ++- project.json | 2 +- src/paths.inc | 34 ++++++++++++++-------------------- 4 files changed, 18 insertions(+), 23 deletions(-) diff --git a/docs/milestones.md b/docs/milestones.md index d0d1262..6be66f7 100644 --- a/docs/milestones.md +++ b/docs/milestones.md @@ -78,7 +78,7 @@ Requirements: R7, R1, R2, R3, R5 | Task | Description | Requirements | Buildable outcome | Completion check | |---|---|---|---|---| | M5.1 | Remove road generation: the world has land, grass and trees, stone and water only; tools/check-world.ps1 fails on any road or bridge tile. | R1 | Worlds without roads | `pwsh -File tools/check-world.ps1 -Runs 10`; manual test MT5.1 | -| M5.2 | Worn paths: a walk count per cell (4,000 bytes), +1 when a person steps into a cell, -1 for every cell every 60 seconds (10 cells every 9 frames); at 128 a land, grass or tree cell becomes a path tile (dark brown patch, one per terrain so it can turn back), below 64 it turns back. Changed cells are redrawn in each buffer while it is hidden (people's dots and saved bytes kept), so the shown map never tears; a buffer in the middle of a rebuild restarts it in full. A test build (PATH_TEST: path at 4, back below 2, one count less every 400 frames) makes it checkable. | R7, R2, R3, R5 | Busy cells turn into paths, unused paths fade | `pwsh -File tools/check-paths.ps1`, `tools/check-scroll.ps1 -Long`, `tools/check-scroll.ps1 -Long -PathTest`; manual test MT5.2 | +| M5.2 | Worn paths: a walk count per cell (4,000 bytes), +1 when a person steps into a cell, -1 for every cell every 60 seconds (10 cells every 9 frames); at 128 a land, grass or tree cell becomes a path tile (dark brown patch, one per terrain so it can turn back), below 64 it turns back. Changed cells are redrawn in each buffer while it is hidden (people's dots and saved bytes kept), so the shown map never tears; a buffer in the middle of a rebuild draws the rest of it in full and redraws the changed cells once it is ready (before M6.1: restarted the rebuild). A test build (PATH_TEST: path at 4, back below 2, one count less every 400 frames) makes it checkable. | R7, R2, R3, R5 | Busy cells turn into paths, unused paths fade | `pwsh -File tools/check-paths.ps1`, `tools/check-scroll.ps1 -Long`, `tools/check-scroll.ps1 -Long -PathTest`; manual test MT5.2 | Manual verification: see docs/manual-tests.md section M5. diff --git a/docs/verification-status.md b/docs/verification-status.md index 020a36a..fc86cf7 100644 --- a/docs/verification-status.md +++ b/docs/verification-status.md @@ -21,7 +21,7 @@ manual = `pending`, `confirmed by user ()`, `problem reported (): )`, `problem reported ():