mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-25 12:21:29 +00:00
soft: remove unused R_PolysetUpdateTables
This commit is contained in:
parent
ec36e98712
commit
e4849dc9d4
4 changed files with 2 additions and 33 deletions
|
@ -115,6 +115,8 @@ Goals:
|
|||
* [x] suport Daikatana/SiN .pak/.sin format from pakextract,
|
||||
* [x] Support flow/scale flags for Q64 maps,
|
||||
* [x] Add debug progress loading code for maps,
|
||||
* [ ] MDR model format in Star Trek: Voyager – Elite Force,
|
||||
* [ ] RGB particles support instead palette based one,
|
||||
* [ ] Broken maps groups from base2 to next,
|
||||
* [ ] Single player support,
|
||||
* [ ] Support effects and additional flags for ReRelease when possible.
|
||||
|
|
|
@ -313,7 +313,6 @@ extern qboolean r_dowarp;
|
|||
extern affinetridesc_t r_affinetridesc;
|
||||
|
||||
void D_WarpScreen(void);
|
||||
void R_PolysetUpdateTables(void);
|
||||
void RE_SetSky(const char *name, float rotate, int autorotate, const vec3_t axis);
|
||||
|
||||
//=======================================================================//
|
||||
|
|
|
@ -595,8 +595,6 @@ R_AliasSetupSkin(const entity_t *currententity, const model_t *currentmodel)
|
|||
r_affinetridesc.skinwidth = pskindesc->width;
|
||||
r_affinetridesc.skinheight = pskindesc->height;
|
||||
|
||||
R_PolysetUpdateTables (); // FIXME: precalc edge lookups
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -79,11 +79,6 @@ static light3_t d_lightbasestep, d_lightextrastep;
|
|||
static int d_sfracbasestep, d_tfracbasestep;
|
||||
static zvalue_t d_ziextrastep, d_zibasestep;
|
||||
|
||||
/* TODO: remove hard limit */
|
||||
static byte *skintable[MAX_LBM_HEIGHT];
|
||||
int skinwidth;
|
||||
static pixel_t *skinstart;
|
||||
|
||||
void (*d_pdrawspans)(const entity_t *currententity, spanpackage_t *pspanpackage);
|
||||
|
||||
static void R_PolysetSetEdgeTable(void);
|
||||
|
@ -134,31 +129,6 @@ static const byte irtable[256] = {
|
|||
|
||||
// ======================
|
||||
|
||||
/*
|
||||
================
|
||||
R_PolysetUpdateTables
|
||||
================
|
||||
*/
|
||||
void
|
||||
R_PolysetUpdateTables (void)
|
||||
{
|
||||
byte *s;
|
||||
|
||||
if (r_affinetridesc.skinwidth != skinwidth ||
|
||||
r_affinetridesc.pskin != skinstart)
|
||||
{
|
||||
int i;
|
||||
|
||||
skinwidth = r_affinetridesc.skinwidth;
|
||||
skinstart = r_affinetridesc.pskin;
|
||||
s = skinstart;
|
||||
for (i = 0; i < MAX_LBM_HEIGHT; i++, s+=skinwidth)
|
||||
{
|
||||
skintable[i] = s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
R_DrawTriangle
|
||||
|
|
Loading…
Reference in a new issue