code wiki / _hdl_build / nx_wire_harness.nx

nx_wire_harness.nx

buildroot/runtime/_hdl_build/nx_wire_harness.nx

3088 B60 linesdepth 4pulls 5 transitivereach 6 importersview sourcekind librarytopic wire
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_gamehud.nx nx_frame_sanity.nx nx_wire_harness.nx nx_drift_engine.nx nx_frontier_engine.nx nx_wire_diablo2_gate.nx nx_wire_endlesssky_gate.nx nx_wire_harness_gate.nx nx_wire_nethack_gate.nx

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

11const K_MAGIC_1469598103: i64 = 1469598103

functions

15func wh_fbck(fb: *i64, count: i64) -> i64
23func wh_chain(chain: i64, fk: i64) -> i64
called by 3: de_runmainmain
32func wh_menu_wrapsel(hud: *i64, n: i64) -> i64
38func wh_menu_pick2(hud: *i64, ida: i64, va: i64, idb: i64, vb: i64) -> i64
46func wh_ink(fb: *i64, count: i64, bg: i64) -> i64
called by 1: main
55func wh_experiential(fb: *i64, w: i64, h: i64, out: *i64) -> i64