Remove unused code.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-08-26 19:47:35 +00:00
parent b64822e572
commit b1666defb9
3 changed files with 2 additions and 29 deletions

View file

@ -120,15 +120,6 @@ R_RecursiveLightUpdate (mnode_t *node)
c--, surf++) surf->cached_dlight = true;
}
// LordHavoc: function to force all lightmaps to be updated
void
R_ForceLightUpdate (void)
{
if (r_worldentity.model && r_worldentity.model->nodes
&& r_worldentity.model->nodes->contents >= 0)
R_RecursiveLightUpdate (r_worldentity.model->nodes);
}
/*
R_AddDynamicLights

View file

@ -780,9 +780,7 @@ SCR_TileClear (void)
}
}
extern void R_ForceLightUpdate (void);
int oldviewsize = 0;
int oldviewsize = 0;
/*
SCR_UpdateScreen

View file

@ -123,7 +123,6 @@ R_AddDynamicLights (void)
}
}
/*
R_BuildLightMap
@ -179,7 +178,6 @@ R_BuildLightMap (void)
}
}
/*
R_TextureAnimation
@ -213,7 +211,6 @@ R_TextureAnimation (texture_t *base)
return base;
}
void
R_DrawSurface (void)
{
@ -297,7 +294,7 @@ R_DrawSurface (void)
}
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack
# undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM
@ -344,7 +341,6 @@ R_DrawSurfaceBlock8_mip0 (void)
}
}
void
R_DrawSurfaceBlock8_mip1 (void)
{
@ -387,7 +383,6 @@ R_DrawSurfaceBlock8_mip1 (void)
}
}
void
R_DrawSurfaceBlock8_mip2 (void)
{
@ -430,7 +425,6 @@ R_DrawSurfaceBlock8_mip2 (void)
}
}
void
R_DrawSurfaceBlock8_mip3 (void)
{
@ -473,7 +467,6 @@ R_DrawSurfaceBlock8_mip3 (void)
}
}
/*
R_DrawSurfaceBlock16
@ -520,7 +513,6 @@ R_DrawSurfaceBlock16 (void)
#endif
void
R_GenTurbTile (byte *pbasetex, void *pdest)
{
@ -540,7 +532,6 @@ R_GenTurbTile (byte *pbasetex, void *pdest)
}
}
void
R_GenTurbTile16 (byte *pbasetex, void *pdest)
{
@ -560,7 +551,6 @@ R_GenTurbTile16 (byte *pbasetex, void *pdest)
}
}
void
R_GenTile (msurface_t *psurf, void *pdest)
{
@ -582,9 +572,3 @@ R_GenTile (msurface_t *psurf, void *pdest)
Sys_Error ("Unknown tile type");
}
}
void
R_ForceLightUpdate (void)
{
}