summaryrefslogtreecommitdiff
path: root/src/heretic/r_main.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-17 19:56:12 +0000
committerSimon Howard2008-09-17 19:56:12 +0000
commit8cdc173252c479b8a7448da9ccd48f32eeb0c427 (patch)
tree98bd5d61d9c802f34c7444b6bf8cf7ad035d1395 /src/heretic/r_main.c
parent3dc8f945820e08c698d4aed66f4f7bf4a9eb9401 (diff)
downloadchocolate-doom-8cdc173252c479b8a7448da9ccd48f32eeb0c427.tar.gz
chocolate-doom-8cdc173252c479b8a7448da9ccd48f32eeb0c427.tar.bz2
chocolate-doom-8cdc173252c479b8a7448da9ccd48f32eeb0c427.zip
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
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;