gl_skymultipass -> gl_sky_multipass. Much nicer tab completion.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2002-10-10 19:49:36 +00:00
parent b025a4e9aa
commit ef47bf6e12
4 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ extern struct cvar_s *gl_reporttjunctions;
extern struct cvar_s *gl_sky_clip;
extern struct cvar_s *gl_sky_debug;
extern struct cvar_s *gl_sky_divide;
extern struct cvar_s *gl_skymultipass;
extern struct cvar_s *gl_sky_multipass;
extern struct cvar_s *gl_texsort;
extern struct cvar_s *gl_triplebuffer;

View file

@ -251,7 +251,7 @@ R_DrawSkyDome (void)
qfglEnable (GL_BLEND);
// clouds
if (gl_skymultipass->int_val) {
if (gl_sky_multipass->int_val) {
qfglBindTexture (GL_TEXTURE_2D, alphaskytexture);
domescale[0] = 512;
domescale[1] = 512;

View file

@ -764,7 +764,7 @@ draw_id_sky_polys (const msurface_t *sky_chain)
sc = sc->texturechain;
}
if (gl_skymultipass->int_val) {
if (gl_sky_multipass->int_val) {
sc = sky_chain;
speedscale = r_realtime / 8;

View file

@ -78,7 +78,7 @@ cvar_t *gl_playermip;
cvar_t *gl_reporttjunctions;
cvar_t *gl_sky_clip;
cvar_t *gl_sky_debug;
cvar_t *gl_skymultipass;
cvar_t *gl_sky_multipass;
cvar_t *gl_texsort;
cvar_t *gl_triplebuffer;
@ -272,7 +272,7 @@ R_Init_Cvars (void)
"debugging `info' for sky clipping");
gl_sky_divide = Cvar_Get ("gl_sky_divide", "1", CVAR_ARCHIVE, NULL,
"subdivide sky polys");
gl_skymultipass = Cvar_Get ("gl_skymultipass", "1", CVAR_ARCHIVE, NULL,
gl_sky_multipass = Cvar_Get ("gl_sky_multipass", "1", CVAR_ARCHIVE, NULL,
"controls whether the skydome is single or "
"double pass");
gl_texsort = Cvar_Get ("gl_texsort", "1", CVAR_NONE, NULL, "None");