@ -28,10 +28,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# include "snd_codec.h"
# include "snd_codec.h"
# include "bgmusic.h"
# include "bgmusic.h"
# ifndef USE_FMOD
static void S_Play ( void ) ;
static void S_Play ( void ) ;
static void S_PlayVol ( void ) ;
static void S_PlayVol ( void ) ;
# ifndef USE_FMOD
static void S_SoundList ( void ) ;
static void S_SoundList ( void ) ;
static void S_Update_ ( void ) ;
static void S_Update_ ( void ) ;
void S_StopAllSounds ( qboolean clear ) ;
void S_StopAllSounds ( qboolean clear ) ;
@ -197,9 +198,9 @@ void S_Init (void)
Con_Printf ( " \n Sound Initialization \n " ) ;
Con_Printf ( " \n Sound Initialization \n " ) ;
# ifndef USE_FMOD
Cmd_AddCommand ( " play " , S_Play ) ;
Cmd_AddCommand ( " play " , S_Play ) ;
Cmd_AddCommand ( " playvol " , S_PlayVol ) ;
Cmd_AddCommand ( " playvol " , S_PlayVol ) ;
# ifndef USE_FMOD
Cmd_AddCommand ( " stopsound " , S_StopAllSoundsC ) ;
Cmd_AddCommand ( " stopsound " , S_StopAllSoundsC ) ;
Cmd_AddCommand ( " soundlist " , S_SoundList ) ;
Cmd_AddCommand ( " soundlist " , S_SoundList ) ;
Cmd_AddCommand ( " soundinfo " , S_SoundInfo_f ) ;
Cmd_AddCommand ( " soundinfo " , S_SoundInfo_f ) ;
@ -977,6 +978,8 @@ void S_UnblockSound (void)
}
}
}
}
# endif / / USE_FMOD
/*
/*
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
@ -1029,6 +1032,8 @@ static void S_PlayVol (void)
}
}
}
}
# ifndef USE_FMOD
static void S_SoundList ( void )
static void S_SoundList ( void )
{
{
int i ;
int i ;