diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-29 22:31:31 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-29 22:31:31 +0200 |
commit | adae2b70b1733a280fe342ca6d0dca7e37301f4f (patch) | |
tree | 389e2ce13e2ba2c701091ce2ae608914480601eb /src/BlockInfo.h | |
parent | Merge pull request #1061 from mc-server/portals (diff) | |
download | cuberite-adae2b70b1733a280fe342ca6d0dca7e37301f4f.tar cuberite-adae2b70b1733a280fe342ca6d0dca7e37301f4f.tar.gz cuberite-adae2b70b1733a280fe342ca6d0dca7e37301f4f.tar.bz2 cuberite-adae2b70b1733a280fe342ca6d0dca7e37301f4f.tar.lz cuberite-adae2b70b1733a280fe342ca6d0dca7e37301f4f.tar.xz cuberite-adae2b70b1733a280fe342ca6d0dca7e37301f4f.tar.zst cuberite-adae2b70b1733a280fe342ca6d0dca7e37301f4f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockInfo.h | 4 |
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 |