X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fcontent_nodemeta.h;h=b853274f5fce2bff6d664d32f534cca5ccd39a9e;hb=76aa6103e39533d70f3b46e6df902dc6b4dd4104;hp=6ce7a22be59d6d02ab34c3e11b7ba5337c624196;hpb=705f142b8d53c22aac4f023d12db6fef010d4d9e;p=dragonfireclient.git diff --git a/src/content_nodemeta.h b/src/content_nodemeta.h index 6ce7a22be..b853274f5 100644 --- a/src/content_nodemeta.h +++ b/src/content_nodemeta.h @@ -1,26 +1,34 @@ /* -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. */ -#ifndef CONTENT_NODEMETA_HEADER -#define CONTENT_NODEMETA_HEADER +#pragma once -#include "nodemetadata.h" +#include -#endif +class NodeMetadataList; +class NodeTimerList; +class IItemDefManager; +/* + Legacy nodemeta definitions +*/ + +void content_nodemeta_deserialize_legacy(std::istream &is, + NodeMetadataList *meta, NodeTimerList *timers, + IItemDefManager *item_def_mgr);