X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fcontent_mapblock.h;h=bb1e129daa0b690fc77f907a3c5e1c066f84ce7c;hb=da3c5c743fbc850f71a3387f9b67b936de239850;hp=6eb63af4fe727aae3aca31bdee4d635d7f58813e;hpb=abceeee92f99b84ebb79968269835a4f509bfb90;p=minetest.git diff --git a/src/content_mapblock.h b/src/content_mapblock.h index 6eb63af4f..bb1e129da 100644 --- a/src/content_mapblock.h +++ b/src/content_mapblock.h @@ -1,18 +1,18 @@ /* -Minetest-c55 -Copyright (C) 2010-2011 celeron55, Perttu Ahola +Minetest +Copyright (C) 2010-2013 celeron55, Perttu Ahola This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +GNU Lesser General Public License for more details. -You should have received a copy of the GNU General Public License along +You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ @@ -20,13 +20,10 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef CONTENT_MAPBLOCK_HEADER #define CONTENT_MAPBLOCK_HEADER -#ifndef SERVER - #include "mapblock_mesh.h" - #include "utility.h" -class ITextureSource; +struct MeshMakeData; +struct MeshCollector; void mapblock_mesh_generate_special(MeshMakeData *data, - MeshCollector &collector, ITextureSource *tsrc); -#endif + MeshCollector &collector); #endif