]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
add g/s pitch and make_screenshot in lua api
authorcorarona <email@example.com>
Thu, 5 Nov 2020 11:28:22 +0000 (12:28 +0100)
committercorarona <email@example.com>
Thu, 5 Nov 2020 11:28:22 +0000 (12:28 +0100)
doc/client_lua_api.txt

index c332ca4c3432fc5a7ae98fa437d8cc685a95a908..2802ff6c1be85b49fc7192c45809961dca449933 100644 (file)
@@ -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)`