summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-10 08:36:33 +0200
committerMattes D <github@xoft.cz>2014-09-10 08:36:33 +0200
commit76d5aa1d51b618905019f72ca4388aed75941e7e (patch)
treed39589ef7a48771b05f1d2adb96e6c869262bc00 /src/BlockInfo.h
parentMerge pull request #1399 from mc-server/warnings (diff)
parentRemoved old sound-configuration for SignPosts (diff)
downloadcuberite-76d5aa1d51b618905019f72ca4388aed75941e7e.tar
cuberite-76d5aa1d51b618905019f72ca4388aed75941e7e.tar.gz
cuberite-76d5aa1d51b618905019f72ca4388aed75941e7e.tar.bz2
cuberite-76d5aa1d51b618905019f72ca4388aed75941e7e.tar.lz
cuberite-76d5aa1d51b618905019f72ca4388aed75941e7e.tar.xz
cuberite-76d5aa1d51b618905019f72ca4388aed75941e7e.tar.zst
cuberite-76d5aa1d51b618905019f72ca4388aed75941e7e.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