Revert "another checkpoint in big df entity elimination pass"

This reverts commit f8fd32e328.
This commit is contained in:
Ryan Fleury
2024-09-07 14:48:34 -07:00
parent 6180da1b0f
commit cccbd265ff
16 changed files with 3091 additions and 3714 deletions
+2 -17
View File
@@ -764,7 +764,6 @@ struct D_CmdSpecInfoArray
////////////////////////////////
//~ rjf: Command Types
#if 0 // TODO(rjf): @msgs
typedef struct D_Cmd D_Cmd;
struct D_Cmd
{
@@ -787,7 +786,6 @@ struct D_CmdList
D_CmdNode *last;
U64 count;
};
#endif
////////////////////////////////
//~ rjf: Main State Caches
@@ -989,10 +987,9 @@ struct D_State
D_MsgList msgs;
// rjf: top-level command batch
#if 0 // TODO(rjf): @msgs
// TODO(rjf): @msgs
Arena *root_cmd_arena;
D_CmdList root_cmds;
#endif
// rjf: output log key
U128 output_log_key;
@@ -1069,7 +1066,6 @@ struct D_State
Arena *ctrl_stop_arena;
CTRL_Event ctrl_last_stop_event;
#if 0 // TODO(rjf): @msgs
// rjf: config reading state
Arena *cfg_path_arenas[D_CfgSrc_COUNT];
String8 cfg_paths[D_CfgSrc_COUNT];
@@ -1081,7 +1077,6 @@ struct D_State
B32 cfg_write_issued[D_CfgSrc_COUNT];
Arena *cfg_write_arenas[D_CfgSrc_COUNT];
String8List cfg_write_data[D_CfgSrc_COUNT];
#endif
// rjf: current path
Arena *current_path_arena;
@@ -1188,9 +1183,7 @@ internal D_CmdParams d_cmd_params_zero(void);
internal String8 d_cmd_params_apply_spec_query(Arena *arena, D_CmdParams *params, D_CmdSpec *spec, String8 query);
//- rjf: command lists
#if 0 // TODO(rjf): @msgs
internal void d_cmd_list_push(Arena *arena, D_CmdList *cmds, D_CmdParams *params, D_CmdSpec *spec);
#endif
//- rjf: string -> core layer command kind
internal D_CmdKind d_cmd_kind_from_string(String8 string);
@@ -1531,21 +1524,17 @@ internal D_RunKind d_ctrl_last_run_kind(void);
internal U64 d_ctrl_last_run_frame_idx(void);
internal B32 d_ctrl_targets_running(void);
#if 0 // TODO(rjf): @msgs
//- rjf: config paths
internal String8 d_cfg_path_from_src(D_CfgSrc src);
//- rjf: config state
internal D_CfgTable *d_cfg_table(void);
#endif
//- rjf: config serialization
#if 0 // TODO(rjf): @msgs
internal String8 d_cfg_escaped_from_raw_string(Arena *arena, String8 string);
internal String8 d_cfg_raw_from_escaped_string(Arena *arena, String8 string);
internal String8List d_cfg_strings_from_state(Arena *arena, String8 root_path, D_CfgSrc source);
internal void d_cfg_push_write_string(D_CfgSrc src, String8 string);
#endif
//- rjf: current path
internal String8 d_current_path(void);
@@ -1569,7 +1558,6 @@ internal E_String2NumMap *d_query_cached_locals_map_from_dbgi_key_voff(DI_Key *d
internal E_String2NumMap *d_query_cached_member_map_from_dbgi_key_voff(DI_Key *dbgi_key, U64 voff);
//- rjf: top-level command dispatch
#if 0 // TODO(rjf): @msgs
internal void d_push_cmd(D_CmdSpec *spec, D_CmdParams *params);
internal void d_error(String8 string);
internal void d_errorf(char *fmt, ...);
@@ -1581,7 +1569,6 @@ internal void d_errorf(char *fmt, ...);
.view = d_regs()->view, \
__VA_ARGS__ \
})
#endif
////////////////////////////////
//~ rjf: Message Functions
@@ -1599,9 +1586,7 @@ __VA_ARGS__\
//~ rjf: Main Layer Top-Level Calls
internal void d_init(CmdLine *cmdln, D_StateDeltaHistory *hist);
#if 0 // TODO(rjf): @msgs
internal D_CmdList d_gather_root_cmds(Arena *arena);
#endif
internal void d_tick(Arena *arena, DI_Scope *di_scope, F32 dt);
internal void d_tick(Arena *arena, DI_Scope *di_scope, D_CmdList *cmds, F32 dt);
#endif // DBG_ENGINE_CORE_H