summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.h
diff options
context:
space:
mode:
authorMasy98 <masy@antheruscraft.de>2014-09-09 16:00:26 +0200
committerMasy98 <masy@antheruscraft.de>2014-09-09 16:00:26 +0200
commitacae3c9c657e48d0dc8c4b2965e5b3d69c53b279 (patch)
tree09b8c7282fe44d2c44e4e65546186a2b4580d4f0 /src/BlockInfo.h
parentWebadmin: Added default ports to auto-generated ini file. (diff)
downloadcuberite-acae3c9c657e48d0dc8c4b2965e5b3d69c53b279.tar
cuberite-acae3c9c657e48d0dc8c4b2965e5b3d69c53b279.tar.gz
cuberite-acae3c9c657e48d0dc8c4b2965e5b3d69c53b279.tar.bz2
cuberite-acae3c9c657e48d0dc8c4b2965e5b3d69c53b279.tar.lz
cuberite-acae3c9c657e48d0dc8c4b2965e5b3d69c53b279.tar.xz
cuberite-acae3c9c657e48d0dc8c4b2965e5b3d69c53b279.tar.zst
cuberite-acae3c9c657e48d0dc8c4b2965e5b3d69c53b279.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 4c66c095a..567070a7f 100644
--- a/src/BlockInfo.h
+++ b/src/BlockInfo.h
@@ -48,6 +48,9 @@ public:
/** Can a finisher change it? */
bool m_CanBeTerraformed;
+ /** Sound when placing this block */
+ AString m_PlaceSound;
+
// tolua_end
/** Associated block handler. */
@@ -64,6 +67,7 @@ public:
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; }
+ inline static AString GetPlaceSound (BLOCKTYPE a_Type) { return Get(a_Type).m_PlaceSound; }
// tolua_end