#include "Math/XYZ.hpp"
-enum sound_types {
+enum sound_type
+{
#define DECLARE_SOUND(id, filename) id,
#include "Sounds.def"
#undef DECLARE_SOUND
sounds_count
};
-extern struct OPENAL_SAMPLE *samp[sounds_count];
+extern struct OPENAL_SAMPLE* samp[sounds_count];
extern int channels[];
extern void loadAllSounds();
extern void addEnvSound(XYZ coords, float vol = 16, float life = .4);
-extern void emit_sound_at(int soundid, const XYZ &pos = XYZ(), float vol = 256.f);
+extern void emit_sound_at(int soundid, const XYZ& pos = XYZ(), float vol = 256.f);
extern void emit_sound_np(int soundid, float vol = 256.f);
-extern void emit_stream_at(int soundid, const XYZ &pos = XYZ(), float vol = 256.f);
+extern void emit_stream_at(int soundid, const XYZ& pos = XYZ(), float vol = 256.f);
extern void emit_stream_np(int soundid, float vol = 256.f);
extern void resume_stream(int soundid);
extern void pause_sound(int soundid);