91a51c706dfb8eb21866980719fe45a5d59ef1a8
Draw, select, edit and delete walls through the GM panel: the four 5.8 presets, raw switches (preset XOR raw, open excluded from wall.update), a private label, the one-way arrow + flip (sight_dir names the blind side), the player-marker switch, door open/close through door.set, secret/locked with the locked hint and one-click unlock, delete and single-step undo. No thickness, height or position-flip control (ADR-0012). The pure rules and payload builders live in src/wallEditor.ts; the GM wall slice (src/slices/walls.ts) owns the server records, selection and undo; the render module draws on the gm layer and defines the input precedence: token drag (#72) > armed wall draw > camera pan (#69), with a click (no movement) selecting the nearest wall. Shared core edits: client/src/reducer.ts gains the wall-select and wall-record-undo events (the only new core events); style.css and the client README document the panel and rules. Unit tests cover the slice, presets, derived kind, arrow side, snapping, payload XOR, door intent and undo builders; the e2e draws every preset, edits the fields, flips the one-way wall, opens/closes a door, deletes and undoes, proves a token drag still wins over draw mode, and probes the player's fog pixels, with the player WS leaking no wall data. Ref #73
Description
No description provided
9.2 MiB
Languages
JavaScript
38.4%
Nim
38.3%
TypeScript
20.9%
Shell
1.9%
CSS
0.5%