]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Sounds.h
Attempt at fixing the crash in DoAnimation
[lugaru.git] / Source / Sounds.h
index b1b35887df79bd4497c60d5698c2450c1a2613b3..7557993e83a16e2472f360fd71273ca6e535cba8 100644 (file)
@@ -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);