increased max zoom
parent
3fcf105c8e
commit
d76a8dee6c
|
@ -3,9 +3,9 @@
|
|||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||
<classpathentry kind="lib" path="lib/gson-2.2.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/guava-14.0.jar"/>
|
||||
<classpathentry kind="lib" path="lib/commons-lang3-3.1.jar"/>
|
||||
<classpathentry kind="lib" path="lib/commons-io-2.4.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="C:/Users/Skiphs/Documents/Minecraft/AMIDST Lib/lib/commons-io-2.4.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="C:/Users/Skiphs/Documents/Minecraft/AMIDST Lib/lib/commons-lang3-3.1.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="C:/Users/Skiphs/Documents/Minecraft/AMIDST Lib/lib/gson-2.2.2.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="C:/Users/Skiphs/Documents/Minecraft/AMIDST Lib/lib/guava-14.0.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
|
|
@ -187,7 +187,7 @@ public class MapViewer extends JComponent implements MouseListener, MouseWheelLi
|
|||
int notches = e.getWheelRotation();
|
||||
|
||||
if (notches > 0) {
|
||||
if (zoomLevel < 10) {
|
||||
if (zoomLevel < 20) {
|
||||
targetZoom /= 1.1;
|
||||
zoomLevel++;
|
||||
zoomTicksRemaining = 100;
|
||||
|
|
|
@ -33,7 +33,6 @@ import amidst.json.LauncherProfile;
|
|||
import com.google.gson.Gson;
|
||||
|
||||
public class VersionSelectWindow extends JFrame {
|
||||
|
||||
public VersionSelectWindow() {
|
||||
File profileJsonFile = new File(Util.minecraftDirectory + "\\launcher_profiles.json");
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.concurrent.ConcurrentLinkedQueue;
|
|||
import amidst.Log;
|
||||
|
||||
public class FragmentManager extends Thread {
|
||||
private static final int CACHE_SIZE = 512;
|
||||
private static final int CACHE_SIZE = 2048;
|
||||
|
||||
// TODO : Implement custom cache paths?
|
||||
private boolean cacheEnabled = false;
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
package amidst.map.layers;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import MoF.Biome;
|
||||
import MoF.ChunkManager;
|
||||
import amidst.Log;
|
||||
import amidst.Options;
|
||||
import amidst.map.Fragment;
|
||||
import amidst.map.IconLayer;
|
||||
import amidst.map.MapObjectNether;
|
||||
import amidst.map.MapObjectVillage;
|
||||
|
||||
public class StrongholdLayer extends IconLayer {
|
||||
public static List<Biome> a = Arrays.asList(new Biome[] { Biome.c, Biome.d });
|
||||
|
||||
public StrongholdLayer() {
|
||||
super("strongholds");
|
||||
setVisibilityPref(Options.instance.showIcons);
|
||||
}
|
||||
public void generateMapObjects(Fragment frag) {
|
||||
int size = Fragment.SIZE >> 4;
|
||||
for (int x = 0; x < size; x++) {
|
||||
for (int y = 0; y < size; y++) {
|
||||
int chunkX = x + frag.getChunkX();
|
||||
int chunkY = y + frag.getChunkY();
|
||||
if (checkChunk(chunkX, chunkY, chunkManager)) {
|
||||
frag.addObject(new MapObjectVillage(x << 4, y << 4).setParent(this));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public boolean checkChunk(int chunkX, int chunkY, ChunkManager chunkManager) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
//if (chunkManager.strongholds[i].)
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue