Prepared some parts of the code for multi world support, I created lots of TODO's
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
+3
-1
@@ -1,11 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
class cWorld;
|
||||
class cEntity;
|
||||
class cChunk;
|
||||
class cChunkMap
|
||||
{
|
||||
public:
|
||||
cChunkMap( int a_Width, int a_Height );
|
||||
cChunkMap( int a_Width, int a_Height, cWorld* a_World );
|
||||
~cChunkMap();
|
||||
|
||||
void AddChunk( cChunk* a_Chunk );
|
||||
@@ -88,4 +89,5 @@ private:
|
||||
|
||||
cChunkNode* m_Nodes;
|
||||
int m_Width, m_Height;
|
||||
cWorld* m_World;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user