upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorcxchhh <35392417+cxchhh@users.noreply.github.com>2026-11-22 12:52:58 +0000
committercxchhh <35392417+cxchhh@users.noreply.github.com>2026-11-22 12:52:58 +0000
commit840a6e3e32b554aeb7a67440468c3fcc14d4b167 (patch)
treeb2ed146278abd4d8f7c5535ea1f75206eb29961a /runtime/test/gameinput_test.cpp
parent21a8e071687c6eaae0cc197f2584ca0af824fc0e (diff)
world_lights_paths: map lights and the vehicle lane graph in levels.rpf (ASSET-102)
New stdlib tool on top of world_census.assemble and the world_index header readers. Every field is read by member hash from each 0x7a resource's own schema. Lights: every CExtensionDefLightEffect reachable from the extensions list of an archetype, interior archetype or entity, and its CLightAttrDef lists. Counts per type, owner and resource kind, value ranges and checks. With --entities (world_index.py --entities-out rows) archetype lights are placed in world space through each map entity's transform, the same one world_build.py --placements uses; --lights-out writes them (local only). Lane graph: path nodes, links (lanes, flags, length) and junctions (entrances, turns, traffic-light phases), with connectivity measured. Full levels.rpf: 280,105 lights (450,195 placed through map entities), 63,808 nodes, 145,518 links, 1,546 junctions (369 signalised). The lane graph equals SixNG's on every count; all 5,285 lights SixNG lacks come from pool references at offsets 0x500..0x6ff that it reads as pointers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions