mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-03 04:28:12 +00:00
config settings, for top-level toggles or simple numeric parameters; use to mask off animations, background blurs, and so on; use to control tab width
This commit is contained in:
@@ -248,21 +248,6 @@ df_expand_tree_table_init(Arena *arena, DF_ExpandTreeTable *table, U64 slot_coun
|
||||
table->slots = push_array(arena, DF_ExpandSlot, table->slots_count);
|
||||
}
|
||||
|
||||
internal void
|
||||
df_expand_tree_table_animate(DF_ExpandTreeTable *table, F32 dt)
|
||||
{
|
||||
F32 rate = 1 - pow_f32(2, (-50.f * dt));
|
||||
for(U64 slot_idx = 0; slot_idx < table->slots_count; slot_idx += 1)
|
||||
{
|
||||
for(DF_ExpandNode *node = table->slots[slot_idx].first;
|
||||
node != 0;
|
||||
node = node->hash_next)
|
||||
{
|
||||
node->expanded_t += (((F32)!!node->expanded) - node->expanded_t) * rate;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal DF_ExpandNode *
|
||||
df_expand_node_from_key(DF_ExpandTreeTable *table, DF_ExpandKey key)
|
||||
{
|
||||
|
||||
@@ -1363,7 +1363,6 @@ internal B32 df_expand_key_match(DF_ExpandKey a, DF_ExpandKey b);
|
||||
|
||||
//- rjf: table
|
||||
internal void df_expand_tree_table_init(Arena *arena, DF_ExpandTreeTable *table, U64 slot_count);
|
||||
internal void df_expand_tree_table_animate(DF_ExpandTreeTable *table, F32 dt);
|
||||
internal DF_ExpandNode *df_expand_node_from_key(DF_ExpandTreeTable *table, DF_ExpandKey key);
|
||||
internal B32 df_expand_key_is_set(DF_ExpandTreeTable *table, DF_ExpandKey key);
|
||||
internal void df_expand_set_expansion(Arena *arena, DF_ExpandTreeTable *table, DF_ExpandKey parent_key, DF_ExpandKey key, B32 expanded);
|
||||
|
||||
Reference in New Issue
Block a user