mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Implement minetest.sound_fade()
This commit is contained in:
parent
054c5dfaa3
commit
5f3a17eb65
4 changed files with 34 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue