Update inventory texture too
[oweals/minetest.git] / src / content_craft.h
index 7a8b4659a701a1deeb93c558eb7bb4f9a3b69a74..9cffbe4aa5ce6540cbdda14a9086a638dc975a71 100644 (file)
@@ -22,17 +22,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 class InventoryItem;
 class Player;
+class IGameDef;
 
 /*
        items: actually *items[9]
        return value: allocates a new item, or returns NULL.
 */
-InventoryItem *craft_get_result(InventoryItem **items);
+InventoryItem *craft_get_result(InventoryItem **items, IGameDef *gamedef);
 
-void craft_set_creative_inventory(Player *player);
+void craft_set_creative_inventory(Player *player, IGameDef *gamedef);
 
 // Called when give_initial_stuff setting is used
-void craft_give_initial_stuff(Player *player);
+void craft_give_initial_stuff(Player *player, IGameDef *gamedef);
 
 #endif