From ca0e8a1169fba0c3f70d0051284d4f85249a8555 Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" Date: Mon, 12 Apr 2004 16:50:03 +0000 Subject: [PATCH] Use the real MEB maps we got from someplace. At present, using just the 3rd and 4th floor maps. --- vis/floormap.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vis/floormap.in b/vis/floormap.in index 67144cdf4..e6d0c87d0 100755 --- a/vis/floormap.in +++ b/vis/floormap.in @@ -73,8 +73,10 @@ $building = $ARGV[0]; # Hardwire the imagemaps for now. # my %baseimages = (); -$baseimages{"MEB"}{"4-East"} = "$TB/www/meb-4east.png"; -$baseimages{"MEB"}{"4-West"} = "$TB/www/meb-4east.png"; +$baseimages{"MEB"}{"4"} = "$TB/www/meb4fl.png"; +$baseimages{"MEB"}{"3"} = "$TB/www/meb3fl.png"; +#$baseimages{"MEB"}{"2"} = "$TB/www/meb2fl.png"; +#$baseimages{"MEB"}{"1"} = "$TB/www/meb1fl.png"; if (!exists($baseimages{$building})) { die("No such building: $building\n"); @@ -146,7 +148,7 @@ else { # # Create a new image using the aggregate size. # - $image = new GD::Image($max_x, $total_y); + $image = new GD::Image($max_x, $total_y, 1); # # Now copy the floor images into the superimage. -- GitLab