diff options
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] = { |