Remove some long dead cvars

The declarations were still around, but the creation and code using them
was removed long ago.
This commit is contained in:
Bill Currie 2022-04-09 01:06:03 +09:00
parent d987cef32e
commit 55f7886607
11 changed files with 2 additions and 24 deletions

View file

@ -129,7 +129,6 @@ void IN_ClearStates (void);
extern struct cvar_s *in_grab;
extern struct cvar_s *in_amp;
extern struct cvar_s *in_pre_amp;
extern struct cvar_s *m_filter;
extern struct cvar_s *in_mouse_accel;
extern struct cvar_s *in_freelook;
extern struct cvar_s *lookstrafe;

View file

@ -63,8 +63,6 @@ typedef struct sspan_s {
int u, v, count;
} sspan_t;
extern struct cvar_s *d_subdiv16;
extern float scale_for_mip;
extern qboolean d_roverwrapped;

View file

@ -59,9 +59,7 @@ extern struct cvar_s *r_explosionclip;
extern struct cvar_s *r_farclip;
extern struct cvar_s *r_firecolor;
extern struct cvar_s *r_flatlightstyles;
extern struct cvar_s *r_fullbright;
extern struct cvar_s *r_graphheight;
extern struct cvar_s *r_lightmap;
extern struct cvar_s *r_lightmap_components;
extern struct cvar_s *r_maxedges;
extern struct cvar_s *r_maxsurfs;
@ -85,8 +83,6 @@ extern struct cvar_s *r_waterripple;
extern struct cvar_s *r_waterwarp;
extern struct cvar_s *r_zgraph;
extern struct cvar_s *scr_consize;
extern struct cvar_s *scr_conspeed;
extern struct cvar_s *scr_fov;
extern struct cvar_s *scr_fisheye;
extern struct cvar_s *scr_fviews;

View file

@ -71,7 +71,6 @@ extern struct cvar_s *r_timegraph;
extern struct cvar_s *r_graphheight;
extern struct cvar_s *r_clearcolor;
extern struct cvar_s *r_waterwarp;
extern struct cvar_s *r_fullbright;
extern struct cvar_s *r_drawentities;
extern struct cvar_s *r_aliasstats;
extern struct cvar_s *r_dspeeds;

View file

@ -229,12 +229,8 @@ struct channel_s {
//@}
};
extern struct cvar_s *snd_loadas8bit;
extern struct cvar_s *snd_volume;
extern struct cvar_s *snd_interp;
extern struct cvar_s *snd_stereo_phase_separation;
extern snd_render_data_t snd_render_data;
#define PAINTBUFFER_SIZE 512
extern portable_samplepair_t snd_paintbuffer[PAINTBUFFER_SIZE * 2];

View file

@ -345,6 +345,7 @@ s_init (void)
"fix permanently blocked sound");
// FIXME
//extern struct cvar_s *snd_loadas8bit;
// if (host_parms.memsize < 0x800000) {
// Cvar_Set (snd_loadas8bit, "1");
// Sys_Printf ("loading all sounds as 8bit\n");

View file

@ -113,7 +113,6 @@ int gl_tess;
int gl_max_lights;
cvar_t *gl_anisotropy;
cvar_t *gl_doublebright;
cvar_t *gl_fb_bmodels;
cvar_t *gl_finish;
cvar_t *gl_max_size;
@ -485,9 +484,6 @@ CheckCombineExtensions (void)
"doublebright enabled.\n");
} else {
gl_combine_capable = false;
Sys_MaskPrintf (SYS_vid, "GL_ARB_texture_env_combine not found. "
"gl_doublebright will have no effect with "
"gl_multitexture on.\n");
}
}

View file

@ -213,13 +213,9 @@ typedef struct client_state_s {
extern struct cvar_s *cl_name;
extern struct cvar_s *cl_color;
extern struct cvar_s *cl_autofire;
extern struct cvar_s *cl_shownet;
extern struct cvar_s *cl_nolerp;
extern struct cvar_s *cl_pitchdriftspeed;
extern struct cvar_s *cl_name;
extern struct cvar_s *cl_writecfg;

View file

@ -52,7 +52,6 @@ void CL_BeginServerConnect(void);
#define soundlist_name "soundlist %i %i"
extern struct cvar_s *cl_timeframes;
extern struct cvar_s *cl_predict_players;
extern struct cvar_s *cl_solid_players;
extern struct cvar_s *cl_autoexec;

View file

@ -265,8 +265,6 @@ extern struct cvar_s *cl_netgraph_box;
extern struct cvar_s *cl_draw_locs;
extern struct cvar_s *cl_shownet;
extern struct cvar_s *cl_pitchdriftspeed;
extern struct cvar_s *cl_name;
extern struct cvar_s *cl_model_crcs;

View file

@ -200,7 +200,7 @@ CL_Skin_Init (void)
"shirt pants) Note that if only shirt color is given, "
"pants will match");
noskins = Cvar_Get ("noskins", "0", CVAR_ARCHIVE, NULL, //XXX FIXME
noskins = Cvar_Get ("noskins", "0", CVAR_ARCHIVE, NULL,
"set to 1 to not download new skins");
skin = Cvar_Get ("skin", "", CVAR_ARCHIVE | CVAR_USERINFO, skin_f,
"Players skin");