diff --git a/include/client/hud.h b/include/client/hud.h index 73584c7a9..95dd86a5d 100644 --- a/include/client/hud.h +++ b/include/client/hud.h @@ -66,20 +66,12 @@ extern int hud_pl; extern int hud_ping; extern int hud_time; -//extern struct view_s sbar_view; -//extern struct view_s sbar_inventory_view; -//extern struct view_s sbar_frags_view; - extern struct view_s hud_view; -extern struct view_s hud_inventory_view; -extern struct view_s hud_armament_view; -extern struct view_s hud_frags_view; extern struct view_s hud_overlay_view; extern struct view_s hud_stuff_view; extern struct view_s hud_time_view; extern struct view_s hud_fps_view; -extern struct view_s hud_main_view; void HUD_Init (void); void HUD_Init_Cvars (void); diff --git a/libs/client/hud.c b/libs/client/hud.c index 0598a6fa7..01eb03597 100644 --- a/libs/client/hud.c +++ b/libs/client/hud.c @@ -170,9 +170,6 @@ view_t sbar_inventory_view; view_t sbar_frags_view; view_t hud_view; -view_t hud_inventory_view; -view_t hud_armament_view; -view_t hud_frags_view; view_t hud_overlay_view; view_t hud_stuff_view; @@ -212,7 +209,6 @@ hud_debug_f (void *data, const cvar_t *cvar) hud_remove_outlines (hud_view); } } -view_t hud_main_view; static void hud_sbar_f (void *data, const cvar_t *cvar) @@ -267,8 +263,6 @@ HUD_Init (void) hud_registry = ECS_NewRegistry (); ECS_RegisterComponents (hud_registry, hud_components, hud_comp_count); hud_registry->href_comp = hud_href; - - hud_view = View_New (hud_registry, nullview); } void