diff --git a/src/user/user_core.h b/src/user/user_core.h index df5a7e53..62f1a5c7 100644 --- a/src/user/user_core.h +++ b/src/user/user_core.h @@ -167,24 +167,24 @@ Struct(SharedUserState) Client *user_blended_client; /* Contains single snapshot from result of blending local sim snapshots */ Snapshot *ss_blended; /* Points to blended snapshot contained in blended client */ - /* Usage stats */ + //- Usage stats i64 last_second_reset_ns; SecondsStat net_bytes_read; SecondsStat net_bytes_sent; - /* Gpu resources */ + //- Gpu resources GPU_RenderSig *render_sig; BindState bind_states[BindKind_Count]; - /* Debug camera */ + //- Debug camera EntityId debug_following; b32 debug_camera; b32 debug_camera_panning; Vec2 debug_camera_pan_start; b32 debug_draw; - /* Debug console */ + //- Debug console P_Mutex console_logs_mutex; Arena *console_logs_arena; ConsoleLog *first_console_log; @@ -193,11 +193,11 @@ Struct(SharedUserState) f32 console_logs_height; b32 debug_console; - /* Window -> user */ + //- Window -> user P_Mutex sys_window_events_mutex; Arena *sys_window_events_arena; - /* User -> local sim */ + //- User -> sim P_Mutex user_sim_cmd_mutex; ControlData user_sim_cmd_control; EntityId user_hovered_ent; @@ -207,14 +207,14 @@ Struct(SharedUserState) Atomic32 user_paused; Atomic32 user_paused_steps; - /* Local sim -> user */ + //- Sim -> user P_Mutex local_to_user_client_mutex; ClientStore *local_to_user_client_store; Client *local_to_user_client; i64 local_to_user_client_publish_dt_ns; i64 local_to_user_client_publish_time_ns; - /* Rolling window of local sim -> user publish time deltas */ + //- Local sim -> user rolling window of publish time deltas i64 last_local_to_user_snapshot_published_at_ns; i64 average_local_to_user_snapshot_publish_dt_ns; @@ -228,7 +228,7 @@ Struct(SharedUserState) i64 real_dt_ns; i64 real_time_ns; - /* Per-frame */ + //- Per frame Vec2 screen_size; Vec2 screen_cursor;