X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.h;h=80a76c172314d53f6be15920da03a5c2b0e5bbfe;hb=1c7d28a2fc93699ab955ea66203d0c36bba9d977;hp=8feac33951dcf4d0d113f2e7281f442eed627133;hpb=5c8be15962d6b02d7fdfdb16acc10f55267bea0f;p=lugaru.git diff --git a/Source/Sounds.h b/Source/Sounds.h index 8feac33..80a76c1 100644 --- a/Source/Sounds.h +++ b/Source/Sounds.h @@ -26,12 +26,20 @@ enum sound_types { #define DECLARE_SOUND(id, filename) id, #include "Sounds.def" #undef DECLARE_SOUND -sounds_count + sounds_count }; extern struct OPENAL_SAMPLE *samp[sounds_count]; +extern int channels[]; extern void loadAllSounds(); +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_np(int soundid, float vol = 256.f); +extern void resume_stream(int soundid); +extern void pause_sound(int soundid); + extern int footstepsound, footstepsound2, footstepsound3, footstepsound4; #endif