feat: GM characters, reveals, who-sees-it and seen_by (#75)
Server: GM token frames gain the additive, GM-only seen_by:[player ids], computed from each player's existing sight (PlayerVision.visibleTo) with no extra polygon pass. Leakcheck BannedAlways bans seen_by; a seenBy fault build is caught as exactly WALLDATA. proto stays 2 (6.2 additive). Client: new cast slice parses character/character_gone/encountered frames and seen_by; gmcast panel adds character create/rename/assign/remove, reveal to one/all, encountered forget (grey entries only) and the who-sees-it list (0/100 in M4). Mounted beside the #74 admin panel. Docs: DESIGN 5.9/6.1/6.2/7.4 record the round-1 shape and the no-bump call. Gates: devbox run test, client-test, e2e green; bench recorded.
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ const
|
||||
MarkerIdLength = 12
|
||||
MarkerIdAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-"
|
||||
BannedAlways = ["walls", "wall", "wall_gone", "a", "b", "open", "kind", "controller", "gm_only",
|
||||
"flags", "radius_own", "extra",
|
||||
"flags", "radius_own", "extra", "seen_by",
|
||||
# every wall field name (#54): geometry, switches, door settings, label
|
||||
"thickness", "position", "height", "blocks_sight", "blocks_movement", "sight_dir",
|
||||
"player_marker", "door", "secret", "locked", "label"]
|
||||
|
||||
Reference in New Issue
Block a user