]> git.lizzy.rs Git - minetest.git/blobdiff - src/craftdef.h
Fix umlauts/special character issue in lua gettext
[minetest.git] / src / craftdef.h
index eb3cd7e391486e8a9530d2043ed1c5bf270ba5ce..14dc530031ba4eaa834eb49ccfc08e112ae3cd63 100644 (file)
@@ -358,6 +358,8 @@ class ICraftDefManager
                        bool decrementInput, IGameDef *gamedef) const=0;
        virtual bool getCraftRecipe(CraftInput &input, CraftOutput &output,
                        IGameDef *gamedef) const=0;
+       virtual std::vector<CraftDefinition*> getCraftRecipes(CraftOutput &output,
+                       IGameDef *gamedef) const=0;
        
        // Print crafting recipes for debugging
        virtual std::string dump() const=0;
@@ -376,6 +378,8 @@ class IWritableCraftDefManager : public ICraftDefManager
                        bool decrementInput, IGameDef *gamedef) const=0;
        virtual bool getCraftRecipe(CraftInput &input, CraftOutput &output,
                        IGameDef *gamedef) const=0;
+       virtual std::vector<CraftDefinition*> getCraftRecipes(CraftOutput &output, 
+                       IGameDef *gamedef) const=0;
 
        // Print crafting recipes for debugging
        virtual std::string dump() const=0;