Improve glass
[oweals/minetest.git] / src / content_mapnode.h
index 3946c1e4db87cfed5b79851cbd318a66c3273177..3140f2179936ee90b057d6ca2c00cb05b7d21d85 100644 (file)
@@ -21,10 +21,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define CONTENT_MAPNODE_HEADER
 
 #include "mapnode.h"
-class ITextureSource;
+class IWritableNodeDefManager;
 
 /*
-       Fills stuff to the global ContentFeatures lookup table.
+       Initialize default node definitions
 
        This accesses tsrc; if it is non-NULL, textures are set
        for the nodes.
@@ -35,7 +35,7 @@ class ITextureSource;
 
        Server only calls this once with tsrc=NULL.
 */
-void content_mapnode_init(ITextureSource *tsrc);
+void content_mapnode_init(IWritableNodeDefManager *nodemgr);
 
 // Backwards compatibility for non-extended content types in v19
 extern content_t trans_table_19[21][2];