frame allocs (25.2): a fact record past the 64 made at the start is @alloc_ok, in its own function, in npc, character, physics, vehicles and wildlife

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 15:58:10 +03:00
parent c8c230449e
commit 082fd26bf1
10 changed files with 40 additions and 15 deletions

View file

@ -18,9 +18,7 @@ function ve_fact_record(vehicles_st: mut VehiclesState) -> VehicleFact {
vehicles_st.ve_fnext += 1
return f
}
let f = new VehicleFact
push(vehicles_st.ve_fpool, f)
return f
return ve_fact_more(vehicles_st)
}
# how many fact records have ever been made: the peak held at once, not the facts pushed
export function vehicle_fact_records(vehicles_st: VehiclesState) -> int { return len(vehicles_st.ve_fpool) }