diff --git a/apps/plugins/doom/r_data.c b/apps/plugins/doom/r_data.c index 17800f231c..01393bf7fc 100644 --- a/apps/plugins/doom/r_data.c +++ b/apps/plugins/doom/r_data.c @@ -398,7 +398,7 @@ void R_InitTextures (void) const unsigned char *names; // cph - const char *name_p;// const*'s int *patchlookup; - int totalwidth; +// int totalwidth; int nummappatches; int offset; int maxoff, maxoff2; @@ -465,7 +465,7 @@ void R_InitTextures (void) textures = Z_Malloc(numtextures*sizeof*textures, PU_STATIC, 0); textureheight = Z_Malloc(numtextures*sizeof*textureheight, PU_STATIC, 0); - totalwidth = 0; +// totalwidth = 0; for (i=0 ; iwidthmask = j-1; textureheight[i] = texture->height<width; +// totalwidth += texture->width; } free(patchlookup); // killough diff --git a/apps/plugins/doom/r_draw.c b/apps/plugins/doom/r_draw.c index 8208972a66..4991a94b45 100644 --- a/apps/plugins/doom/r_draw.c +++ b/apps/plugins/doom/r_draw.c @@ -324,8 +324,8 @@ void R_DrawFuzzColumn(void) { int count; byte *dest; - fixed_t frac; - fixed_t fracstep; +// fixed_t frac; +// fixed_t fracstep; // Adjust borders. Low... if (!dc_yl) @@ -356,8 +356,8 @@ void R_DrawFuzzColumn(void) dest = topleft + dc_yl*SCREENWIDTH + dc_x; // Looks familiar. - fracstep = dc_iscale; - frac = dc_texturemid + (dc_yl-centery)*fracstep; +// fracstep = dc_iscale; +// frac = dc_texturemid + (dc_yl-centery)*fracstep; // Looks like an attempt at dithering, // using the colormap #6 (of 0-31, a bit brighter than average). @@ -383,7 +383,7 @@ void R_DrawFuzzColumn(void) dest += SCREENWIDTH; - frac += fracstep; +// frac += fracstep; } while (count--); }