]> git.lizzy.rs Git - minetest.git/blobdiff - src/nodedef.h
WoW-style Autorun
[minetest.git] / src / nodedef.h
index bbce6ba3ef5ac0965c13fc0b6044a6693279922c..7a84b0316c1df4dbaab48fe7a50043935aefc091 100644 (file)
@@ -63,6 +63,8 @@ enum ContentParamType2
        CPT2_WALLMOUNTED,
        // Block level like FLOWINGLIQUID
        CPT2_LEVELED,
+       // 2D rotation for things like plants
+       CPT2_DEGROTATE,
 };
 
 enum LiquidType
@@ -113,6 +115,8 @@ struct TileDef
 {
        std::string name;
        bool backface_culling; // Takes effect only in special cases
+       bool tileable_horizontal;
+       bool tileable_vertical;
        struct{
                enum TileAnimationType type;
                int aspect_w; // width for aspect ratio
@@ -124,6 +128,8 @@ struct TileDef
        {
                name = "";
                backface_culling = true;
+               tileable_horizontal = true;
+               tileable_vertical = true;
                animation.type = TAT_NONE;
                animation.aspect_w = 1;
                animation.aspect_h = 1;