X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.h;h=7557993e83a16e2472f360fd71273ca6e535cba8;hb=8a32dc9e4e1011b10f009e999d7d008aa2711d8a;hp=b1b35887df79bd4497c60d5698c2450c1a2613b3;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/Sounds.h b/Source/Sounds.h index b1b3588..7557993 100644 --- a/Source/Sounds.h +++ b/Source/Sounds.h @@ -1,5 +1,5 @@ /* -Copyright (C) 2010 - Lugaru authors +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -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);