Falling sand and gravel
[oweals/minetest.git] / src / mapblock_mesh.h
index ea6a73122c765414b4814fa9c2fd0f84de5b67c4..36cc9be24d271c6fc6222aa0df9139f9af08e8d3 100644 (file)
@@ -24,6 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "mapblock_nodemod.h"
 #include "voxel.h"
 
+class IGameDef;
+
 /*
        Mesh making stuff
 */
@@ -141,7 +143,7 @@ struct MeshMakeData
 };
 
 // This is the highest-level function in here
-scene::SMesh* makeMapBlockMesh(MeshMakeData *data, ITextureSource *tsrc);
+scene::SMesh* makeMapBlockMesh(MeshMakeData *data, IGameDef *gamedef);
 
 #endif