Remove debugging output from WorldMaker plugin script.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13387 282e977c-c81d-0410-88c4-b93c2d0d6712
master
akirschbaum 2010-06-12 15:14:24 +00:00
parent 35e0178082
commit db646673d6
1 changed files with 0 additions and 3 deletions

View File

@ -88,9 +88,7 @@ void checkDaList() {
HashSet mapList = new HashSet(); HashSet mapList = new HashSet();
boolean firstRun = false; boolean firstRun = false;
print("...");
long headerSize = ("P6\n"+DestWidth+" "+DestHeight+"\n255\n").getBytes().length; long headerSize = ("P6\n"+DestWidth+" "+DestHeight+"\n255\n").getBytes().length;
print("...");
if (new File(Location + PictureDirectory + WorldPicture + ".ppm").exists()) { if (new File(Location + PictureDirectory + WorldPicture + ".ppm").exists()) {
runCommand("cp " + Location + PictureDirectory + WorldPicture + ".ppm /tmp/tmp.ppm"); runCommand("cp " + Location + PictureDirectory + WorldPicture + ".ppm /tmp/tmp.ppm");
} else { } else {
@ -104,7 +102,6 @@ void checkDaList() {
fos.close(); fos.close();
firstRun = true; firstRun = true;
} }
print("gogogo");
long toSkip = ("P6\n"+TileWidth+" "+TileHeight+"\n255\n").getBytes().length; long toSkip = ("P6\n"+TileWidth+" "+TileHeight+"\n255\n").getBytes().length;
RandomAccessFile raf = new RandomAccessFile(new File("/tmp/tmp.ppm"),"rw"); RandomAccessFile raf = new RandomAccessFile(new File("/tmp/tmp.ppm"),"rw");
FileChannel fc = raf.getChannel(); FileChannel fc = raf.getChannel();