aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-07-28 23:14:42 +0200
committerPilzAdam <pilzadam@minetest.net>2013-07-28 23:29:03 +0200
commit4fb4efd8ed54a81ea545e51265f2acdd01654f21 (patch)
tree4f47e2a94931500675ca11f6b008d4186f4c1b61 /doc
parent174285f29878c7171c84848ae9282a9efa546bd6 (diff)
downloadminetest-4fb4efd8ed54a81ea545e51265f2acdd01654f21.tar.gz
minetest-4fb4efd8ed54a81ea545e51265f2acdd01654f21.tar.bz2
minetest-4fb4efd8ed54a81ea545e51265f2acdd01654f21.zip
Play sounds/main_menu.ogg in menu
Diffstat (limited to 'doc')
-rw-r--r--doc/menu_lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 337091a93..164d7876a 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -82,6 +82,10 @@ engine.download_file(url,target)
^ returns true/false
engine.get_version()
^ returns current minetest version
+engine.sound_play(spec, looped) -> handle
+^ spec = SimpleSoundSpec (see lua-api.txt)
+^ looped = bool
+engine.sound_stop(handle)
GUI:
engine.update_formspec(formspec)