diff options
author | Simon Howard | 2008-09-17 19:49:24 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-17 19:49:24 +0000 |
commit | 3dc8f945820e08c698d4aed66f4f7bf4a9eb9401 (patch) | |
tree | 382c33b3579b9903379efc0199de832e0b7839cb /src | |
parent | 3f667115be72b279ebe3c60ae8cb897d6a94c253 (diff) | |
download | chocolate-doom-3dc8f945820e08c698d4aed66f4f7bf4a9eb9401.tar.gz chocolate-doom-3dc8f945820e08c698d4aed66f4f7bf4a9eb9401.tar.bz2 chocolate-doom-3dc8f945820e08c698d4aed66f4f7bf4a9eb9401.zip |
Move finecosine variable into tables.c.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1239
Diffstat (limited to 'src')
-rw-r--r-- | src/doom/r_main.c | 11 | ||||
-rw-r--r-- | src/tables.c | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/doom/r_main.c b/src/doom/r_main.c index e6a08691..7ea2a329 100644 --- a/src/doom/r_main.c +++ b/src/doom/r_main.c @@ -105,17 +105,6 @@ int viewangletox[FINEANGLES/2]; // 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]; diff --git a/src/tables.c b/src/tables.c index ffafeb7e..9c014513 100644 --- a/src/tables.c +++ b/src/tables.c @@ -1866,7 +1866,7 @@ const int finesine[10240] = 65534,65535,65535,65535,65535,65535,65535,65535 }; - +const fixed_t *finecosine = &finesine[FINEANGLES/4]; const angle_t tantoangle[2049] = { |