An import brings the types and constants its interface needs now
(sex#58): a module pub-imports what its pub forms hold, and sexc
refuses one that does not. Every unit had imported its whole
dependency chain in order to make up for it.
worldgen also pub-imports json, whose cJSON.h its pub fns take
pointers into; a type only C knows is not something sexc can check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sexc now checks that importers can see every type a pub form holds,
and asks for pub where the type comes from another import.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A conditional as an operand loses its parentheses (sex#59): box-blur
allocated a quarter of its buffer, deep water got the shallow colour,
and verify's delta histogram wrote out of bounds into the height
classes. Plan.org quoted the corrupted count.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The surface rock matches the save's TopRockIdMap in all but 14 of
11.7 million columns. Rock tiles keep rock indices and take their
colours from a palette on upload, so highlighting one rock, to find
where it lies, recolours what is drawn instead of regenerating it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>