aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty/doom/tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/3rdparty/doom/tables.h')
-rw-r--r--demos/3rdparty/doom/tables.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/3rdparty/doom/tables.h b/demos/3rdparty/doom/tables.h
index 060fe5b3..370b418c 100644
--- a/demos/3rdparty/doom/tables.h
+++ b/demos/3rdparty/doom/tables.h
@@ -55,14 +55,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
@@ -81,7 +81,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,