code wiki / _hdl_build / nx_wasm_mineworld_mp_gate.nx
nx_wasm_mineworld_mp_gate.nx
buildroot/runtime/_hdl_build/nx_wasm_mineworld_mp_gate.nx
about
nx_wasm_mineworld_mp_gate.nx -- NATIVE gate for MineWorld MULTIPLAYER (GTA-online rung 1): peer avatars +
the FULL netstate/relay round-trip, composing the PROVEN pets stack (nx_pets_netstate frames + nx_room_relay
rr_* + nx_mp_relay roster serialization = exactly what nx_mp_serve runs live).
T1 AVATAR RENDER: a set peer changes the frame; peers_clear restores it byte-identical.
T2 RELAY ROUND-TRIP: A+B post packed frames into room 42; A's roster = exactly B's record; unpack == posted.
T3 INGEST->RENDER: the roster body fed through net_ingest_roster_at -> peer table == B -> avatar visible
(frame differs; PNG knowledge/nx_mineworld_mp.png for the eyeball).
T4 LIAR-KILL: corrupt magic -> frame REJECTED, 0 peers, frame back to baseline.
T5 NEGATIVE-COORD round-trip: an infinite-world west-of-origin position survives pack->relay->unpack exact.
license_tier: ORIGINAL expect_exit: 0
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_f32_hw.nxnx_png.nxnx_wasm_mineworld.nxnx_mp_relay.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 17 | func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 18 | func pn(v: i64) -> i64 |
| 30 | func fbsum(base: i64) -> i64 |
| 37 | func rend(base: i64, cgx: i64, cgz: i64) -> i64 |
| 50 | func main() -> i64 |