lay out rivers as the Rivers mod does

Every stored riverDistance column matches. Plates are built from 25
ocean samples per zone rather than a region map per zone, and the
ocean distance from a ring search that finds what the mod's BFS does,
so a plate costs 0.08 s; workers cache a few, as a wide view spans
several.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 18:40:53 +03:00
parent 5ad62524f1
commit 517d279c8d
10 changed files with 1257 additions and 38 deletions

View File

@@ -3,6 +3,12 @@
Language bugs and friction met while building vs-map-viewer, against
sexc at ~/dev/sex. Newest first. Unless said otherwise, sexc dfafe8b.
* =-INFINITY= is one symbol
=(var best double -INFINITY)= emits =_INFINITY=: the reader takes
the whole token as a symbol and the leading =-= is mangled like any
other. =(- INFINITY)= works. Negative literals like =-1= are fine, so
it's only symbolic constants, but the mangled name reads like a typo.
* A cast as the object of =.= loses its parentheses
=(. (cast pa (* const wanted)) distance)= emits
=(const wanted *)pa->distance=, which C reads as a cast of