From 25d128da36bb5aaa27f0dcd32b86fb5616684426 Mon Sep 17 00:00:00 2001 From: Sapier Date: Tue, 29 Dec 2015 19:53:38 +0100 Subject: 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 --- src/itemdef.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/itemdef.h') 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; -- cgit v1.2.3