summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.h
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-04-06 07:14:31 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-04-06 08:14:31 +0200
commit4ee6be856d435dff010244c910d5dafe2bfbeb1e (patch)
tree43557d528d75584851e199342827c320a57bee46 /src/script/lua_api/l_client.h
parent6da828c471768f2a9efadce7dd51c6cdc5cde6cc (diff)
downloadminetest-4ee6be856d435dff010244c910d5dafe2bfbeb1e.tar.gz
minetest-4ee6be856d435dff010244c910d5dafe2bfbeb1e.tar.bz2
minetest-4ee6be856d435dff010244c910d5dafe2bfbeb1e.zip
[CSM] Add support for positional audio. (#5516)
Fixes parts of #5389.
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r--src/script/lua_api/l_client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index 94b154bb4..4e7f63d6a 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -65,6 +65,10 @@ private:
// get_meta(pos)
static int l_get_meta(lua_State *L);
+ static int l_sound_play(lua_State *L);
+
+ static int l_sound_stop(lua_State *L);
+
public:
static void Initialize(lua_State *L, int top);
};