code wiki / _hdl_build / nx_game_racing_gate.nx
nx_game_racing_gate.nx
buildroot/runtime/_hdl_build/nx_game_racing_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
| 15 | 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 |
| 18 | func r_lanex(l: i64) -> i64 { return 24 + l*24 } // 3 lanes: x = 24, 48, 72 called by 1: main |
| 19 | func r_reset(olane: *i64, oy: *i64, no: i64) -> i64 { var i: i64=0; while i<no { olane[i]=i%3; oy[i]=0-((i+1)*36); i=i+1 } return 0 } called by 1: r_dodge |
| 20 | func r_near(oy: *i64, olane: *i64, no: i64, py: i64, lane: i64, band: i64) -> i64 { // an active opp in `lane` within +/-band of py? |
| 26 | func r_dodge(oy: *i64, olane: *i64, no: i64, py: i64, cur: i64) -> i64 |
| 33 | func r_render(fb: *i64, w: i64, h: i64, py: i64, plane: i64, olane: *i64, oy: *i64, no: i64, scroll: i64) -> i64 |
| 45 | func main() -> i64 |