diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-07-28 23:14:42 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-07-28 23:29:03 +0200 |
commit | 4fb4efd8ed54a81ea545e51265f2acdd01654f21 (patch) | |
tree | 4f47e2a94931500675ca11f6b008d4186f4c1b61 /doc | |
parent | 174285f29878c7171c84848ae9282a9efa546bd6 (diff) | |
download | minetest-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.txt | 4 |
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) |