/trunk/EnhancedFlightMap
## Interface: 60200 |
## Interface: 70000 |
## Title: Enhanced Flight Map |
## Author: Lysidia of Feathermoon |
## Version: 2.2.9 |
## Version: 2.3.0 |
## Notes: Adds enhancements to the flight system! |
## URL: http://lysaddons.game-host.org |
## Website: http://lysaddons.game-host.org |
dX = w * tonumber(endNode["fmLoc"]["x"]); |
dY = h * tonumber(endNode["fmLoc"]["y"]); |
DrawRouteLine(line, "EFM_MapWindowNew_Map", sX, sY, dX, dY, 32); |
DrawLine(line, "EFM_MapWindowNew_Map", sX, sY, dX, dY, 32, TAXIROUTE_LINEFACTOR); |
line:Show(); |
end |
end |
local destX = tonumber(endNode["wmLoc"]["x"]); |
local destY = tonumber(endNode["wmLoc"]["y"]); |
if ((destX ~= nil) and (destY ~= nil)) then |
DrawRouteLine(line, "WorldMapDetailFrame", mapX * w, (h - (mapY * h)), destX * w, (h - (destY * h)), 32); |
DrawLine(line, "WorldMapDetailFrame", mapX * w, (h - (mapY * h)), destX * w, (h - (destY * h)), 32, TAXIROUTE_LINEFACTOR); |
line:SetAlpha(0.5); |
line:Show(); |
end |
]] |
-- Global define |
EFM_Version = "2.2.9"; |
EFM_Version = "2.3.0"; |
-- Define some stuff here to handle global stuff... |
EFM_Global_Faction = UnitFactionGroup("player"); |
2016-07-30 Version 2.3.0 |
------------------------- |
- Updated to work with Legion (7.0.3) |
2014-11-19 Version 2.2.9 |
------------------------- |
- Updated to work with Warlords of Draenor (6.0.2) |
end |
-- Original Blizzard Stuff |
TaxiNodeSetCurrent(index); |
-- TaxiNodeSetCurrent(index); |
for i=1, numRoutes do |
local sX = EFM_SF_ValueToPrecision(TaxiGetSrcX(index, i), 2); |