IDCount Serialization
This commit is contained in:
18
src/Map.cpp
18
src/Map.cpp
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user