diff options
author | Wuzzy <wuzzy2@mail.ru> | 2020-05-19 21:08:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 21:08:37 +0200 |
commit | c94d37827dd3a8be9dcc59bb693032ba7ea07922 (patch) | |
tree | ada7fd843d405f8ec6f1c43b749f553f4a215214 /src/nodedef.h | |
parent | 7d3972a5049324f776ab008894c34569641f0073 (diff) | |
download | hax-minetest-server-c94d37827dd3a8be9dcc59bb693032ba7ea07922.tar.gz hax-minetest-server-c94d37827dd3a8be9dcc59bb693032ba7ea07922.zip |
Rework functionality of leveled nodes (#9852)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Diffstat (limited to 'src/nodedef.h')
-rw-r--r-- | src/nodedef.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index 0fce6eab1..497e7ee0e 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -326,8 +326,10 @@ struct ContentFeatures std::vector<content_t> connects_to_ids; // Post effect color, drawn when the camera is inside the node. video::SColor post_effect_color; - // Flowing liquid or snow, value = default level + // Flowing liquid or leveled nodebox, value = default level u8 leveled; + // Maximum value for leveled nodes + u8 leveled_max; // --- LIGHTING-RELATED --- |