From 9749c3aac9dbfbc46a919193c97bb9c9e5339e03 Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Thu, 24 Sep 2015 10:48:33 +0200 Subject: Implemented brewing --- src/Root.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Root.h') diff --git a/src/Root.h b/src/Root.h index 772d858d9..142b323a5 100644 --- a/src/Root.h +++ b/src/Root.h @@ -16,6 +16,7 @@ // fwd: class cThread; class cMonsterConfig; +class cBrewingRecipes; class cCraftingRecipes; class cFurnaceRecipe; class cWebAdmin; @@ -88,6 +89,7 @@ public: cCraftingRecipes * GetCraftingRecipes(void) { return m_CraftingRecipes; } // tolua_export cFurnaceRecipe * GetFurnaceRecipe (void) { return m_FurnaceRecipe; } // Exported in ManualBindings.cpp with quite a different signature + cBrewingRecipes * GetBrewingRecipes (void) { return m_BrewingRecipes.get(); } // Exported in ManualBindings.cpp /** Returns the number of ticks for how long the item would fuel a furnace. Returns zero if not a fuel */ static int GetFurnaceFuelBurnTime(const cItem & a_Fuel); // tolua_export @@ -208,6 +210,7 @@ private: cCraftingRecipes * m_CraftingRecipes; cFurnaceRecipe * m_FurnaceRecipe; + std::unique_ptr m_BrewingRecipes; cWebAdmin * m_WebAdmin; cPluginManager * m_PluginManager; cAuthenticator m_Authenticator; -- cgit v1.2.3