code wiki / _hdl_build / nx_game_td_gate.nx
nx_game_td_gate.nx
buildroot/runtime/_hdl_build/nx_game_td_gate.nx
dependencies 5 imports · 0 importers
imports: nx_gate_gn.nxnx_gate_base.nxnx_game_raster.nxnx_png.nxnx_syscalls.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
| 16 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 20 | func td_tick(cx: *i64, chp: *i64, cstatus: *i64, nc: i64, tx: *i64, nt: i64, rng: i64, dmg: i64, w: i64, base: *i64) -> i64 |
| 40 | func td_reset(cx: *i64, chp: *i64, cstatus: *i64, nc: i64, base: *i64) -> i64 |
| 45 | func td_resolved(cstatus: *i64, nc: i64) -> i64 |
| 49 | func td_count(cstatus: *i64, nc: i64, want: i64) -> i64 { var c: i64=0; var i: i64=0; while i<nc { if cstatus[i]==want { c=c+1 } i=i+1 } return c } |
| 51 | func td_render(fb: *i64, w: i64, h: i64, py: i64, cx: *i64, cstatus: *i64, nc: i64, tx: *i64, ty: i64, nt: i64, base: *i64) -> i64 |
| 62 | func main() -> i64 |