Get rid of ID_OPENAL

This is always required for clients.
This commit is contained in:
dhewg 2012-01-14 13:59:53 +01:00
parent dca4721c8f
commit b5c66c088c
2 changed files with 2 additions and 10 deletions

View file

@ -96,14 +96,6 @@ If you have questions concerning this license or the applicable additional terms
# endif
#endif
#ifndef ID_OPENAL
# if !defined( ID_DEDICATED )
# define ID_OPENAL 1
# else
# define ID_OPENAL 0
# endif
#endif
// async network
/*

View file

@ -69,7 +69,7 @@ idCVar idSoundSystemLocal::s_reverbFeedback( "s_reverbFeedback", "0.333", CVAR_S
idCVar idSoundSystemLocal::s_enviroSuitVolumeScale( "s_enviroSuitVolumeScale", "0.9", CVAR_SOUND | CVAR_FLOAT, "" );
idCVar idSoundSystemLocal::s_skipHelltimeFX( "s_skipHelltimeFX", "0", CVAR_SOUND | CVAR_BOOL, "" );
#if ID_OPENAL
#if !defined(ID_DEDICATED)
idCVar idSoundSystemLocal::s_libOpenAL( "s_libOpenAL", "openal32.dll", CVAR_SOUND | CVAR_ARCHIVE, "Deprecated, kept for compability" );
idCVar idSoundSystemLocal::s_useOpenAL( "s_useOpenAL", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ARCHIVE, "Deprecated, kept for compability" );
idCVar idSoundSystemLocal::s_useEAXReverb( "s_useEAXReverb", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ARCHIVE, "use EFX reverb" );
@ -1339,7 +1339,7 @@ idSoundSystemLocal::IsEFXAvailable
===============
*/
int idSoundSystemLocal::IsEFXAvailable( void ) {
#if !ID_OPENAL
#if defined(ID_DEDICATED)
return -1;
#else
return EFXAvailable;