aboutsummaryrefslogtreecommitdiff
path: root/doc/client_lua_api.txt
diff options
context:
space:
mode:
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>2020-11-05 14:08:25 +0100
committerGitHub <noreply@github.com>2020-11-05 14:08:25 +0100
commit91ad0d049706ed2892ba728cb8cad48480908027 (patch)
tree29dc1b440ab3ce2746fcf9135c7e0969ae002449 /doc/client_lua_api.txt
parent6bda686c04e602c7e50d4838632d92c55b228c36 (diff)
parent1bab49049bfc4bf89b4ee69fe734e2a79de0eb9f (diff)
downloaddragonfireclient-91ad0d049706ed2892ba728cb8cad48480908027.tar.xz
Merge pull request #10 from corarona/master
lua api: set_pitch and make_screenshot
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r--doc/client_lua_api.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt
index c332ca4c3..2802ff6c1 100644
--- a/doc/client_lua_api.txt
+++ b/doc/client_lua_api.txt
@@ -1083,6 +1083,8 @@ Passed to `HTTPApiTable.fetch` callback. Returned by
* returns the exact position on the surface of a pointed node
* `minetest.global_exists(name)`
* Checks if a global variable has been set, without triggering a warning.
+* `minetest.make_screenshot()`
+ * Triggers the MT makeScreenshot functionality
### UI
* `minetest.ui.minimap`
@@ -1175,6 +1177,10 @@ Methods:
* returns the yaw (degrees)
* `set_yaw(yaw)`
* sets the yaw (degrees)
+* `get_pitch()`
+ * returns the pitch (degrees)
+* `set_pitch(pitch)`
+ * sets the pitch (degrees)
* `get_velocity()`
* returns player speed vector
* `set_velocity(vel)`