mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[client] Clean up some hud redundancies
hud_view is set up by sbar, and the other views are no longer used.
This commit is contained in:
parent
7b2f14114d
commit
42963f97c0
2 changed files with 0 additions and 14 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue