summaryrefslogtreecommitdiffstats
path: root/source/Defines.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-27 08:57:35 +0200
committermadmaxoft <github@xoft.cz>2013-08-27 08:57:35 +0200
commitcdd0eba1b5fdad85c22a2e50683904f85e8b1eb6 (patch)
treea437bc457c2855dbab2859bc93f71e3aa739fa6c /source/Defines.h
parentFixed ProtoProxy compilation, added client Kick handling. (diff)
downloadcuberite-cdd0eba1b5fdad85c22a2e50683904f85e8b1eb6.tar
cuberite-cdd0eba1b5fdad85c22a2e50683904f85e8b1eb6.tar.gz
cuberite-cdd0eba1b5fdad85c22a2e50683904f85e8b1eb6.tar.bz2
cuberite-cdd0eba1b5fdad85c22a2e50683904f85e8b1eb6.tar.lz
cuberite-cdd0eba1b5fdad85c22a2e50683904f85e8b1eb6.tar.xz
cuberite-cdd0eba1b5fdad85c22a2e50683904f85e8b1eb6.tar.zst
cuberite-cdd0eba1b5fdad85c22a2e50683904f85e8b1eb6.zip
Diffstat (limited to '')
-rw-r--r--source/Defines.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/Defines.h b/source/Defines.h
index 48a7cfb1e..6bc1a18f6 100644
--- a/source/Defines.h
+++ b/source/Defines.h
@@ -29,6 +29,16 @@ extern bool g_BlockTransparent[];
/// Is a block destroyed after a single hit?
extern bool g_BlockOneHitDig[];
+/// Can a piston break this block?
+extern bool g_BlockPistonBreakable[256];
+
+/// Can this block hold snow atop?
+extern bool g_BlockIsSnowable[256];
+
+extern bool g_BlockRequiresSpecialTool[256];
+
+extern bool g_BlockIsSolid[256];
+