messages.info("PHGenerator", "PHGenPlates", minusLine.toString());
}
public void dumpMapData() {
Messages messages = Messages.getMessages();
messages.info("PHGenerator", "PHGenHeights", "dumpMapData: Generated height-levels");
StringBuffer minusLine = new StringBuffer();
for(int x = 0;x < width;x++) {
minusLine.append("-");
}
messages.info("PHGenerator", "PHGenHeights", minusLine.toString());
for(int y = 0;y < height;y++) {
StringBuffer currLine = new StringBuffer();
currLine.append("|");
for(int x = 0;x < width;x++) {
if(!mapdata.isArrayCoordOnMap(x,y))
currLine.append(" ");
if(hgmapdata.isPlain(x,y))
currLine.append("P");
if(hgmapdata.isHills(x,y))
currLine.append("H");
if(hgmapdata.isMountains(x,y))
currLine.append("m");
if(hgmapdata.isHighMountains(x,y))
currLine.append("M");
if(hgmapdata.isLandVolcano(x,y))
currLine.append("V");
if(hgmapdata.isShallowSea(x,y))
currLine.append("s");
if(hgmapdata.isNormalSea(x,y))
currLine.append("S");
if(hgmapdata.isDeepSea(x,y))
currLine.append("D");
if(hgmapdata.isSeaMountain(x,y))
currLine.append("U");
if(hgmapdata.isSeaVolcano(x,y))
currLine.append("v");
}
currLine.append("| " + y);
messages.info("PHGenerator", "PHGenHeights", currLine.toString());
}
messages.info("PHGenerator", "PHGenHeights", minusLine.toString());
}