summaryrefslogtreecommitdiff
path: root/src/hexen/r_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/r_main.c')
-rw-r--r--src/hexen/r_main.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/hexen/r_main.c b/src/hexen/r_main.c
index d61b5114..270b7386 100644
--- a/src/hexen/r_main.c
+++ b/src/hexen/r_main.c
@@ -24,6 +24,7 @@
#include <math.h>
#include "h2def.h"
+#include "m_bbox.h"
#include "r_local.h"
int viewangleoffset;
@@ -66,14 +67,6 @@ int viewangletox[FINEANGLES / 2];
// that maps back to x ranges from clipangle to -clipangle
angle_t xtoviewangle[SCREENWIDTH + 1];
-// the finetangentgent[angle+FINEANGLES/4] table holds the fixed_t tangent
-// values for view angles, ranging from INT_MIN to 0 to INT_MAX.
-// fixed_t finetangent[FINEANGLES/2];
-
-// fixed_t finesine[5*FINEANGLES/4];
-fixed_t *finecosine = &finesine[FINEANGLES / 4];
-
-
lighttable_t *scalelight[LIGHTLEVELS][MAXLIGHTSCALE];
lighttable_t *scalelightfixed[MAXLIGHTSCALE];
lighttable_t *zlight[LIGHTLEVELS][MAXLIGHTZ];
@@ -220,8 +213,6 @@ int R_PointOnSegSide(fixed_t x, fixed_t y, seg_t * line)
#define DBITS (FRACBITS-SLOPEBITS)
-extern int tantoangle[SLOPERANGE + 1]; // get from tables.c
-
// int tantoangle[SLOPERANGE+1];
int SlopeDiv(unsigned num, unsigned den)