summaryrefslogtreecommitdiffstats
path: root/source/cChunk.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-31 22:08:23 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-31 22:08:23 +0100
commit9af5ed43fd7f85c3b2813485d0a37a559589d694 (patch)
tree94e36d8b79a11e6754a338b424d05821cfaebd0f /source/cChunk.h
parent- Animals burn now when moving into lava or fire (diff)
downloadcuberite-9af5ed43fd7f85c3b2813485d0a37a559589d694.tar
cuberite-9af5ed43fd7f85c3b2813485d0a37a559589d694.tar.gz
cuberite-9af5ed43fd7f85c3b2813485d0a37a559589d694.tar.bz2
cuberite-9af5ed43fd7f85c3b2813485d0a37a559589d694.tar.lz
cuberite-9af5ed43fd7f85c3b2813485d0a37a559589d694.tar.xz
cuberite-9af5ed43fd7f85c3b2813485d0a37a559589d694.tar.zst
cuberite-9af5ed43fd7f85c3b2813485d0a37a559589d694.zip
Diffstat (limited to '')
-rw-r--r--source/cChunk.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/source/cChunk.h b/source/cChunk.h
index 5bb64697d..fcf258bab 100644
--- a/source/cChunk.h
+++ b/source/cChunk.h
@@ -1,5 +1,14 @@
#pragma once
+#define C_CHUNK_USE_INLINE 1
+
+// Do not touch
+#if C_CHUNK_USE_INLINE
+# define __C_CHUNK_INLINE__ inline
+#else
+# define __C_CHUNK_INLINE__
+#endif
+
#include <list>
namespace Json
@@ -128,4 +137,8 @@ private:
unsigned int m_BlockTickX, m_BlockTickY, m_BlockTickZ;
cCriticalSection* m_EntitiesCriticalSection;
-}; \ No newline at end of file
+};
+
+#if C_CHUNK_USE_INLINE
+# include "cChunk.inl.h"
+#endif \ No newline at end of file