summaryrefslogtreecommitdiffstats
path: root/source/cChunkMap.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-29 22:40:21 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-29 22:40:21 +0100
commit87a7c39dfc2072a2197de2a6c9ac99aefc5919ca (patch)
treecc6cf85a1e89e5d2771481abbbc3b1a54abf7351 /source/cChunkMap.h
parentVC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. (diff)
downloadcuberite-87a7c39dfc2072a2197de2a6c9ac99aefc5919ca.tar
cuberite-87a7c39dfc2072a2197de2a6c9ac99aefc5919ca.tar.gz
cuberite-87a7c39dfc2072a2197de2a6c9ac99aefc5919ca.tar.bz2
cuberite-87a7c39dfc2072a2197de2a6c9ac99aefc5919ca.tar.lz
cuberite-87a7c39dfc2072a2197de2a6c9ac99aefc5919ca.tar.xz
cuberite-87a7c39dfc2072a2197de2a6c9ac99aefc5919ca.tar.zst
cuberite-87a7c39dfc2072a2197de2a6c9ac99aefc5919ca.zip
Diffstat (limited to 'source/cChunkMap.h')
-rw-r--r--source/cChunkMap.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/source/cChunkMap.h b/source/cChunkMap.h
index b2292870f..e375a0de0 100644
--- a/source/cChunkMap.h
+++ b/source/cChunkMap.h
@@ -6,7 +6,7 @@ class cChunk;
class cChunkMap
{
public:
- cChunkMap( int a_Width, int a_Height, cWorld* a_World );
+ cChunkMap(cWorld* a_World );
~cChunkMap();
void AddChunk( cChunk* a_Chunk );
@@ -72,26 +72,5 @@ private:
int m_NumLayers;
cChunkLayer* m_Layers;
- class cChunkNode
- {
- public:
- cChunkNode();
- ~cChunkNode();
- void push_back( cChunk* a_Chunk );
- unsigned int size() { return m_Size; }
- unsigned int allocated() { return m_Allocated; }
- void resize( unsigned int a_NewSize );
-
- void erase( cChunk* a_Chunk );
-
- cChunk** GetChunks() { return m_Chunks; }
- private:
- unsigned int m_Size;
- unsigned int m_Allocated;
- cChunk** m_Chunks;
- };
-
- cChunkNode* m_Nodes;
- int m_Width, m_Height;
cWorld* m_World;
};