Modernize client code (#6250)
[oweals/minetest.git] / src / content_nodemeta.h
index 0b08bc6a13a23681ef047d0cdcaa4c5f0689d47c..3c632ed4a0ca371191a6620d8c8cfcbcf408ef9e 100644 (file)
@@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 class NodeMetadataList;
 class NodeTimerList;
-class IGameDef;
+class IItemDefManager;
 
 /*
        Legacy nodemeta definitions
@@ -32,9 +32,7 @@ class IGameDef;
 
 void content_nodemeta_deserialize_legacy(std::istream &is,
                NodeMetadataList *meta, NodeTimerList *timers,
-               IGameDef *gamedef);
-
-void content_nodemeta_serialize_legacy(std::ostream &os, NodeMetadataList *meta);
+               IItemDefManager *item_def_mgr);
 
 #endif