CvSparseIDInfoGrid::CvSparseIDInfoGrid(uint, uint, CvIDInfoFixedVectorAllocator *)
- Defined in
- CvPlotManager.cpp, line 17
- Class
- CvSparseIDInfoGrid
- Not a hook point
- constructor or destructor
Code
17CvSparseIDInfoGrid::CvSparseIDInfoGrid(uint uiWidth, uint uiHeight, CvIDInfoFixedVectorAllocator* pkAllocator)18{19 m_uiWidth = uiWidth;20 m_uiHeight = uiHeight;21 m_uiMaxIndex = uiWidth * uiHeight;22 m_uiNumAllocated = 0;2324 m_paEntries = FNEW(CvIDInfoFixedVector*[m_uiMaxIndex], c_eCiv5GameplayDLL, 0);25 memset( &m_paEntries[0], 0, sizeof(CvIDInfoFixedVector*) * m_uiMaxIndex);2627 m_pkAllocator = pkAllocator;28}
Calls
memset