From 6efa8a7582e49ab841e516ccc6cfc880de9833ee Mon Sep 17 00:00:00 2001 From: corarona Date: Thu, 5 Nov 2020 12:28:22 +0100 Subject: [PATCH] add g/s pitch and make_screenshot in lua api --- doc/client_lua_api.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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)`