1
0

Removed ClientHandle.h dependencies from common headers.

This commit is contained in:
Mattes D
2016-11-18 20:00:04 +01:00
parent 3a89e9959b
commit 0bffa29358
19 changed files with 206 additions and 51 deletions

View File

@@ -10,19 +10,20 @@
#include "Entities/Player.h"
#include "FastRandom.h"
#include "Blocks/BlockHandler.h"
#include "ClientHandle.h"
cMap::cMap(unsigned int a_ID, cWorld * a_World)
: m_ID(a_ID)
, m_Width(cChunkDef::Width * 8)
, m_Height(cChunkDef::Width * 8)
, m_Scale(3)
, m_CenterX(0)
, m_CenterZ(0)
, m_World(a_World)
cMap::cMap(unsigned int a_ID, cWorld * a_World):
m_ID(a_ID),
m_Width(cChunkDef::Width * 8),
m_Height(cChunkDef::Width * 8),
m_Scale(3),
m_CenterX(0),
m_CenterZ(0),
m_World(a_World)
{
m_Data.assign(m_Width * m_Height, E_BASE_COLOR_TRANSPARENT);