X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.h;h=80a76c172314d53f6be15920da03a5c2b0e5bbfe;hb=5310d6ffd89fd8b981b273b332a232b70b4ce7ad;hp=eef2b5078f05352bc50705b25bbbc4c0a1fbc897;hpb=617a36f729718c59c2f886fd4a1d145388e7c8bc;p=lugaru.git diff --git a/Source/Sounds.h b/Source/Sounds.h index eef2b50..80a76c1 100644 --- a/Source/Sounds.h +++ b/Source/Sounds.h @@ -26,10 +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