mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
kill the allowskybox varible. it wasn't ever checked anyway
This commit is contained in:
parent
e75a2b96e9
commit
a735b92bab
7 changed files with 1 additions and 25 deletions
|
@ -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");
|
||||
|
|
|
@ -43,9 +43,6 @@
|
|||
#include "server.h"
|
||||
#include "view.h"
|
||||
|
||||
qboolean allowskybox; // whether or not to allow skyboxes --KB
|
||||
|
||||
|
||||
void
|
||||
R_CheckVariables (void)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
//=============================================================================
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -43,9 +43,6 @@
|
|||
#include "render.h"
|
||||
#include "sbar.h"
|
||||
|
||||
qboolean allowskybox; // whether or not to allow skyboxes --KB
|
||||
|
||||
|
||||
void
|
||||
R_CheckVariables (void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue