From 136009e7505acc321c2b7f710929cb7d9b88a5b2 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 8 Dec 2006 16:37:41 +0000 Subject: Make trig tables const. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 770 --- src/tables.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tables.c') 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, -- cgit v1.2.3