frame allocs (25.2): physics, npc, vehicles and wildlife's bounded growth declared - id tables to their most, a walker slot, a guest's copies, a player's own vehicle, a table at a load
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
082fd26bf1
commit
34664e867f
7 changed files with 8 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ export function phys_walker_add(physics_st: mut PhysicsState, r: float, h: float
|
|||
return i
|
||||
}
|
||||
}
|
||||
@alloc_ok("a slot for the most walkers at once; a removed one's slot is reused")
|
||||
push(physics_st.ph_walkers, k)
|
||||
return len(physics_st.ph_walkers) - 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue