summaryrefslogtreecommitdiffstats
path: root/source/cChunk.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cChunk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cChunk.h b/source/cChunk.h
index fcf258bab..8555e01cf 100644
--- a/source/cChunk.h
+++ b/source/cChunk.h
@@ -100,6 +100,11 @@ public:
static const int c_NumBlocks = 16*128*16;
static const int c_BlockDataSize = c_NumBlocks * 2 + (c_NumBlocks/2); // 2.5 * numblocks
+
+ // Reference counting
+ int AddReference( const char* a_Info = 0 ); // a_Info is for debugging
+ void RemoveReference( int a_ID = -1 );
+ int GetReferenceCount();
private:
struct sChunkState;
sChunkState* m_pState;