diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-06 21:25:25 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-06 21:32:01 +0200 |
commit | ef7f53e43ce4306080efae3b86443a6016a3e66a (patch) | |
tree | 64dcb0229a5d0a5e75c77712743748d8a374e6a0 /src/sound.h | |
parent | 61f8436a6ea04fcdede91ca26ebec6d558ac5cd0 (diff) | |
download | manaplus-ef7f53e43ce4306080efae3b86443a6016a3e66a.tar.gz manaplus-ef7f53e43ce4306080efae3b86443a6016a3e66a.tar.bz2 manaplus-ef7f53e43ce4306080efae3b86443a6016a3e66a.tar.xz manaplus-ef7f53e43ce4306080efae3b86443a6016a3e66a.zip |
Set sound volume depends on distance to object.
Diffstat (limited to 'src/sound.h')
-rw-r--r-- | src/sound.h | 2 |
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. * |