kill the allowskybox varible. it wasn't ever checked anyway

This commit is contained in:
Bill Currie 2001-05-18 18:04:55 +00:00
parent e75a2b96e9
commit a735b92bab
7 changed files with 1 additions and 25 deletions

View file

@ -55,7 +55,6 @@
varray_t2f_c4f_v3f_t varray[MAX_VARRAY_VERTS];
qboolean VID_Is8bit (void);
qboolean allowskybox; // allow skyboxes? --KB
void R_InitBubble (void);
extern cvar_t *gl_lerp_anim;
@ -147,9 +146,6 @@ R_LoadSky_f (void)
void
R_Init (void)
{
allowskybox = false; // server will decide if this is
// allowed --KB
Cmd_AddCommand ("timerefresh", R_TimeRefresh_f,
"Tests the current refresh rate for the current location");
Cmd_AddCommand ("envmap", R_Envmap_f, "No Description");

View file

@ -43,9 +43,6 @@
#include "server.h"
#include "view.h"
qboolean allowskybox; // whether or not to allow skyboxes --KB
void
R_CheckVariables (void)
{

View file

@ -327,8 +327,6 @@ extern dlight_t cl_dlights[MAX_DLIGHTS];
extern qboolean nomaster;
extern char *server_version; // version of server we connected to
extern qboolean allowskybox;
extern double realtime;
//=============================================================================

View file

@ -610,13 +610,7 @@ CL_FullServerinfo_f (void)
Con_Printf ("Invalid standards version: %s", p);
}
if ((p = Info_ValueForKey (cl.serverinfo, "skybox")) && *p) {
if (!strcaseequal (p, "none")) {
allowskybox = false;
} else {
allowskybox = true;
}
} else {
allowskybox = false;
//FIXME didn't actually do anything anyway
}
}

View file

@ -55,7 +55,6 @@
varray_t2f_c4f_v3f_t varray[MAX_VARRAY_VERTS];
qboolean VID_Is8bit (void);
qboolean allowskybox; // allow skyboxes? --KB
void R_InitBubble (void);
extern cvar_t *gl_lerp_anim;
@ -145,9 +144,6 @@ R_LoadSky_f (void)
void
R_Init (void)
{
allowskybox = false; // server will decide if this is
// allowed --KB
Cmd_AddCommand ("timerefresh", R_TimeRefresh_f,
"Tests the current refresh rate for the current location");
Cmd_AddCommand ("envmap", R_Envmap_f, "No Description");

View file

@ -150,8 +150,6 @@ R_Init (void)
{
int dummy;
allowskybox = false; // server decides this --KB
// get stack position so we can guess if we are going to overflow
r_stack_start = (byte *) & dummy;

View file

@ -43,9 +43,6 @@
#include "render.h"
#include "sbar.h"
qboolean allowskybox; // whether or not to allow skyboxes --KB
void
R_CheckVariables (void)
{