Cache each city's road door and ship 0.5.2 #56

Merged
ValleyGeek merged 1 commit from 0.5.2/city-paint into main 2026-11-09 06:19:44 +00:00
Member

Painting a city other than Calwen searched the road network for that city's door on every exterior tile. The fringe pass searched it again for the neighboring cells. Calwen and the villages take a fixed door, so they stayed fast. Merris spent about 10.6 seconds on one full window, and each later step that painted an exterior strip hitched.

SettlementPlot now keeps the door, origin, and spurs for each town id while the loaded roads stay fixed. MapBook.reload clears that cache. The town view remembers the south and east anchors for the town on screen, so the paint loop does not ask for the door per cell. The visible layout, gates, and field decor stay the same.

VERSION moves from 0.5.1 to 0.5.2.

Verification

  • bash tools/lint_gdscript.sh: 81 files, no problems.
  • GUT: 72 tests passed.
  • Town paint probe under Xvfb at 1920×1080. A full window for Merris is 90 ms. The other cities and villages are 78–93 ms. Calwen is 85 ms. Walking Merris averages 16 ms per frame. Cell and decor counts match the run before the cache.
  • Playtest bash tools/playtest/run.sh --seeds 1,2,3 (playtest_out/20261108-213645): each seed ends at boss_defeated with no findings and no hitches.
Painting a city other than Calwen searched the road network for that city's door on every exterior tile. The fringe pass searched it again for the neighboring cells. Calwen and the villages take a fixed door, so they stayed fast. Merris spent about 10.6 seconds on one full window, and each later step that painted an exterior strip hitched. SettlementPlot now keeps the door, origin, and spurs for each town id while the loaded roads stay fixed. MapBook.reload clears that cache. The town view remembers the south and east anchors for the town on screen, so the paint loop does not ask for the door per cell. The visible layout, gates, and field decor stay the same. VERSION moves from 0.5.1 to 0.5.2. ## Verification - `bash tools/lint_gdscript.sh`: 81 files, no problems. - GUT: 72 tests passed. - Town paint probe under Xvfb at 1920×1080. A full window for Merris is 90 ms. The other cities and villages are 78–93 ms. Calwen is 85 ms. Walking Merris averages 16 ms per frame. Cell and decor counts match the run before the cache. - Playtest `bash tools/playtest/run.sh --seeds 1,2,3` (`playtest_out/20261108-213645`): each seed ends at `boss_defeated` with no findings and no hitches.
Cache each city's road door and ship 0.5.2
All checks were successful
CI / test (push) Successful in 17s
CI / test (pull_request) Successful in 16s
CI / lint (push) Successful in 26s
CI / lint (pull_request) Successful in 27s
CI / release (pull_request) Has been skipped
CI / release (push) Successful in 1m10s
e09b4903e7
Painting a city other than Calwen searched the road network for that city's door on every exterior tile. The fringe pass searched it again for the neighboring cells. Calwen and the villages take a fixed door, so they stayed fast. Merris spent about 10.6 seconds on one full window, and each later step that painted an exterior strip hitched.

SettlementPlot now keeps the door, origin, and spurs for each town id while the loaded roads stay fixed. MapBook.reload clears that cache. The town view remembers the south and east anchors for the town on screen, so the paint loop does not ask for the door per cell. The visible layout, gates, and field decor stay the same.

VERSION moves from 0.5.1 to 0.5.2.

## Verification

- `bash tools/lint_gdscript.sh`: 81 files, no problems.
- GUT: 72 tests passed.
- Town paint probe under Xvfb at 1920×1080. A full window for Merris is 90 ms. The other cities and villages are 78–93 ms. Calwen is 85 ms. Walking Merris averages 16 ms per frame. Cell and decor counts match the run before the cache.
- Playtest `bash tools/playtest/run.sh --seeds 1,2,3` (`playtest_out/20261108-213645`): each seed ends at `boss_defeated` with no findings and no hitches.
ValleyGeek deleted branch 0.5.2/city-paint 2026-11-09 06:19:44 +00: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
ai-collab/animrpg202610!56
No description provided.