summaryrefslogtreecommitdiff
path: root/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
diff options
context:
space:
mode:
authorgit@eclectronics.org <git@eclectronics.org@eclectronics.org>2012-05-18 14:06:26 +0100
committergit@eclectronics.org <git@eclectronics.org@eclectronics.org>2012-05-18 14:06:26 +0100
commitc17065e4d6c38b6859340993618dd75232281d0f (patch)
tree51a95de1e4b87ae57843de1c7855bd7195e5f662 /tomorrowthegroundGUI/tomorrowthegroundGUI.pde
parentd15a608b4313bea0d24711cc85cc683aefb1f494 (diff)
add dublin map
Diffstat (limited to 'tomorrowthegroundGUI/tomorrowthegroundGUI.pde')
-rw-r--r--tomorrowthegroundGUI/tomorrowthegroundGUI.pde10
1 files changed, 9 insertions, 1 deletions
diff --git a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
index cf6d07a..478488b 100644
--- a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
+++ b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
@@ -12,7 +12,7 @@ void setup()
{
bgmaps=new PImage[2];
sendIP="127.0.0.1";
- int map=1;
+ int map=3;
switch (map) {
case 1:
bgmaps[0] = loadImage("gentmap.png");
@@ -30,6 +30,14 @@ void setup()
lat2=51.042154;
lng2=3.739584;
break;
+ case 3:
+ bgmaps[0] = loadImage("domst.png");
+ bgmaps[1] = loadImage("domst_grad.png");
+ lat1=53.353241;
+ lng1=-6.268789;
+ lat2=53.35171;
+ lng2=-6.266284;
+ break;
}
usemap=0;
size(bgmaps[0].width,bgmaps[0].height);