summaryrefslogtreecommitdiff
path: root/src/itemdef.h
diff options
context:
space:
mode:
authorSapier <sapier AT gmx dot net>2015-12-29 19:53:38 +0100
committerSapier <sapier AT gmx dot net>2015-12-29 19:53:38 +0100
commit25d128da36bb5aaa27f0dcd32b86fb5616684426 (patch)
treea372c94fed2009568d6f1deb709258a9f1e589a3 /src/itemdef.h
parent61cb4d52a6873a0af69bb8c9a295586f09b2c27a (diff)
downloadminetest-25d128da36bb5aaa27f0dcd32b86fb5616684426.tar.gz
minetest-25d128da36bb5aaa27f0dcd32b86fb5616684426.tar.bz2
minetest-25d128da36bb5aaa27f0dcd32b86fb5616684426.zip
Revert "Add support for using arbitrary meshes as items"
This reverts commit 91bafceee6606fab79db1bde4cba01b84fed65c7. Reverted due to missinterpretation of agreement, obvious dislike and me not interested in doing fights for feature I don't actually need
Diffstat (limited to 'src/itemdef.h')
-rw-r--r--src/itemdef.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/itemdef.h b/src/itemdef.h
index 74c6d0b3e..fb157705f 100644
--- a/src/itemdef.h
+++ b/src/itemdef.h
@@ -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 @@ private:
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;