code wiki / _hdl_build / nx_game_gallery.nx

nx_game_gallery.nx

buildroot/runtime/_hdl_build/nx_game_gallery.nx

9549 B106 linesdepth 2pulls 3 transitivereach 0 importersview sourcekind tooltopic game
docsdependenciesstructsconstsfunctions

about

nx_game_gallery.nx -- SOVEREIGN games-gallery emitter for nishifamily.com/games. Builds a SELF-CONTAINED HTML page that SHOWS the ecosystem's game-genre coverage: each genre's REAL rendered frame inlined as a base64 data: URI (no separate image files to serve), plus links to the wasm-playable titles. This is the operator's "let me SEE the growth" page. Data-driven: add a frame()/play() call as genres land. Reuses our own nx_base64 encoder + nx_png frames. Sovereign (no JS logic, the images are static data URIs). usage: nx_game_gallery [out.html] (default knowledge/games.html) license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_base64.nx nx_game_gallery.nx

imports: nx_syscalls.nxnx_base64.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_openat_wr w sys_write sys_exit play_frame sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close b64_encode b64_enc_char w ↻ sys_write ↻ play w ↻ frame sys_mmap ↻ sys_read_file ↻ b64_encode ↻ w ↻ sys_write ↻ sys_close ↻ sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

10func w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd, s, n); return 0 }
called by 4: frameplayplay_framemain calls 1: sys_write
13func frame(fd: i64, title: *u8, png_path: *u8, blurb: *u8) -> i64
27func play(fd: i64, title: *u8, href: *u8, blurb: *u8, accent: *u8) -> i64
called by 1: main calls 1: w
36func play_frame(fd: i64, title: *u8, href: *u8, png_path: *u8, blurb: *u8) -> i64
51func main(argc: i64, argv: *i64) -> i64