From ecd30c9605ce3e8cb388414863399e248449954c Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Wed, 14 Jun 2023 21:33:45 +0200 Subject: [PATCH] remove unused basexscale, baseyscale from r_plane.c --- src/r_plane.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/r_plane.c b/src/r_plane.c index 73fec13b..34d9df5f 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -80,7 +80,6 @@ static fixed_t planeheight; // killough 2/8/98: make variables static -static fixed_t basexscale, baseyscale; static fixed_t cachedheight[MAX_SCREENHEIGHT]; static fixed_t cacheddistance[MAX_SCREENHEIGHT]; static fixed_t cachedxstep[MAX_SCREENHEIGHT]; @@ -108,8 +107,6 @@ void R_InitPlanes (void) // Uses global vars: // planeheight // ds_source -// basexscale -// baseyscale // viewx // viewy // xoffs @@ -186,7 +183,6 @@ static void R_MapPlane(int y, int x1, int x2) void R_ClearPlanes(void) { int i; - angle_t angle; // opening / clipping determination for (i=0 ; i>ANGLETOFINESHIFT; - // scale will be unit scale at SCREENWIDTH/2 distance - basexscale = FixedDiv (finecosine[angle],centerxfrac); - baseyscale = -FixedDiv (finesine[angle],centerxfrac); } // New function, by Lee Killough