ludic.compass, inventory, shop, base, things: the compass's lists are state defaults and push through kept_push; the pack clears in place; setup, bind and load paths say so in @alloc_ok
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cd71da9330
commit
bdfe3f18fe
13 changed files with 26 additions and 12 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# ludic.base/ecs_table_reserve.ludic - room made at the start: a table sized for its busiest moment
|
||||
# never grows in play, and nothing that grows is ever given back. What does grow past it is here
|
||||
@alloc_ok("at a world's start: the rows it will need")
|
||||
export function tb_reserve<T>(tb: Table<T>, rows: int) -> void {
|
||||
let k = rows - tb.n
|
||||
if k <= 0 { return }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue