MCPcopy Create free account
hub / github.com/cuberite/cuberite / cMap

Method cMap

src/Map.cpp:117–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117cMap::cMap(unsigned int a_ID, cWorld * a_World)
118 : m_ID(a_ID)
119 , m_Width(cChunkDef::Width * 8)
120 , m_Height(cChunkDef::Width * 8)
121 , m_Scale(3)
122 , m_CenterX(0)
123 , m_CenterZ(0)
124 , m_World(a_World)
125{
126 m_Data.assign(m_Width * m_Height, E_BASE_COLOR_TRANSPARENT);
127
128 Printf(m_Name, "map_%i", m_ID);
129}
130
131
132

Callers

nothing calls this directly

Calls 1

PrintfFunction · 0.85

Tested by

no test coverage detected