]> git.lizzy.rs Git - minetest.git/blobdiff - src/nodemetadata.h
Mgvalleys: use standard caves
[minetest.git] / src / nodemetadata.h
index 8e84e5af30a15cf9bed380de3b0a3969ab5e9b36..8d1298212d9e702eab99f1c6c457b5179273aea8 100644 (file)
@@ -35,12 +35,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 */
 
 class Inventory;
-class IGameDef;
+class IItemDefManager;
 
 class NodeMetadata
 {
 public:
-       NodeMetadata(IGameDef *gamedef);
+       NodeMetadata(IItemDefManager *item_def_mgr);
        ~NodeMetadata();
 
        void serialize(std::ostream &os) const;
@@ -80,7 +80,7 @@ class NodeMetadataList
        ~NodeMetadataList();
 
        void serialize(std::ostream &os) const;
-       void deSerialize(std::istream &is, IGameDef *gamedef);
+       void deSerialize(std::istream &is, IItemDefManager *item_def_mgr);
 
        // Add all keys in this list to the vector keys
        std::vector<v3s16> getAllKeys();