summaryrefslogtreecommitdiff
path: root/src/heretic/r_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/r_main.c')
-rw-r--r--src/heretic/r_main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/heretic/r_main.c b/src/heretic/r_main.c
index 7628e595..7137615a 100644
--- a/src/heretic/r_main.c
+++ b/src/heretic/r_main.c
@@ -70,14 +70,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];
@@ -222,11 +214,6 @@ int R_PointOnSegSide(fixed_t x, fixed_t y, seg_t * line)
#define SLOPEBITS 11
#define DBITS (FRACBITS-SLOPEBITS)
-
-extern int tantoangle[SLOPERANGE + 1]; // get from tables.c
-
-// int tantoangle[SLOPERANGE+1];
-
int SlopeDiv(unsigned num, unsigned den)
{
unsigned ans;