1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Leveled nodebox

This commit is contained in:
proller 2013-07-13 21:48:14 +04:00
parent a70993d6d2
commit 9733dd5b5e
6 changed files with 46 additions and 4 deletions

View file

@ -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
*/