ludic.base: a queue's fact records come round again (q_rec / q_ring_add), used by effects, clock, wallet, weather, tracks, needs, fire, settings, update, steps, crafting, shop, gear, hints, session and photo instead of a new record per fact; the minimap's marks cleared and rubbed out in place, its scale steps without a list; the clock's dice seeded again, not made again; once-per-join, per-save and pool-miss paths declared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5be2422c84
commit
d9612ba2a6
31 changed files with 215 additions and 25 deletions
|
|
@ -48,7 +48,12 @@ export function fire_facts(fire_st: FireState) -> Queue<FireFact> {
|
|||
}
|
||||
|
||||
function fr_fact(fire_st: FireState, what: int) -> void {
|
||||
let f = new FireFact
|
||||
var f = q_rec(fire_facts(fire_st))
|
||||
if f == null {
|
||||
@alloc_ok("past the ring: more of these in a frame than its records, then kept in it")
|
||||
f = new FireFact
|
||||
q_ring_add(fire_facts(fire_st), f)
|
||||
}
|
||||
f.what = what
|
||||
f.fuel = fire_st.fr_fuel
|
||||
q_push(fire_facts(fire_st), f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue