code wiki / _hdl_build / nx_voxel_spec_gate.nx
nx_voxel_spec_gate.nx
buildroot/runtime/_hdl_build/nx_voxel_spec_gate.nx
about
nx_voxel_spec_gate.nx -- proves the ENGINE EMIT TARGET: a game-SPEC (DATA) -> a generated 3D voxel world,
hands-off. Mirrors the dungeon path's "2 distinct specs -> 2 distinct playable games" but for 3D. Two specs
(different seed/water/height/camera) -> render_world -> two BMPs. GREEN iff BOTH render a real world AND the
two frames DIFFER (distinct data -> distinct world = real generation, not a baked scene). AUTHOR=ORGAN.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_voxel_world.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
| 9 | func make_spec(seed: i64, n: i64, water: i64, maxh: i64, latsp: i64, |
| 17 | func frame_hash(fb: *i64) -> i64 |
| 24 | func count_world(fb: *i64) -> i64 |
| 33 | func main() -> i64 |