along with Lugaru. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "Audio/openal_wrapper.h"
-#include "Audio/Sounds.h"
-#include "Math/Quaternions.h"
-#include "Utils/Folders.h"
+#include "Audio/Sounds.hpp"
+
+#include "Audio/openal_wrapper.hpp"
+#include "Utils/Folders.hpp"
struct OPENAL_SAMPLE *samp[sounds_count];
void emit_sound_at(int soundid, const XYZ &pos, float vol)
{
PlaySoundEx (soundid, samp[soundid], NULL, true);
- OPENAL_3D_SetAttributes_ (channels[soundid], pos, NULL);
+ OPENAL_3D_SetAttributes_ (channels[soundid], pos);
OPENAL_SetVolume (channels[soundid], vol);
OPENAL_SetPaused (channels[soundid], false);
}
void emit_stream_at(int soundid, const XYZ &pos, float vol)
{
PlayStreamEx (soundid, samp[soundid], NULL, true);
- OPENAL_3D_SetAttributes_ (channels[soundid], pos, NULL);
+ OPENAL_3D_SetAttributes_ (channels[soundid], pos);
OPENAL_SetVolume (channels[soundid], vol);
OPENAL_SetPaused (channels[soundid], false);
}