X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.h;h=7557993e83a16e2472f360fd71273ca6e535cba8;hb=8a32dc9e4e1011b10f009e999d7d008aa2711d8a;hp=0ef5f3e9ac4b0a601796bb89a0f815b00db07f1a;hpb=5509b55dbc13227bdc7b97f2934fa71dad02cc66;p=lugaru.git diff --git a/Source/Sounds.h b/Source/Sounds.h index 0ef5f3e..7557993 100644 --- a/Source/Sounds.h +++ b/Source/Sounds.h @@ -32,6 +32,8 @@ 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_np(int soundid, float vol = 256.f); extern void emit_stream_at(int soundid, const XYZ &pos = XYZ(), float vol = 256.f);