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:
Orkun ÇAKILKAYA 2026-09-28 20:03:46 +03:00
parent 5be2422c84
commit d9612ba2a6
31 changed files with 215 additions and 25 deletions

View file

@ -19,7 +19,10 @@ export function minimap_config_pins(minimap_st: mut MinimapState, max: int, symb
}
export function minimap_pins_clear(minimap_st: mut MinimapState) -> void {
minimap_st.mm_pins = new []MinimapPin
if minimap_st.mm_pins == null {
@alloc_ok("once: the marks' list, cleared after")
minimap_st.mm_pins = new []MinimapPin
} else { List.clear(minimap_st.mm_pins) }
minimap_st.mm_open = -1
minimap_st.mm_followed = -1
minimap_st.mm_last = 0
@ -38,6 +41,7 @@ export function minimap_pin_full(minimap_st: MinimapState) -> bool { return mini
export function minimap_pin_add(minimap_st: mut MinimapState, x: float, z: float, icon: int, label: string) -> int {
if minimap_st.mm_pins == null { minimap_pins_clear(minimap_st) }
if minimap_pin_full(minimap_st) { return -1 }
@alloc_ok("a mark put down: kept, and the map holds at most its most")
let p = new MinimapPin
p.x = x
p.z = z
@ -53,6 +57,7 @@ export function minimap_pin_add(minimap_st: mut MinimapState, x: float, z: float
export function minimap_pin_put(minimap_st: mut MinimapState, x: float, z: float, icon: int, colour: int, day: int, label: string) -> int {
if minimap_st.mm_pins == null { minimap_pins_clear(minimap_st) }
if minimap_pin_full(minimap_st) { return -1 }
@alloc_ok("a mark put down: kept, and the map holds at most its most")
let p = new MinimapPin
p.x = x
p.z = z