|
|
@ -48,16 +48,16 @@ public class HeightMap { |
|
|
|
|
|
|
|
|
|
|
|
public BufferedImage heightmapImage; |
|
|
|
public BufferedImage heightmapImage; |
|
|
|
|
|
|
|
|
|
|
|
private final int heightMapID; |
|
|
|
public final int heightMapID; |
|
|
|
private final int maxHeight; |
|
|
|
public final int maxHeight; |
|
|
|
private final int fullExtentsX; |
|
|
|
public final int fullExtentsX; |
|
|
|
private final int fullExtentsY; |
|
|
|
public final int fullExtentsY; |
|
|
|
|
|
|
|
|
|
|
|
private float bucketWidthX; |
|
|
|
public float bucketWidthX; |
|
|
|
private float bucketWidthY; |
|
|
|
public float bucketWidthY; |
|
|
|
private final int zoneLoadID; |
|
|
|
public final int zoneLoadID; |
|
|
|
private float seaLevel = 0; |
|
|
|
public float seaLevel = 0; |
|
|
|
private int[][] pixelColorValues; |
|
|
|
public int[][] pixelColorValues; |
|
|
|
|
|
|
|
|
|
|
|
public float zone_minBlend; |
|
|
|
public float zone_minBlend; |
|
|
|
public float zone_maxBlend; |
|
|
|
public float zone_maxBlend; |
|
|
@ -391,24 +391,4 @@ public class HeightMap { |
|
|
|
return interpolatedHeight; |
|
|
|
return interpolatedHeight; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public float getBucketWidthX() { |
|
|
|
|
|
|
|
return bucketWidthX; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public float getBucketWidthY() { |
|
|
|
|
|
|
|
return bucketWidthY; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getHeightMapID() { |
|
|
|
|
|
|
|
return heightMapID; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public BufferedImage getHeightmapImage() { |
|
|
|
|
|
|
|
return heightmapImage; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public float getSeaLevel() { |
|
|
|
|
|
|
|
return seaLevel; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|