summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.h
diff options
context:
space:
mode:
authorVincent Glize <vincentglize@hotmail.fr>2017-04-29 09:16:06 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-04-29 09:16:06 +0200
commit19960e26c672c6337f8c6ffbe27f2c6bca49750c (patch)
tree8913f6063be732c009eac19285bf1fcbbec95d08 /src/script/lua_api/l_client.h
parentb662a4577d692329b9ca83525e6039f2ddcd1ac1 (diff)
downloadminetest-19960e26c672c6337f8c6ffbe27f2c6bca49750c.tar.gz
minetest-19960e26c672c6337f8c6ffbe27f2c6bca49750c.tar.bz2
minetest-19960e26c672c6337f8c6ffbe27f2c6bca49750c.zip
[CSM] add screenshot api lua (#5674)
* [CSM] add screenshot api lua
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r--src/script/lua_api/l_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index 478b8ed6c..6afcd996b 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -72,6 +72,8 @@ private:
// get_protocol_version()
static int l_get_protocol_version(lua_State *L);
+ static int l_take_screenshot(lua_State *L);
+
public:
static void Initialize(lua_State *L, int top);
};