From: corarona Date: Thu, 5 Nov 2020 11:28:22 +0000 (+0100) Subject: add g/s pitch and make_screenshot in lua api X-Git-Tag: 05-11-2020~1^2~1 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6efa8a7582e49ab841e516ccc6cfc880de9833ee;hp=60a9ff6fff844671164a2e710554a2c782cc6c5a;p=dragonfireclient.git add g/s pitch and make_screenshot in lua api --- 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)`