ref: 3dc8f945820e08c698d4aed66f4f7bf4a9eb9401
parent: 3f667115be72b279ebe3c60ae8cb897d6a94c253
author: Simon Howard <fraggle@gmail.com>
date: Wed Sep 17 15:49:24 EDT 2008
Move finecosine variable into tables.c. Subversion-branch: /branches/raven-branch Subversion-revision: 1239
--- a/src/doom/r_main.c
+++ b/src/doom/r_main.c
@@ -105,17 +105,6 @@
// from clipangle to -clipangle.
angle_t xtoviewangle[SCREENWIDTH+1];
-
-// UNUSED.
-// 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];
-const fixed_t* finecosine = &finesine[FINEANGLES/4];
-
-
lighttable_t* scalelight[LIGHTLEVELS][MAXLIGHTSCALE];
lighttable_t* scalelightfixed[MAXLIGHTSCALE];
lighttable_t* zlight[LIGHTLEVELS][MAXLIGHTZ];
--- a/src/tables.c
+++ b/src/tables.c
@@ -1866,7 +1866,7 @@
65534,65535,65535,65535,65535,65535,65535,65535
};
-
+const fixed_t *finecosine = &finesine[FINEANGLES/4];
const angle_t tantoangle[2049] =
{