X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcontent_mapnode.h;h=45c2b0763db5b1beac0f8c10252ce36cb89b98d0;hb=97260d09a8e658b6ded7d9100b0aa1040fcfe50f;hp=b928e4407707e89ea4863b1a18f6c1eae5082c79;hpb=c1479a273266709d6d0775c690dce31a7a430aa5;p=dragonfireclient.git diff --git a/src/content_mapnode.h b/src/content_mapnode.h index b928e4407..45c2b0763 100644 --- a/src/content_mapnode.h +++ b/src/content_mapnode.h @@ -3,16 +3,16 @@ Minetest-c55 Copyright (C) 2010-2011 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. */ @@ -26,15 +26,8 @@ with this program; if not, write to the Free Software Foundation, Inc., Legacy node definitions */ -class IWritableNodeDefManager; - -// Initialize legacy node definitions -// Not used used anywhere else than in test.cpp (and SHALL NOT BE) -void content_mapnode_init(IWritableNodeDefManager *nodemgr); - // Backwards compatibility for non-extended content types in v19 extern content_t trans_table_19[21][2]; -MapNode mapnode_translate_from_internal(MapNode n_from, u8 version); MapNode mapnode_translate_to_internal(MapNode n_from, u8 version); // Get legacy node name mapping for loading old blocks