summaryrefslogtreecommitdiff
path: root/src/content_craft.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_craft.h')
-rw-r--r--src/content_craft.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/content_craft.h b/src/content_craft.h
index 7a8b4659a..9cffbe4aa 100644
--- a/src/content_craft.h
+++ b/src/content_craft.h
@@ -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