mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Leveled nodebox
This commit is contained in:
@@ -87,6 +87,10 @@ enum Rotation {
|
||||
|
||||
#define LIQUID_INFINITY_MASK 0x80 //0b10000000
|
||||
|
||||
// mask for param2, now as for liquid
|
||||
#define LEVELED_MASK 0x07
|
||||
#define LEVELED_MAX LEVELED_MASK
|
||||
|
||||
/*
|
||||
This is the stuff what the whole world consists of.
|
||||
*/
|
||||
@@ -206,6 +210,9 @@ struct MapNode
|
||||
*/
|
||||
std::vector<aabb3f> getSelectionBoxes(INodeDefManager *nodemgr) const;
|
||||
|
||||
/* Liquid helpers */
|
||||
u8 getLevel(INodeDefManager *nodemgr) const;
|
||||
|
||||
/*
|
||||
Serialization functions
|
||||
*/
|
||||
|
Reference in New Issue
Block a user