From a9d43a04713dd0342d675f3bbb5cbacd863b4118 Mon Sep 17 00:00:00 2001 From: Rob Blanckaert Date: Fri, 1 Sep 2017 23:12:15 -0700 Subject: 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. --- src/script/common/c_converter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/common/c_converter.h') 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 @@ -54,6 +54,8 @@ bool getintfield(lua_State *L, int table, const char *fieldname, int &result); 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, -- cgit v1.2.3