summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BrewingstandEntity.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/BlockEntities/BrewingstandEntity.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.gz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.bz2
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.lz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.xz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.zst
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.zip
Diffstat (limited to 'src/BlockEntities/BrewingstandEntity.h')
-rw-r--r--src/BlockEntities/BrewingstandEntity.h27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/BlockEntities/BrewingstandEntity.h b/src/BlockEntities/BrewingstandEntity.h
index 66eaa920d..e43172edb 100644
--- a/src/BlockEntities/BrewingstandEntity.h
+++ b/src/BlockEntities/BrewingstandEntity.h
@@ -16,8 +16,7 @@ class cClientHandle;
// tolua_begin
-class cBrewingstandEntity :
- public cBlockEntityWithItems
+class cBrewingstandEntity : public cBlockEntityWithItems
{
// tolua_end
@@ -25,18 +24,17 @@ class cBrewingstandEntity :
// tolua_begin
-public:
-
+ public:
enum
{
- bsLeftBottle = 0, // Left bottle slot number
- bsMiddleBottle = 1, // Middle bottle slot number
- bsRightBottle = 2, // Right bottle slot number
- bsIngredient = 3, // Top ingredient slot number
- bsFuel = 4, // Top left fuel slot number
-
- ContentsWidth = 5,
- ContentsHeight = 1,
+ bsLeftBottle = 0, // Left bottle slot number
+ bsMiddleBottle = 1, // Middle bottle slot number
+ bsRightBottle = 2, // Right bottle slot number
+ bsIngredient = 3, // Top ingredient slot number
+ bsFuel = 4, // Top left fuel slot number
+
+ ContentsWidth = 5,
+ ContentsHeight = 1,
};
// tolua_end
@@ -109,8 +107,7 @@ public:
/** Gets the recipes. Will be called if the brewing stand gets loaded from the world. */
void LoadRecipes(void);
-protected:
-
+ protected:
/** Set to true if the brewing stand is brewing an item */
bool m_IsBrewing;
@@ -137,4 +134,4 @@ protected:
// cItemGrid::cListener overrides:
virtual void OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum) override;
-} ; // tolua_export
+}; // tolua_export