code wiki / _hdl_build / nx_wire_harness.nx
nx_wire_harness.nx
buildroot/runtime/_hdl_build/nx_wire_harness.nx
about
nx_wire_harness.nx -- the SHARED SCAFFOLD extracted from the title-wiring gates (nx_wire_nethack /
diablo2 / endlesssky). Each of them independently grew the same four primitives: a packed-pixel
frame checksum, a causal binary menu decision, a rolling frame-chain fold, and an experiential
verdict. This lib is the ONE definition -- migrate-on-touch per the nx_game_world precedent, so
title N+1 wires in fewer lines and every existing title's golden checksum PROVES the extraction was
behaviour-preserving (that is the acceptance test, not a hope). OO consolidation that GROWS the
recombinator substrate, never shrinks a capability. LIB, no main. license_tier: ORIGINAL
dependencies 3 imports · 6 importers
imports: nx_syscalls.nxnx_gamehud.nxnx_frame_sanity.nx
imported by: nx_drift_engine.nxnx_frontier_engine.nxnx_wire_diablo2_gate.nxnx_wire_endlesssky_gate.nxnx_wire_harness_gate.nxnx_wire_nethack_gate.nx
structs
| none |
consts
| 11 | const K_MAGIC_1469598103: i64 = 1469598103 |
functions
| 15 | func wh_fbck(fb: *i64, count: i64) -> i64 |
| 23 | func wh_chain(chain: i64, fk: i64) -> i64 |
| 32 | func wh_menu_wrapsel(hud: *i64, n: i64) -> i64 |
| 38 | func wh_menu_pick2(hud: *i64, ida: i64, va: i64, idb: i64, vb: i64) -> i64 |
| 46 | func wh_ink(fb: *i64, count: i64, bg: i64) -> i64 called by 1: main |
| 55 | func wh_experiential(fb: *i64, w: i64, h: i64, out: *i64) -> i64 |