Skip to content

September 2026

Latest

Choose a tag to compare

@zm69 zm69 released this 08 Oct 17:22
· 6 commits to main since this release

September 2026

  • new • Human readable/editable .kdl Database snapshots.
  • new • Growing in place — grow (also overbase_grow) raises an Overbase's entity capacity, or a table's, pair table's or relations table's row capacity, after init. Ids, components, pairs and views are kept, and views re-point their cached pointers. Meant for load boundaries such as hot reload, never the frame loop.
  • new • Flags_Table — up to 128 flags per table (an entity can be in any number of Flags_Tables). flag/unflag/has_flag (also tag/untag/has_tag with a bit), with integer bits or enums. Views filter on flags with Flags terms and a Flags_Op (And, Or, Xor, Nor, Nand, Exact); &status alone means "has any flag". Works with Command_Buffer (cmd_flag), Observers (Flags_Changed), snapshots, Sync and pause_packing/resume_packing/pack. Bits is now public.
  • new • View_Term — view_init's includes/excludes/any_of now take []View_Term, so a Pair_Table can be passed directly: includes = {&positions, &likes} means "has Position and at least one pair". Every existing call compiles unchanged; &likes.presence still works.
  • new • Any_Table — a type-erased handle to any table variant, for data-driven loaders, inspectors and serializers. It is the public spelling of the pointer view_init/group_init already take, so any_table(&positions) and view_init(includes = {&positions}) use the same currency. Comes with any_tables/any_table_by_id enumeration and entity_tables ("what is this entity made of?").
  • new • clone_component — copies a component between two entities within one table (copy_component copies one entity's component between two tables). Prototype/prefab instantiation wants this direction. any_table_clone_component is the type-erased form, so a baker can clone every component of a template entity without knowing any of their types.
  • new • Inherited lookup — get_component_up/has_tag_up walk an entity's parent chain and return the first owner plus the entity the value came from; find_up is the general primitive. The relations-owning Database is passed explicitly, so the table and the hierarchy can live in different Databases sharing one Overbase.
  • new • Upward hierarchy traversal — ancestors_of, root_of, depth_of, is_ancestor_of, is_descendant_of. Complements the existing downward children_of/walk_subtree/walk_hierarchy; unlike is_child_of, is_ancestor_of is not limited to a direct link.
  • Pair_Row_Id is renamed to pair_row_id, matching every other id type, and is now distinct i32 (was distinct int), halving a Pair_Table's fixed per-entity index cost. Matters when you keep one Pair_Table per relation flavor; see Pairs.
  • new • Pair row cursor — pair_first_row_of/pair_next_row_of and pair_first_row_to/pair_next_row_to walk every pair row in either direction, with pair_row_holder/pair_row_target/pair_row_data reading the row. Previously only a holder's head row could be reached (pair_first_data).
  • new • pair_holders_of — the reverse of pair_targets_of ("who points at this?"), O(#pairs for that target), on its own scratch buffer so the two sides do not clobber each other. Plus pair_get_data, pair_count_of, pair_count_to and pair_remove_all_to.