123456
double **tPFMap; tPFMap = new double*[mapWidth]; for(int i = 0; i < mapWidth; i++) { tPFMap[i] = new double[mapHeight]; }