1
0

IDCount Serialization

This commit is contained in:
andrew
2014-02-13 21:36:24 +02:00
parent 92e85cc960
commit 32b465b8e1
7 changed files with 191 additions and 3 deletions

View File

@@ -12,6 +12,24 @@
cMap::cMap(unsigned int a_ID, cWorld * a_World)
: m_ID(a_ID)
, m_Width(128)
, m_Height(128)
, m_Scale(3)
, m_CenterX(0)
, m_CenterZ(0)
, m_World(a_World)
{
m_Data.assign(m_Width * m_Height, 0);
// Do not update map
}
cMap::cMap(unsigned int a_ID, int a_CenterX, int a_CenterZ, cWorld * a_World, unsigned int a_Scale)
: m_ID(a_ID)
, m_Width(128)