Repository navigation
September 2026
- new • Human readable/editable .kdl Database snapshots.
- new • Growing in place —
grow(alsooverbase_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(alsotag/untag/has_tagwith a bit), with integer bits or enums. Views filter on flags withFlagsterms and aFlags_Op(And,Or,Xor,Nor,Nand,Exact);&statusalone means "has any flag". Works with Command_Buffer (cmd_flag), Observers (Flags_Changed), snapshots, Sync andpause_packing/resume_packing/pack.Bitsis now public. - new •
View_Term—view_init'sincludes/excludes/any_ofnow take[]View_Term, so aPair_Tablecan be passed directly:includes = {&positions, &likes}means "has Position and at least one pair". Every existing call compiles unchanged;&likes.presencestill 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_initalready take, soany_table(&positions)andview_init(includes = {&positions})use the same currency. Comes withany_tables/any_table_by_idenumeration andentity_tables("what is this entity made of?"). - new •
clone_component— copies a component between two entities within one table (copy_componentcopies one entity's component between two tables). Prototype/prefab instantiation wants this direction.any_table_clone_componentis 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_upwalk an entity's parent chain and return the first owner plus the entity the value came from;find_upis the general primitive. The relations-owningDatabaseis passed explicitly, so the table and the hierarchy can live in different Databases sharing oneOverbase. - new • Upward hierarchy traversal —
ancestors_of,root_of,depth_of,is_ancestor_of,is_descendant_of. Complements the existing downwardchildren_of/walk_subtree/walk_hierarchy; unlikeis_child_of,is_ancestor_ofis not limited to a direct link. Pair_Row_Idis renamed topair_row_id, matching every other id type, and is nowdistinct i32(wasdistinct int), halving aPair_Table's fixed per-entity index cost. Matters when you keep onePair_Tableper relation flavor; see Pairs.- new • Pair row cursor —
pair_first_row_of/pair_next_row_ofandpair_first_row_to/pair_next_row_towalk every pair row in either direction, withpair_row_holder/pair_row_target/pair_row_datareading the row. Previously only a holder's head row could be reached (pair_first_data). - new •
pair_holders_of— the reverse ofpair_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. Pluspair_get_data,pair_count_of,pair_count_toandpair_remove_all_to.