Lines 45-51
Link Here
|
45 |
|
45 |
|
46 |
// initialization of the table of pointer of Structure |
46 |
// initialization of the table of pointer of Structure |
47 |
OC_UINT citySurface = this->uiLayerHeight * this->uiLayerWidth; |
47 |
OC_UINT citySurface = this->uiLayerHeight * this->uiLayerWidth; |
48 |
this->tabpStructure = new (Structure*)[citySurface]; |
48 |
this->tabpStructure = new Structure*[citySurface]; |
49 |
for ( OC_UINT counter = 0; counter < citySurface; counter++ ) { |
49 |
for ( OC_UINT counter = 0; counter < citySurface; counter++ ) { |
50 |
tabpStructure[ counter ] = NULL; |
50 |
tabpStructure[ counter ] = NULL; |
51 |
} |
51 |
} |