#pragma once #include "building/building_data.hpp" #include "inventory/item.hpp" class Game; namespace Craft { extern ItemCrafting item; void draw_CraftMenu(Game* game, BuildingType type, bool hovering_craft_button); bool is_CursorOverMenuInfoPanel(const SDL_FPoint mouse_pos); bool cursor_OverCraftButton(const SDL_FPoint mouse_pos); int cursor_CraftGridTileIndex(SDL_FPoint mouse, SDL_Rect win_size); bool craft_Start(Inventory*, ItemType); bool craft_Continue(Inventory*, Messages*); void craft_Stop(); }