mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Rework functionality of leveled nodes (#9852)
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This commit is contained in:
parent
7d3972a504
commit
c94d37827d
8 changed files with 79 additions and 34 deletions
|
@ -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 ---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue