nx_dungeon_alpha_wasm.nx
buildroot/runtime/nx_dungeon_alpha_wasm.nx
about
nx_dungeon_alpha_wasm.nx -- Generates a dungeon crawler game with combat, movement, and rendering in WebAssembly.
dependencies 0 imports · 0 importers
imports: none
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 2 | const K_MAGIC_1024: i64 = 1024 |
| 3 | const K_MAGIC_1103515245: i64 = 1103515245 |
| 4 | const K_MAGIC_12345: i64 = 12345 |
| 5 | const K_MAGIC_32767: i64 = 32767 |
| 6 | const K_MAGIC_4096: i64 = 4096 |
| 7 | const K_MAGIC_65536: i64 = 65536 |
functions
| 40 | func g_rng() -> i64 |
| 48 | func g_cell_get(x: i64, y: i64) -> i64 |
| 57 | func g_cell_set(x: i64, y: i64, v: i64) -> i64 |
| 64 | func g_place(kind: i64, n: i64) -> i64 |
| 83 | func g_build_level() -> i64 |
| 125 | func g_dungenc_step(s: i64, e: i64) -> i64 |
| 136 | func gi_init(seed: i64) -> i64 |
| 150 | func gi_next() -> i64 |
| 160 | func g_try_move(dx: i64, dy: i64) -> i64 |
| 182 | func g_attack() -> i64 |
| 210 | func g_flee() -> i64 |
| 222 | func gi_input(key: i64) -> i64 |
| 249 | func g_fill_rect(x0: i64, y0: i64, ww: i64, hh: i64, col: i64) -> i64 |
| 265 | func g_render_world() -> i64 |
| 288 | func g_render_combat() -> i64 |
| 305 | func gi_render() -> i64 |
| 312 | func gi_get(field: i64) -> i64 called by 1: main |
| 317 | func gi_fb_offset() -> i64 { return K_MAGIC_65536 } |
| 318 | func gi_fb_w() -> i64 { return 320 } |
| 319 | func gi_fb_h() -> i64 { return 240 } |
| 322 | func main() -> i64 |