rd: eliminate old entity code pertaining to mirroring ctrl entities - we just use ctrl entities directly now, and rd entities are just used for frontend debugger state

This commit is contained in:
Ryan Fleury
2025-01-07 11:49:13 -08:00
parent 64aa06895e
commit ee9961cce4
4 changed files with 5 additions and 161 deletions
-17
View File
@@ -1689,23 +1689,6 @@ d_tick(Arena *arena, D_TargetArray *targets, D_BreakpointArray *breakpoints, D_P
log_user_error(str8_zero());
}
// rjf: kill all entities which are marked to die on stop
{
RD_Entity *request = rd_entity_from_id(event->msg_id);
if(rd_entity_is_nil(request))
{
for(RD_Entity *entity = rd_entity_root();
!rd_entity_is_nil(entity);
entity = rd_entity_rec_depth_first_pre(entity, rd_entity_root()).next)
{
if(entity->flags & RD_EntityFlag_DiesOnRunStop)
{
rd_entity_mark_for_deletion(entity);
}
}
}
}
// rjf: gather stop info
{
arena_clear(d_state->ctrl_stop_arena);