mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
[qw] Clean up netgraph somewhat
The renderer's LineGraph now takes a height parameter, and netgraph now uses cl_* cvars instead of r_* (which never really made sense), including it's own height cvar (the render graphs still use r_graphheight).
This commit is contained in:
parent
c4ee7ff68a
commit
91eeae5186
13 changed files with 161 additions and 59 deletions
|
@ -270,9 +270,11 @@ typedef struct client_state_s {
|
|||
/*
|
||||
cvars
|
||||
*/
|
||||
extern struct cvar_s *r_netgraph;
|
||||
extern struct cvar_s *r_netgraph_alpha;
|
||||
extern struct cvar_s *r_netgraph_box;
|
||||
extern struct cvar_s *cl_netgraph;
|
||||
extern struct cvar_s *cl_netgraph_height;
|
||||
extern struct cvar_s *cl_netgraph_alpha;
|
||||
extern struct cvar_s *cl_netgraph_box;
|
||||
|
||||
extern struct cvar_s *cl_upspeed;
|
||||
extern struct cvar_s *cl_forwardspeed;
|
||||
extern struct cvar_s *cl_backspeed;
|
||||
|
@ -331,8 +333,10 @@ extern struct cbuf_s *cl_stbuf;
|
|||
|
||||
void Cvar_Info (struct cvar_s *var);
|
||||
|
||||
struct view_s;
|
||||
extern struct view_s *cl_netgraph_view;
|
||||
void CL_NetGraph (struct view_s *view);
|
||||
void CL_NetGraph_Init_Cvars (void);
|
||||
|
||||
void CL_UpdateScreen (double realtime);
|
||||
|
||||
void CL_SetState (cactive_t state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue