From c6fd2986d4261cf742d3bc21e8c12be59ab89f95 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 14 Nov 2011 21:41:30 +0200 Subject: GameDef compiles --- src/mapblock_mesh.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mapblock_mesh.h') diff --git a/src/mapblock_mesh.h b/src/mapblock_mesh.h index ea6a73122..36cc9be24 100644 --- a/src/mapblock_mesh.h +++ b/src/mapblock_mesh.h @@ -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 -- cgit v1.2.3