summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-03-01 20:34:19 +0100
committerandrew <xdotftw@gmail.com>2014-03-01 20:34:19 +0100
commitd73cdba1f66a92f011ac881b581595c0959139ef (patch)
treea5c62bbc0cf7c52727e96e348a5978698c6c7a5d /src/BlockInfo.cpp
parentRefactored global block property arrays (diff)
downloadcuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar
cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.gz
cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.bz2
cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.lz
cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.xz
cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.tar.zst
cuberite-d73cdba1f66a92f011ac881b581595c0959139ef.zip
Diffstat (limited to '')
-rw-r--r--src/BlockInfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 6ae59db53..5fd6d33c1 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -7,13 +7,13 @@
-BlockInfo BlockInfo::ms_Info[256];
+cBlockInfo cBlockInfo::ms_Info[256];
-BlockInfo::BlockInfo()
+cBlockInfo::cBlockInfo()
: m_LightValue(0x00)
, m_SpreadLightFalloff(0x0f)
, m_Transparent(false)
@@ -29,7 +29,7 @@ BlockInfo::BlockInfo()
-BlockInfo & BlockInfo::GetById(unsigned int a_ID)
+cBlockInfo & cBlockInfo::GetById(unsigned int a_ID)
{
ASSERT(a_ID < 256);
@@ -40,7 +40,7 @@ BlockInfo & BlockInfo::GetById(unsigned int a_ID)
-void BlockInfo::Initialize(void)
+void cBlockInfo::Initialize(void)
{
// Emissive blocks
ms_Info[E_BLOCK_FIRE ].m_LightValue = 15;
@@ -413,7 +413,7 @@ class cBlockInfoInitializer
public:
cBlockInfoInitializer(void)
{
- BlockInfo::Initialize();
+ cBlockInfo::Initialize();
}
} BlockInfoInitializer;