aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2018-01-19 16:18:16 +0000
committerparamat <mat.gregory@virginmedia.com>2018-01-23 05:27:38 +0000
commit0425c6b8c888d0ccdf09a371a7415c8b3cb055a3 (patch)
tree3b029922d99b8ac485207e586780b4a30354f0b1 /src/script/lua_api
parentd6050bee5187d0d456e9d95406fc74ba163ea3aa (diff)
downloadminetest-0425c6b8c888d0ccdf09a371a7415c8b3cb055a3.tar.gz
minetest-0425c6b8c888d0ccdf09a371a7415c8b3cb055a3.tar.bz2
minetest-0425c6b8c888d0ccdf09a371a7415c8b3cb055a3.zip
CSM: Remove screenshot API
Reverted from commit 19960e26c672c6337f8c6ffbe27f2c6bca49750c (* [CSM] add screenshot api lua)
Diffstat (limited to 'src/script/lua_api')
-rw-r--r--src/script/lua_api/l_client.cpp8
-rw-r--r--src/script/lua_api/l_client.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/src/script/lua_api/l_client.cpp b/src/script/lua_api/l_client.cpp
index 4e08c15d4..230cbe7a2 100644
--- a/src/script/lua_api/l_client.cpp
+++ b/src/script/lua_api/l_client.cpp
@@ -330,13 +330,6 @@ int ModApiClient::l_get_node_def(lua_State *L)
return 1;
}
-int ModApiClient::l_take_screenshot(lua_State *L)
-{
- Client *client = getClient(L);
- client->makeScreenshot();
- return 0;
-}
-
int ModApiClient::l_get_privilege_list(lua_State *L)
{
const Client *client = getClient(L);
@@ -377,7 +370,6 @@ void ModApiClient::Initialize(lua_State *L, int top)
API_FCT(get_server_info);
API_FCT(get_item_def);
API_FCT(get_node_def);
- API_FCT(take_screenshot);
API_FCT(get_privilege_list);
API_FCT(get_builtin_path);
API_FCT(get_language);
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index b0ece7205..0d3e6b106 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -87,9 +87,6 @@ private:
// get_node_def(nodename)
static int l_get_node_def(lua_State *L);
- // take_screenshot()
- static int l_take_screenshot(lua_State *L);
-
// get_privilege_list()
static int l_get_privilege_list(lua_State *L);