]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Sounds.h
Cleaned up handling of envsounds array through a function
[lugaru.git] / Source / Sounds.h
index 0ef5f3e9ac4b0a601796bb89a0f815b00db07f1a..7557993e83a16e2472f360fd71273ca6e535cba8 100644 (file)
@@ -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);