]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mapnode.h
Only install locale files if using gettext
[dragonfireclient.git] / src / mapnode.h
index 36d48fb9e4e6536c57bcbb67b17edf0843024ae1..33128049a2599692bf35212d671991e7b6401e2d 100644 (file)
@@ -150,8 +150,10 @@ struct ContentFeatures
        NodeMetadata *initial_metadata;
        
        // If the content is liquid, this is the flowing version of the liquid.
-       // If content is liquid, this is the same content.
+       // If content is flowing liquid, this is the same content.
        u8 liquid_alternative_flowing;
+       // If the content is liquid, this is the source version of the liquid.
+       u8 liquid_alternative_source;
        
        // Amount of light the node emits
        u8 light_source;
@@ -402,10 +404,17 @@ enum LightBank
        LIGHTBANK_NIGHT
 };
 
+/*
+       Masks for MapNode.param2 of flowing liquids
+ */
+#define LIQUID_LEVEL_MASK 0x07
+#define LIQUID_FLOW_DOWN_MASK 0x08
+
 /*
        This is the stuff what the whole world consists of.
 */
 
+
 struct MapNode
 {
        /*