summaryrefslogtreecommitdiffstats
path: root/source/cRecipeChecker.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-12 22:03:46 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-12 22:03:46 +0200
commit5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e (patch)
treedffb59765b1325e416cd79a7d20030b62178e4b7 /source/cRecipeChecker.h
parentFixed an error (diff)
downloadcuberite-5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e.tar
cuberite-5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e.tar.gz
cuberite-5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e.tar.bz2
cuberite-5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e.tar.lz
cuberite-5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e.tar.xz
cuberite-5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e.tar.zst
cuberite-5e6c7368592c0fbaa4d9d4320767d3cdcfd0261e.zip
Diffstat (limited to 'source/cRecipeChecker.h')
-rw-r--r--source/cRecipeChecker.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/source/cRecipeChecker.h b/source/cRecipeChecker.h
deleted file mode 100644
index 91084b7de..000000000
--- a/source/cRecipeChecker.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#pragma once
-
-#include "cItem.h"
-
-class cRecipeChecker
-{
-public:
- static cRecipeChecker * GetRecipeChecker();
-
- // Grid of cItems of a_Width width and a_Height Height
- cItem CookIngredients( cItem* a_Items, int a_Width, int a_Height, bool a_bConsumeIngredients = false );
-
- struct RecipeSlot
- {
- cItem Item;
- int x, y;
- };
-
- struct Recipe
- {
- Recipe() : Slots( 0 ), NumItems( 0 ) {}
- ~Recipe();
- RecipeSlot* Slots; // Array of RecipeSlots
- unsigned int NumItems;
- cItem Result;
- };
-
- void ReloadRecipes();
- static void DeleteMe();
-private:
- friend class cRoot;
- cRecipeChecker();
- ~cRecipeChecker();
-
- struct sRecipeCheckerState;
- sRecipeCheckerState* m_pState;
-
- void ClearRecipes();
-}; \ No newline at end of file