X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fvoxel.h;h=687336923044e53175c914120ebad6f67f08f93f;hb=3face01a202040e4feff3b0936b4aa89c051c98d;hp=d03cecd95e8454eb29e2e19b5c2fc3d1f7871a66;hpb=1c1c97cbd1d7913ac12bf550ec02c97f843a0fd3;p=oweals%2Fminetest.git diff --git a/src/voxel.h b/src/voxel.h index d03cecd95..687336923 100644 --- a/src/voxel.h +++ b/src/voxel.h @@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include "util/basic_macros.h" -class INodeDefManager; +class NodeDefManager; // For VC++ #undef min @@ -449,7 +449,7 @@ public: virtual void clear(); - void print(std::ostream &o, INodeDefManager *nodemgr, + void print(std::ostream &o, const NodeDefManager *nodemgr, VoxelPrintMode mode=VOXELPRINT_MATERIAL); void addArea(const VoxelArea &area); @@ -471,15 +471,6 @@ public: void clearFlag(u8 flag); - // TODO: Move to voxelalgorithms.h - - void unspreadLight(enum LightBank bank, v3s16 p, u8 oldlight, - std::set & light_sources, INodeDefManager *nodemgr); - - void spreadLight(enum LightBank bank, v3s16 p, INodeDefManager *nodemgr); - void spreadLight(enum LightBank bank, - std::set & from_nodes, INodeDefManager *nodemgr); - /* Member variables */