diff options
author | sfan5 <sfan5@live.de> | 2020-04-10 22:53:08 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2020-04-11 13:12:51 +0200 |
commit | 5f3a17eb65c1ad9259f03bde346a8d69fe0c1069 (patch) | |
tree | 12b575647f8b76a88ff4dea6027621d5a32aeeb2 /src/script/lua_api/l_client.h | |
parent | 054c5dfaa35dd79560a465ccc0ef214cb5f34c88 (diff) | |
download | minetest-5f3a17eb65c1ad9259f03bde346a8d69fe0c1069.tar.gz minetest-5f3a17eb65c1ad9259f03bde346a8d69fe0c1069.tar.bz2 minetest-5f3a17eb65c1ad9259f03bde346a8d69fe0c1069.zip |
Implement minetest.sound_fade()
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r-- | src/script/lua_api/l_client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h index 6d1f70b1d..5dc3efdad 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -69,6 +69,7 @@ private: // get_node(pos) static int l_get_node_or_nil(lua_State *L); + // get_language() static int l_get_language(lua_State *L); // get_wielded_item() @@ -77,10 +78,15 @@ private: // get_meta(pos) static int l_get_meta(lua_State *L); + // sound_play(spec, parameters) static int l_sound_play(lua_State *L); + // sound_stop(handle) static int l_sound_stop(lua_State *L); + // sound_fade(handle, step, gain) + static int l_sound_fade(lua_State *L); + // get_server_info() static int l_get_server_info(lua_State *L); |