summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-06 21:25:25 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-06 21:32:01 +0200
commitef7f53e43ce4306080efae3b86443a6016a3e66a (patch)
tree64dcb0229a5d0a5e75c77712743748d8a374e6a0 /src/sound.h
parent61f8436a6ea04fcdede91ca26ebec6d558ac5cd0 (diff)
downloadplus-ef7f53e43ce4306080efae3b86443a6016a3e66a.tar.gz
plus-ef7f53e43ce4306080efae3b86443a6016a3e66a.tar.bz2
plus-ef7f53e43ce4306080efae3b86443a6016a3e66a.tar.xz
plus-ef7f53e43ce4306080efae3b86443a6016a3e66a.zip
Set sound volume depends on distance to object.
Diffstat (limited to 'src/sound.h')
-rw-r--r--src/sound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sound.h b/src/sound.h
index 100c228c1..92c0ab41a 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -93,6 +93,8 @@ class Sound : public ConfigListener
*/
void playSfx(const std::string &path);
+ void playSfx(const std::string &path, int x, int y);
+
/**
* Plays an item for gui.
*