summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-30 07:09:33 +0200
committerMattes D <github@xoft.cz>2014-07-30 07:09:33 +0200
commitb41c8b5de7d302589f223e3c09c7e7380740d6c4 (patch)
treef39e6be30038426abac2dcd95fe25768b0ffd184 /src/BlockInfo.h
parentFixed FinishGen.h types. (diff)
parentAdded soulsand to the terraformed list. (diff)
downloadcuberite-b41c8b5de7d302589f223e3c09c7e7380740d6c4.tar
cuberite-b41c8b5de7d302589f223e3c09c7e7380740d6c4.tar.gz
cuberite-b41c8b5de7d302589f223e3c09c7e7380740d6c4.tar.bz2
cuberite-b41c8b5de7d302589f223e3c09c7e7380740d6c4.tar.lz
cuberite-b41c8b5de7d302589f223e3c09c7e7380740d6c4.tar.xz
cuberite-b41c8b5de7d302589f223e3c09c7e7380740d6c4.tar.zst
cuberite-b41c8b5de7d302589f223e3c09c7e7380740d6c4.zip
Diffstat (limited to 'src/BlockInfo.h')
-rw-r--r--src/BlockInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/BlockInfo.h b/src/BlockInfo.h
index e6ce566c5..4c66c095a 100644
--- a/src/BlockInfo.h
+++ b/src/BlockInfo.h
@@ -45,6 +45,9 @@ public:
/** Does this block fully occupy its voxel - is it a 'full' block? */
bool m_FullyOccupiesVoxel;
+ /** Can a finisher change it? */
+ bool m_CanBeTerraformed;
+
// tolua_end
/** Associated block handler. */
@@ -60,6 +63,7 @@ public:
inline static bool IsSnowable (BLOCKTYPE a_Type) { return Get(a_Type).m_IsSnowable; }
inline static bool IsSolid (BLOCKTYPE a_Type) { return Get(a_Type).m_IsSolid; }
inline static bool FullyOccupiesVoxel (BLOCKTYPE a_Type) { return Get(a_Type).m_FullyOccupiesVoxel; }
+ inline static bool CanBeTerraformed (BLOCKTYPE a_Type) { return Get(a_Type).m_CanBeTerraformed; }
// tolua_end