village-builder

VB-097: Routes over regions (HPA*), if routes cost too much

Status: blocked Waits for: VB-818 Priority: 3 Size: M Arch: roads Phase: implement Design ref: World and scale (Uses of regions: hierarchical pathfinding for 1,000 pawns, HPA, Botea, Müller and Schaeffer 2004: Agreed). Goal: The design plans hierarchical pathfinding over the 169-tile regions. Routes today are searches up to 60 steps (VB-064), cached per pair of tiles in a cache that grows without bound (REVIEW.md, Performance). Build HPA only if it is needed: measure first. Depends on VB-096 (terrain costs), so the abstract graph is built once with them; if it is not done, mark this blocked. Acceptance criteria: