2011-06-17 14:46:50 -07:00
|
|
|
/*
|
2013-02-24 09:40:43 -08:00
|
|
|
Minetest
|
2013-02-24 10:38:45 -08:00
|
|
|
Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
|
2011-06-17 14:46:50 -07:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
2012-06-05 07:56:56 -07:00
|
|
|
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
|
2011-06-17 14:46:50 -07:00
|
|
|
(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
|
2012-06-05 07:56:56 -07:00
|
|
|
GNU Lesser General Public License for more details.
|
2011-06-17 14:46:50 -07:00
|
|
|
|
2012-06-05 07:56:56 -07:00
|
|
|
You should have received a copy of the GNU Lesser General Public License along
|
2011-06-17 14:46:50 -07:00
|
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
2017-08-17 13:19:39 -07:00
|
|
|
#pragma once
|
2011-06-17 14:46:50 -07:00
|
|
|
|
2013-08-10 19:09:45 -07:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
class NodeMetadataList;
|
|
|
|
class NodeTimerList;
|
2015-09-18 04:45:42 -07:00
|
|
|
class IItemDefManager;
|
2012-03-18 17:08:04 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
Legacy nodemeta definitions
|
|
|
|
*/
|
|
|
|
|
|
|
|
void content_nodemeta_deserialize_legacy(std::istream &is,
|
|
|
|
NodeMetadataList *meta, NodeTimerList *timers,
|
2015-09-18 04:45:42 -07:00
|
|
|
IItemDefManager *item_def_mgr);
|