summaryrefslogtreecommitdiff
path: root/src/tables.c
diff options
context:
space:
mode:
authorSimon Howard2006-12-08 16:37:41 +0000
committerSimon Howard2006-12-08 16:37:41 +0000
commit136009e7505acc321c2b7f710929cb7d9b88a5b2 (patch)
tree8c3f0f0e97a9b9e12ea77dcff61eefb874305758 /src/tables.c
parentc1cc26b1addb275e1ca546fa4400d2be28673266 (diff)
downloadchocolate-doom-136009e7505acc321c2b7f710929cb7d9b88a5b2.tar.gz
chocolate-doom-136009e7505acc321c2b7f710929cb7d9b88a5b2.tar.bz2
chocolate-doom-136009e7505acc321c2b7f710929cb7d9b88a5b2.zip
Make trig tables const.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 770
Diffstat (limited to 'src/tables.c')
-rw-r--r--src/tables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tables.c b/src/tables.c
index 7e2a2647..ffafeb7e 100644
--- a/src/tables.c
+++ b/src/tables.c
@@ -65,7 +65,7 @@ SlopeDiv
-int finetangent[4096] =
+const int finetangent[4096] =
{
-170910304,-56965752,-34178904,-24413316,-18988036,-15535599,-13145455,-11392683,
-10052327,-8994149,-8137527,-7429880,-6835455,-6329090,-5892567,-5512368,
@@ -582,7 +582,7 @@ int finetangent[4096] =
};
-int finesine[10240] =
+const int finesine[10240] =
{
25,75,125,175,226,276,326,376,
427,477,527,578,628,678,728,779,
@@ -1868,7 +1868,7 @@ int finesine[10240] =
-angle_t tantoangle[2049] =
+const angle_t tantoangle[2049] =
{
0,333772,667544,1001315,1335086,1668857,2002626,2336395,
2670163,3003929,3337694,3671457,4005219,4338979,4672736,5006492,