more cleanups

This commit is contained in:
Bill Currie 2002-01-12 05:32:21 +00:00
parent 6637f3fba5
commit 9d59d953bd
14 changed files with 7 additions and 32 deletions

View file

@ -43,8 +43,6 @@ static const char rcsid[] =
#include "QF/console.h"
#include "QF/cvar.h"
//FIXME eww
/*
Con_BasicCompleteCommandLine

View file

@ -267,7 +267,6 @@ PF_cvar_set (progs_t *pr)
if (!var)
var = Cvar_FindAlias (var_name);
if (!var) {
// FIXME: make Con_DPrint?
Sys_Printf ("PF_cvar_set: variable %s not found\n", var_name);
return;
}

View file

@ -334,7 +334,6 @@ loop:
return -1; // didn't hit anything
// calculate mid point
// FIXME: optimize for axial
plane = node->plane;
front = DotProduct (start, plane->normal) - plane->dist;
back = DotProduct (end, plane->normal) - plane->dist;

View file

@ -155,7 +155,6 @@ IE_CallHandler (ie_handler handler, ie_event_t *event, float value)
static int depth = 0;
depth++;
if (depth > IE_MAX_DEPTH)
// FIXME: we may want to just issue a warning here
Sys_Error ("IE_CallHandler: max recursion depth hit");
else
handler (event, value);

View file

@ -196,7 +196,6 @@ VID_SetPalette (unsigned char *palette)
d_8to24table[255] = 0; // 255 is transparent
// JACK: 3D distance calcs - k is last closest, l is the distance.
// FIXME: Precalculate this and cache to disk.
if (palflag)
return;
palflag = true;

View file

@ -657,7 +657,7 @@ VID_SetCaption (const char *text)
qboolean
VID_SetGamma (double gamma)
{
return false; //FIXME
return false;
}
#if defined(i386) && defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2))

View file

@ -187,7 +187,7 @@ CL_ClearState (void)
R_ClearEfrags ();
R_ClearDlights ();
R_ClearParticles (); // FIXME: for R_ClearFires
R_ClearParticles ();
for (i = 0; i < MAX_EDICTS; i++) {
cl_baselines[i].ent = &cl_entities[i];

View file

@ -685,7 +685,6 @@ V_CalcRefdef (void)
steptime = cl.time - cl.oldtime;
if (steptime < 0)
//FIXME I_Error ("steptime < 0");
steptime = 0;
oldz += steptime * 80;

View file

@ -291,7 +291,6 @@ Host_WriteConfiguration (void)
SV_ClientPrintf
Sends text across to be displayed
FIXME: make this just a stuffed echo
*/
void
SV_ClientPrintf (const char *fmt, ...)

View file

@ -1,4 +1,3 @@
/*
net_dgrm.c

View file

@ -156,10 +156,7 @@ SetMinMaxSize (progs_t *pr, edict_t *e, const vec3_t min, const vec3_t max,
if (min[i] > max[i])
PR_RunError (pr, "backwards mins/maxs");
rotate = false; // FIXME: implement rotation properly
//
//
// again
rotate = false; // FIXME: implement rotation properly again
if (!rotate) {
VectorCopy (min, rmin);

View file

@ -94,17 +94,11 @@ void Sbar_MiniDeathmatchOverlay (void);
void Sbar_DeathmatchOverlay (void);
/*
Sbar_ColorForMap
I'm not exactly sure why this exists, but I'm not going to change it yet.
*/
int
Sbar_ColorForMap (int m)
{
return m + 8; // FIXME: Might want this to be
// return (bound (0, m, 13) * 16) +
// 8;
// return (bound (0, m, 13) * 16) + 8;
}

View file

@ -409,7 +409,7 @@ CL_ClearState (void)
R_ClearEfrags ();
R_ClearDlights ();
R_ClearParticles (); // FIXME: for R_ClearFires in GL
R_ClearParticles ();
// wipe the entire cl structure
Info_Destroy (cl.serverinfo);
@ -1750,12 +1750,6 @@ Host_Init (void)
CL_UpdateScreen (realtime);
}
/*
Host_Shutdown
FIXME: this is a callback from Sys_Quit and Sys_Error. It would be better
to run quit through here before the final handoff to the sys code.
*/
void
Host_Shutdown (void)
{

View file

@ -1110,9 +1110,8 @@ SV_InitOperatorCommands (void)
Cmd_AddCommand ("fraglogfile", SV_Fraglogfile_f, "Enables logging of kills "
"to frag_##.log");
Cmd_AddCommand ("snap", SV_Snap_f, "FIXME: Take a screenshot of userid? No "
"Description");
Cmd_AddCommand ("snapall", SV_SnapAll_f, "FIXME: No Description");
Cmd_AddCommand ("snap", SV_Snap_f, "Take a screenshot of userid");
Cmd_AddCommand ("snapall", SV_SnapAll_f, "Take a screenshot of all users");
Cmd_AddCommand ("kick", SV_Kick_f, "Remove a user from the server (kick "
"userid)");
Cmd_AddCommand ("status", SV_Status_f, "Report information on the current "