Move tool stuff to tool.{h,cpp}
[oweals/minetest.git] / src / guiInventoryMenu.h
index 10fb7a4250dd11ff0403cd0b0eaff27547a882df..5336cae8206a1ae9ffea543b66403fa01e37df10 100644 (file)
@@ -102,6 +102,12 @@ public:
                v2s32 pos;
                v2s32 geom;
        };
+       
+       // See .cpp for format
+       static v2s16 makeDrawSpecArrayFromString(
+                       core::array<GUIInventoryMenu::DrawSpec> &draw_spec,
+                       const std::string &data,
+                       const std::string &current_name);
 
        GUIInventoryMenu(gui::IGUIEnvironment* env,
                        gui::IGUIElement* parent, s32 id,