diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-28 17:29:35 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-28 17:29:35 +0200 |
commit | 17a014b267696ff02c80ddd15d8e6105ff9fb8c4 (patch) | |
tree | 2f21a32708b88b916e3de181ebc0a3596b498a86 /include | |
parent | 5ae48b22d4b32fab96c2661f2b334f6c05ddfbc1 (diff) |
dx: Switch base map and adjust placement
I think we can say this
Fixes #53
and
Fixes #52
still should add support for making it configurable, that that's not a must
for DX16 to take place.
Diffstat (limited to 'include')
-rw-r--r-- | include/nms/util.pm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/nms/util.pm b/include/nms/util.pm index f79df50..33c8735 100644 --- a/include/nms/util.pm +++ b/include/nms/util.pm @@ -67,35 +67,35 @@ sub guess_placement_dx { my ($e, $s) = ($1, $2); $src = "main"; - $x = int(1523 - (($e-1)/2) * 61); + $x = int(1850 - (($e-1)/2) * 63); $y = undef; if ($s > 1) { - $y = 137; + $y = 160; } else { - $y = 410; + $y = 480; } $xx = $x + 32; - $yy = $y + 200; + $yy = $y + 220; } elsif ($name =~ /^core$/) { $src = "core"; - $x = 1100; - $y = 650; + $x = 1360; + $y = 770; $xx = $x + 200; $yy = $y + 100; } elsif ($name =~ /^noc$/) { $src = "noc"; - $x = 300; - $y = 800; + $x = 132; + $y = 880; $xx = $x + 230; $yy = $y + 40; } elsif ($name =~ /^distro(\d)$/) { my $d = ($1); $src = "distro"; - $x = 1200 - $d * 700; - $y = 355; + $x = 1550 - $d * 700; + $y = 410; $xx = $x + 230; $yy = $y + 40; } else { |