removed useless comments from cvar cleanup

This commit is contained in:
Joseph Carter 2000-04-01 00:53:34 +00:00
parent 18e1ccb53f
commit 622ba0f4ef
2 changed files with 5 additions and 31 deletions

View file

@ -100,20 +100,6 @@ void Sbar_MiniDeathmatchOverlay (void);
static qboolean largegame = false; static qboolean largegame = false;
#endif #endif
/*
Sbar_Items
Return a target-independant items list
int
Sbar_Items ( void )
{
#ifdef QUAKEWORLD
return cl.stats[STAT_ITEMS];
#else
return cl.items;
#endif // QUAKEWORLD
}
*/
/* /*
=============== ===============
Sbar_ShowScores Sbar_ShowScores
@ -1210,9 +1196,11 @@ void Sbar_Draw (void)
char st[512]; char st[512];
#endif #endif
headsup = !(cl_sbar->value || scr_viewsize->value<100); headsup = !(cl_sbar->value || rogue || hipnotic
if ((sb_updates >= vid.numpages) && !headsup) || scr_viewsize->value<100);
return;
// if ((sb_updates >= vid.numpages) && !headsup)
// return;
if (scr_con_current == vid.height) if (scr_con_current == vid.height)
return; // console is full screen return; // console is full screen
@ -1220,15 +1208,6 @@ void Sbar_Draw (void)
if (!headsup && sb_lines && vid.width > 320) if (!headsup && sb_lines && vid.width > 320)
Draw_TileClear (0, vid.height - sb_lines, vid.width, sb_lines); Draw_TileClear (0, vid.height - sb_lines, vid.width, sb_lines);
#ifdef UQUAKE
if (sb_lines > 24)
{
Sbar_DrawInventory ();
if (cl.maxclients != 1)
Sbar_DrawFrags ();
}
#endif // !QUAKEWORLD
scr_copyeverything = 1; scr_copyeverything = 1;
sb_updates++; sb_updates++;

View file

@ -47,15 +47,10 @@ solid_edge items only clip against bsp models.
*/ */
//cvar_t sv_friction = {"sv_friction","4",CVAR_USERINFO|CVAR_SERVERINFO};
cvar_t *sv_friction; cvar_t *sv_friction;
//cvar_t sv_stopspeed = {"sv_stopspeed","100"};
cvar_t *sv_stopspeed; cvar_t *sv_stopspeed;
//cvar_t sv_gravity = {"sv_gravity","800",CVAR_USERINFO|CVAR_SERVERINFO};
cvar_t *sv_gravity; cvar_t *sv_gravity;
//cvar_t sv_maxvelocity = {"sv_maxvelocity","2000"};
cvar_t *sv_maxvelocity; cvar_t *sv_maxvelocity;
//cvar_t sv_nostep = {"sv_nostep","0"};
cvar_t *sv_nostep; cvar_t *sv_nostep;
#ifdef QUAKE2 #ifdef QUAKE2