]> git.lizzy.rs Git - minetest.git/blobdiff - src/itemdef.h
Revert "Add support for using arbitrary meshes as items"
[minetest.git] / src / itemdef.h
index 74c6d0b3e2f3c5548006991cf6aba26aee18266a..fb157705f2b04006ae7d9e54374e657e65c73924 100644 (file)
@@ -66,8 +66,6 @@ struct ItemDefinition
        std::string inventory_image; // Optional for nodes, mandatory for tools/craftitems
        std::string wield_image; // If empty, inventory_image or mesh (only nodes) is used
        v3f wield_scale;
-       std::string meshname;    // name of internal mesh (or meshfile to use TBD)
-       std::string meshtexture; // meshtexture
 
        /*
                Item stack and interaction properties
@@ -213,13 +211,6 @@ class CItemDefManager: public IWritableItemDefManager
                        const ItemDefinition& def, INodeDefManager* nodedef,
                        ClientCached* cc, IGameDef* gamedef, ITextureSource* tsrc) const;
 
-       void createMeshItemTexture(const std::string& name,
-                       const ItemDefinition& def, INodeDefManager* nodedef,
-                       ClientCached* cc, IGameDef* gamedef, ITextureSource* tsrc) const;
-
-       void renderMeshToTexture(const ItemDefinition& def, scene::IMesh* mesh,
-                       ClientCached* cc, ITextureSource* tsrc) const;
-
        ClientCached* createClientCachedDirect(const std::string &name,
                        IGameDef *gamedef) const;