summaryrefslogtreecommitdiff
path: root/altosuilib/AltosSiteMapCache.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-28 10:16:38 -0700
committerKeith Packard <keithp@keithp.com>2014-05-28 10:16:38 -0700
commit52ce41952c5a3c31532fa4f0d1b3155a162b76f4 (patch)
tree91d72fd602969a74b7d1ec0cc6c67fd298313c25 /altosuilib/AltosSiteMapCache.java
parent5c3991768d3cb17fc99ad32b2d6d8d11f0e37dfa (diff)
altosuilib: Update map preloading UI to include zoom and maptypes
This lets you specify precisely which maps to load. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosSiteMapCache.java')
-rw-r--r--altosuilib/AltosSiteMapCache.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/altosuilib/AltosSiteMapCache.java b/altosuilib/AltosSiteMapCache.java
index 7f436ef0..3e08e1b3 100644
--- a/altosuilib/AltosSiteMapCache.java
+++ b/altosuilib/AltosSiteMapCache.java
@@ -176,6 +176,7 @@ public class AltosSiteMapCache {
return new Point (x, y);
}
+/*
private static void dump_cache() {
int min_x = 1000, max_x = -1000, min_y = 1000, max_y = -1000;
@@ -208,6 +209,7 @@ public class AltosSiteMapCache {
System.out.printf("\n");
}
}
+*/
public static AltosSiteMapImage get_image(AltosSiteMapTile tile, File file, int width, int height) {
int oldest = -1;