summaryrefslogtreecommitdiff
path: root/src/scriptapi_object.h
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-03-17 12:16:57 +0100
committerkwolekr <kwolekr@minetest.net>2013-03-17 11:39:35 -0400
commit7f51b2da28e004b82fc6835e5257e619da4666b2 (patch)
tree929ea44441822f0883fe9f5bd7521a465d128b7b /src/scriptapi_object.h
parentc00c8832c6c8cf9a0089a486d026d829e82741a9 (diff)
downloadminetest-7f51b2da28e004b82fc6835e5257e619da4666b2.tar.gz
minetest-7f51b2da28e004b82fc6835e5257e619da4666b2.tar.bz2
minetest-7f51b2da28e004b82fc6835e5257e619da4666b2.zip
lua methods set_look_pitch and set_look_yaw
Diffstat (limited to 'src/scriptapi_object.h')
-rw-r--r--src/scriptapi_object.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/scriptapi_object.h b/src/scriptapi_object.h
index ba1e7db39..a37abbb78 100644
--- a/src/scriptapi_object.h
+++ b/src/scriptapi_object.h
@@ -1,5 +1,5 @@
/*
-Minetest-c55
+Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
@@ -169,6 +169,12 @@ private:
// get_look_yaw(self)
static int l_get_look_yaw(lua_State *L);
+ // set_look_pitch(self, radians)
+ static int l_set_look_pitch(lua_State *L);
+
+ // set_look_yaw(self, radians)
+ static int l_set_look_yaw(lua_State *L);
+
// set_inventory_formspec(self, formspec)
static int l_set_inventory_formspec(lua_State *L);