summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2013-10-18 11:53:19 +0300
committersapier <Sapier at GMX dot net>2014-02-01 18:38:21 +0100
commit6a3fa9df12d5982f84e83e1c61ff757edc1043f4 (patch)
tree074930c80821663e70101f8fafc0a4c46c9d9a3b /src/script/lua_api/l_object.h
parent86a6cca3cf641fc2c88184ad26d2be3d7e7460f7 (diff)
downloadminetest-6a3fa9df12d5982f84e83e1c61ff757edc1043f4.tar.gz
minetest-6a3fa9df12d5982f84e83e1c61ff757edc1043f4.tar.bz2
minetest-6a3fa9df12d5982f84e83e1c61ff757edc1043f4.zip
Add player:override_day_night_ratio() for arbitrarily controlling sunlight brightness
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r--src/script/lua_api/l_object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h
index b41938ca7..2c53d1a69 100644
--- a/src/script/lua_api/l_object.h
+++ b/src/script/lua_api/l_object.h
@@ -228,6 +228,9 @@ private:
// set_sky(self, type, list)
static int l_set_sky(lua_State *L);
+ // override_day_night_ratio(self, type, list)
+ static int l_override_day_night_ratio(lua_State *L);
+
public:
ObjectRef(ServerActiveObject *object);