Part of #41: the comments of `benilla-formats` (the library, its extract tools, examples and tests) are rewritten to the rule in `docs/METHOD.md`, which is what the code does and the reference fact behind it, in a line. 19,654 comment lines become 7,264.
Fixes#105: the WMO collision comments now name walking's box-query leaf `0x6bca50` and the camera and line-of-sight segment-query leaf `0x6bc700`, in `models/collision.rs`, `examples/wmo_bsp.rs` and `tests/chain.rs`.
- **The mechanical strip.** The citations that were only a private record number go first, and each edit is shown to be a pure removal.
- **Wrong facts corrected.** The rewrite corrects the comments that stated wrong facts. Among them:
- A placed doodad's material alpha reads file slot 0 on its spawn clock, while the reference reads bone 0's armed sequence, re-rolled every play window. The old text said doodads are armed once at load.
- The fog end is stored ×36 and scaled once at load (`0x6d6090`). It is not raw.
- The MCSH bit picks a map doodad's sun scale, 1.0 lit or 0.5 shadowed. 2.5 belongs to an entity's light node.
- `SpellRec` is the row as stored, column × 4, not a translated copy.
- A global sequence's clock is anchored at the instance's attach time (`0x714352`).
- Particle twinkle is a gated size multiplier (`0x7b2adc`).
- The blob shadow sizes from the Stand box.
- Data claims are checked against the install: the weapon-trail kits' parameters and alphas, the beam rows' noise, and the maps' `field_16`.
- Dozens more turned up on the way: renamed or deleted items, docs sitting on the wrong item, stale counts and links.
- **Deviation labels.** "Deviation:" now marks only a choice with a reason. An unbuilt behaviour says so plainly.
- **Verification.** Every file strips to identical code, and `cargo fmt --check` is clean. Four second readers compared every file old against new, restored the facts the rewrite had dropped, and checked each new citation against the reference, the code and the shipped data.
String literals are untouched; they are #92.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Area triggers exist now, so portals work: every teleport pad, dungeon entrance
and enter-a-place quest volume reports the reference's own way — one exit latch,
first containing volume on the map wins, a sphere or a yawed box. Verified live:
Rut'theran to Darnassus, the Deadmines worldport, and a level-gated entrance
refusing with the server's own "You must be at least level 10 to enter."
- GameObjects animate. Every animated object arms its idle the moment it goes live
(doors and chests used to flash bind pose for a frame), a missing rest pose is
remapped the way the reference remaps it instead of playing nothing — the
Ahn'Qiraj gate's root tangle stood frozen for want of a Closed clip — and the
state machine covers the verified twenty of thirty-one object types instead of
three: fourteen hundred spawns' worth of traps, goobers, books and questgivers
now change pose off the wire.
- The flickering tent is still. Cloth you can see from both sides is authored as
two reversed copies of the same sheet, and the real client backface-culls each
copy from its wrong side so exactly one covers any pixel; we drew every building
batch two-sided, which left the winner to floating-point noise, flickering while
the camera crept. WMO materials now honor their cull flag.
- A sweep of long-standing visual bugs: effects respect the far-clip wall — a
ferry's deck lanterns were drawing from 7,000 yards away; the night-elf eye glow
goes out in first person instead of leaving two orbs burning in mid-air; the
goblins' stray white hair tuft is gone (a duplicated table key resolved last-wins
where the client scans first-wins); lava and slime finally have their own
submerged view — the dense fiery orange and dense green of the real thing, off
two fixed lighting rows nothing in the zone data points at; and the far-horizon
band overlaps the detailed terrain instead of leaving a strip of sky at lowered
view distance.
- Two caught at the keyboard: the backpack icon greys instead of vanishing while
the escape menu is up, and the world map is a real panel now — it can no longer
open over the menu, and ESC closes it first like everything else.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>