From e2f1cf51c759f0c70bc1dc9f1db3a8575e1db10f Mon Sep 17 00:00:00 2001 From: faketruth Date: Mon, 31 Oct 2011 00:52:20 +0000 Subject: 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 --- source/cChunkMap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/cChunkMap.h') diff --git a/source/cChunkMap.h b/source/cChunkMap.h index 19619f0c5..d1a289a7d 100644 --- a/source/cChunkMap.h +++ b/source/cChunkMap.h @@ -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; }; -- cgit v1.2.3