diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-11-10 14:02:07 +0100 |
---|---|---|
committer | Gargaj <gargaj@conspiracy.hu> | 2015-12-13 15:16:15 +0100 |
commit | 66e65898838e3d5d40dfb225fd6c34f0f354b2e3 (patch) | |
tree | 159a72d2f877d4672d1a633853584c5b5e723f21 /src/BlockInfo.cpp | |
parent | Merge pull request #2743 from SafwatHalaby/wart (diff) | |
download | cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.gz cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.bz2 cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.lz cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.xz cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.tar.zst cuberite-66e65898838e3d5d40dfb225fd6c34f0f354b2e3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockInfo.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp index 54f11158e..cff5f953a 100644 --- a/src/BlockInfo.cpp +++ b/src/BlockInfo.cpp @@ -584,6 +584,27 @@ void cBlockInfo::Initialize(cBlockInfoArray & a_Info) a_Info[E_BLOCK_STONE ].m_CanBeTerraformed = true; + // Block heights: + a_Info[E_BLOCK_BED ].m_BlockHeight = 0.5625; // 9 pixels + a_Info[E_BLOCK_CAKE ].m_BlockHeight = 0.5; // 8 pixels + a_Info[E_BLOCK_ENCHANTMENT_TABLE ].m_BlockHeight = 0.75; // 12 pixels + a_Info[E_BLOCK_STONE_SLAB ].m_BlockHeight = 0.5; + a_Info[E_BLOCK_WOODEN_SLAB ].m_BlockHeight = 0.5; + a_Info[E_BLOCK_SNOW ].m_BlockHeight = 0.125; // one layer is 1 / 8 (2 pixels) tall + a_Info[E_BLOCK_ACACIA_FENCE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_ACACIA_FENCE_GATE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_BIRCH_FENCE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_BIRCH_FENCE_GATE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_DARK_OAK_FENCE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_DARK_OAK_FENCE_GATE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_FENCE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_OAK_FENCE_GATE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_JUNGLE_FENCE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_JUNGLE_FENCE_GATE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_SPRUCE_FENCE ].m_BlockHeight = 1.5; + a_Info[E_BLOCK_SPRUCE_FENCE_GATE ].m_BlockHeight = 1.5; + + // Block place sounds: a_Info[E_BLOCK_STONE ].m_PlaceSound = "dig.stone"; a_Info[E_BLOCK_GRASS ].m_PlaceSound = "dig.grass"; |