aboutsummaryrefslogtreecommitdiff
path: root/src/script/common/c_converter.h
diff options
context:
space:
mode:
authorRob Blanckaert <rob@withpiper.com>2017-09-01 23:12:15 -0700
committerparamat <mat.gregory@virginmedia.com>2017-09-14 04:06:05 +0100
commita9d43a04713dd0342d675f3bbb5cbacd863b4118 (patch)
treedde4ca88964a67c1a27211eca6f6fcf96fc246d0 /src/script/common/c_converter.h
parent604fe2083d70fea92b6c53c9a9d1c1ffdcb36610 (diff)
downloadminetest-a9d43a04713dd0342d675f3bbb5cbacd863b4118.tar.gz
minetest-a9d43a04713dd0342d675f3bbb5cbacd863b4118.tar.bz2
minetest-a9d43a04713dd0342d675f3bbb5cbacd863b4118.zip
Object properties: Add 'glow', disables light's effect if negative
The 'glow' value is added to the ambient light value. Negative 'glow' disables light's effect on object colour, for faking self-lighting, UI-style entities, or programmatic colouring in mods.
Diffstat (limited to 'src/script/common/c_converter.h')
-rw-r--r--src/script/common/c_converter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/common/c_converter.h b/src/script/common/c_converter.h
index f94996c88..18b8f6531 100644
--- a/src/script/common/c_converter.h
+++ b/src/script/common/c_converter.h
@@ -55,6 +55,8 @@ bool getintfield(lua_State *L, int table,
bool getintfield(lua_State *L, int table,
const char *fieldname, u8 &result);
bool getintfield(lua_State *L, int table,
+ const char *fieldname, s8 &result);
+bool getintfield(lua_State *L, int table,
const char *fieldname, u16 &result);
bool getintfield(lua_State *L, int table,
const char *fieldname, u32 &result);