]> git.lizzy.rs Git - minetest.git/blobdiff - doc/menu_lua_api.txt
Ore: Add Blob ore type
[minetest.git] / doc / menu_lua_api.txt
index 13ef45de0373fe03ba510c8bd256fc44adaddfa7..b67d6ca00e6c967b703ab0f0261cc950012cb637 100644 (file)
@@ -1,4 +1,4 @@
-Minetest Lua Mainmenu API Reference 0.4.10
+Minetest Lua Mainmenu API Reference 0.4.11
 ========================================
 
 Introduction
@@ -88,6 +88,9 @@ core.sound_play(spec, looped) -> handle
 ^ spec = SimpleSoundSpec (see lua-api.txt)
 ^ looped = bool
 core.sound_stop(handle)
+core.get_video_drivers()
+^ get list of video drivers supported by engine (not all modes are guaranteed to work)
+^ returns list of available video drivers e.g. { "OpenGL", "Software" }
 
 Formspec:
 core.update_formspec(formspec)