diff options
author | Rob Blanckaert <rob@withpiper.com> | 2017-09-01 23:12:15 -0700 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-09-14 04:06:05 +0100 |
commit | a9d43a04713dd0342d675f3bbb5cbacd863b4118 (patch) | |
tree | dde4ca88964a67c1a27211eca6f6fcf96fc246d0 /src/object_properties.h | |
parent | 604fe2083d70fea92b6c53c9a9d1c1ffdcb36610 (diff) | |
download | minetest-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/object_properties.h')
-rw-r--r-- | src/object_properties.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object_properties.h b/src/object_properties.h index bd519e9ee..8ab1fa7fd 100644 --- a/src/object_properties.h +++ b/src/object_properties.h @@ -50,6 +50,7 @@ struct ObjectProperties bool automatic_face_movement_dir = false; f32 automatic_face_movement_dir_offset = 0.0f; bool backface_culling = true; + s8 glow = 0; std::string nametag = ""; video::SColor nametag_color = video::SColor(255, 255, 255, 255); f32 automatic_face_movement_max_rotation_per_sec = -1.0f; |