summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-20 09:05:53 +0100
committerMattes D <github@xoft.cz>2014-03-20 09:05:53 +0100
commitfe6c03595fb2f45cb2882e4e95672f492a818502 (patch)
tree945436381916f1ac3330654f317f3ddfcb872726 /src/World.h
parentErrors in Lua don't include the error handler in the stack trace. (diff)
parentAdded braces (diff)
downloadcuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar
cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.gz
cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.bz2
cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.lz
cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.xz
cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.zst
cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index bd9ed8d16..46aece18f 100644
--- a/src/World.h
+++ b/src/World.h
@@ -605,6 +605,9 @@ public:
bool AreCommandBlocksEnabled(void) const { return m_bCommandBlocksEnabled; }
void SetCommandBlocksEnabled(bool a_Flag) { m_bCommandBlocksEnabled = a_Flag; }
+ eShrapnelLevel GetTNTShrapnelLevel(void) const { return m_TNTShrapnelLevel; }
+ void SetTNTShrapnelLevel(eShrapnelLevel a_Flag) { m_TNTShrapnelLevel = a_Flag; }
+
bool ShouldUseChatPrefixes(void) const { return m_bUseChatPrefixes; }
void SetShouldUseChatPrefixes(bool a_Flag) { m_bUseChatPrefixes = a_Flag; }
@@ -862,6 +865,11 @@ private:
/** Whether prefixes such as [INFO] are prepended to SendMessageXXX() / BroadcastChatXXX() functions */
bool m_bUseChatPrefixes;
+
+ /** The level of DoExplosionAt() projecting random affected blocks as FallingBlock entities
+ See the eShrapnelLevel enumeration for details
+ */
+ eShrapnelLevel m_TNTShrapnelLevel;
cChunkGenerator m_Generator;