nx_desktop_craft.nx
buildroot/runtime/nx_desktop_craft.nx
about
nx_desktop_craft.nx -- NISHI CRAFT native: the generated 3D voxel world in a real desktop window,
ZERO wasm / ZERO JS / ZERO third-party anything -- the same nx_wasm_craft organ the browser page
runs, on the shared nx_desktop_game surface. This is the no-webassembly path the operator asked
for; the Nishi Browser launches exactly this binary when a page carries the nishi-game marker.
`nx_desktop_craft selftest` proves the whole pipeline against the real X server with no human.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_wasm_craft.nxnx_desktop_game.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
| 10 | const K_MAGIC_1000000: i64 = 1000000 |
| 11 | const K_MAGIC_4096: i64 = 4096 |
| 12 | const K_MAGIC_20260728: i64 = 20260728 |
| 13 | const K_MAGIC_40000: i64 = 40000 |
| 14 | const K_MAGIC_3000: i64 = 3000 |
functions
| 16 | func dcw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 17 | func dcn(v: i64) -> i64 |
| 31 | func dc_save_world(base: i64) -> i64 |
| 44 | func dc_load_world(base: i64) -> i64 |
| 54 | func dc_ms(ts: *i64) -> i64 |
| 59 | func main(argc: i64, argv: *i64) -> i64 |