mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Move finecosine[] declaration to where it really belongs in the source code
This commit is contained in:
parent
420a27ce11
commit
a0df3cec7b
2 changed files with 2 additions and 11 deletions
|
@ -114,15 +114,6 @@ INT32 viewangletox[FINEANGLES/2];
|
|||
// from clipangle to -clipangle.
|
||||
angle_t xtoviewangle[MAXVIDWIDTH+1];
|
||||
|
||||
// UNUSED.
|
||||
// The finetangentgent[angle+FINEANGLES/4] table
|
||||
// holds the fixed_t tangent values for view angles,
|
||||
// ranging from INT32_MIN to 0 to INT32_MAX.
|
||||
|
||||
#if !(defined _NDS) || !(defined NONET)
|
||||
fixed_t *finecosine = &finesine[FINEANGLES/4];
|
||||
#endif
|
||||
|
||||
lighttable_t *scalelight[LIGHTLEVELS][MAXLIGHTSCALE];
|
||||
lighttable_t *scalelightfixed[MAXLIGHTSCALE];
|
||||
lighttable_t *zlight[LIGHTLEVELS][MAXLIGHTZ];
|
||||
|
|
|
@ -1960,10 +1960,10 @@ fixed_t finesine[10240] =
|
|||
65531, 65531, 65532, 65532, 65533, 65533, 65534, 65534,
|
||||
65534, 65535, 65535, 65535, 65535, 65535, 65535, 65535
|
||||
};
|
||||
|
||||
fixed_t *finecosine = &finesine[FINEANGLES/4];
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
angle_t tantoangle[2049] =
|
||||
{
|
||||
0, 333772, 667544, 1001315, 1335086, 1668857, 2002626, 2336395,
|
||||
|
|
Loading…
Reference in a new issue