]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mapblock.h
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / src / mapblock.h
index 641a1b69b9dde01c937a89315f770661500f8733..7b82301e9812492e204c0c341b712a0c3686dc94 100644 (file)
@@ -340,15 +340,6 @@ class MapBlock
        // is not valid on this MapBlock.
        bool isValidPositionParent(v3s16 p);
        MapNode getNodeParent(v3s16 p, bool *is_valid_position = NULL);
-       void setNodeParent(v3s16 p, MapNode & n);
-
-       inline void drawbox(s16 x0, s16 y0, s16 z0, s16 w, s16 h, s16 d, MapNode node)
-       {
-               for (u16 z = 0; z < d; z++)
-               for (u16 y = 0; y < h; y++)
-               for (u16 x = 0; x < w; x++)
-                       setNode(x0 + x, y0 + y, z0 + z, node);
-       }
 
        // Copies data to VoxelManipulator to getPosRelative()
        void copyTo(VoxelManipulator &dst);