diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 22:43:15 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 22:43:15 +0100 |
commit | 1985a9c33edc5b929f88871ce553b148408571af (patch) | |
tree | 08124cd9f2ea2171710b2dfb764d6b7dfee5701f /src/CraftingRecipes.h | |
parent | Mentiod that we use some c++11 exstensions (diff) | |
parent | != FACE_NONE (diff) | |
download | cuberite-1985a9c33edc5b929f88871ce553b148408571af.tar cuberite-1985a9c33edc5b929f88871ce553b148408571af.tar.gz cuberite-1985a9c33edc5b929f88871ce553b148408571af.tar.bz2 cuberite-1985a9c33edc5b929f88871ce553b148408571af.tar.lz cuberite-1985a9c33edc5b929f88871ce553b148408571af.tar.xz cuberite-1985a9c33edc5b929f88871ce553b148408571af.tar.zst cuberite-1985a9c33edc5b929f88871ce553b148408571af.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CraftingRecipes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CraftingRecipes.h b/src/CraftingRecipes.h index 9d92cbfab..90e41eddc 100644 --- a/src/CraftingRecipes.h +++ b/src/CraftingRecipes.h @@ -165,6 +165,9 @@ protected: /// Checks if the grid matches the specified recipe, offset by the specified offsets. Returns a matched cRecipe * if so, or NULL if not matching. Caller must delete the return value! cRecipe * MatchRecipe(const cItem * a_CraftingGrid, int a_GridWidth, int a_GridHeight, int a_GridStride, const cRecipe * a_Recipe, int a_OffsetX, int a_OffsetY); + + /** Searches for anything firework related, and does the data setting if appropriate */ + void HandleFireworks(const cItem * a_CraftingGrid, cCraftingRecipes::cRecipe * a_Recipe, int a_GridStride, int a_OffsetX, int a_OffsetY); } ; |