diff options
Diffstat (limited to 'src/tables.h')
-rw-r--r-- | src/tables.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tables.h b/src/tables.h index 54004d79..baf785ca 100644 --- a/src/tables.h +++ b/src/tables.h @@ -53,14 +53,14 @@ #define ANGLETOFINESHIFT 19 // Effective size is 10240. -extern fixed_t finesine[5*FINEANGLES/4]; +extern const fixed_t finesine[5*FINEANGLES/4]; // Re-use data, is just PI/2 pahse shift. -extern fixed_t* finecosine; +extern const fixed_t *finecosine; // Effective size is 4096. -extern fixed_t finetangent[FINEANGLES/2]; +extern const fixed_t finetangent[FINEANGLES/2]; // Binary Angle Measument, BAM. #define ANG45 0x20000000 @@ -79,7 +79,7 @@ typedef unsigned angle_t; // Effective size is 2049; // The +1 size is to handle the case when x==y // without additional checking. -extern angle_t tantoangle[SLOPERANGE+1]; +extern const angle_t tantoangle[SLOPERANGE+1]; // Utility function, @@ -91,3 +91,4 @@ SlopeDiv #endif + |