From 54eadca987f07550997b558e24b1c761c75f444b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 23 Jul 2005 17:21:35 +0000 Subject: Remove step table (unused, adds dependency on pow function) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 12 --- src/i_sound.c | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/i_sound.c b/src/i_sound.c index 4bf121e5..b0feb982 100644 --- a/src/i_sound.c +++ b/src/i_sound.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_sound.c 8 2005-07-23 16:44:57Z fraggle $ +// $Id: i_sound.c 12 2005-07-23 17:21:35Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.3 2005/07/23 17:21:35 fraggle +// Remove step table (unused, adds dependency on pow function) +// // Revision 1.2 2005/07/23 16:44:55 fraggle // Update copyright to GNU GPL // @@ -35,7 +38,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_sound.c 8 2005-07-23 16:44:57Z fraggle $"; +rcsid[] = "$Id: i_sound.c 12 2005-07-23 17:21:35Z fraggle $"; #include #include @@ -153,9 +156,6 @@ int channelhandles[NUM_CHANNELS]; // Used to catch duplicates (like chainsaw). int channelids[NUM_CHANNELS]; -// Pitch to stepping lookup, unused. -int steptable[256]; - // Volume lookups. int vol_lookup[128*256]; @@ -414,20 +414,12 @@ void I_SetChannels() int i; int j; - int* steptablemid = steptable + 128; - // Okay, reset internal mixing channels to zero. /*for (i=0; i