From 8cdc173252c479b8a7448da9ccd48f32eeb0c427 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 17 Sep 2008 19:56:12 +0000 Subject: Remove definitions from heretic/doomdef.h that are in common code. Replace "shareware" variable with gamemode, as in doom code. Merge angle definitions into common code. Subversion-branch: /branches/raven-branch Subversion-revision: 1240 --- src/heretic/r_main.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/heretic/r_main.c') 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; -- cgit v1.2.3