WoWInterface SVN pMap

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

trunk/pMap/pMap.lua
23,17 → 23,19
end
 
local function OnEvent(self)
local player = CreateText(40)
local cursor = CreateText(20)
local elapsed = 0
if(not IsAddOnLoaded('TomTom')) then
local player = CreateText(40)
local cursor = CreateText(20)
local elapsed = 0
 
self:SetScript('OnUpdate', function(self, u)
elapsed = elapsed + u
if(elapsed > 0.1) then
OnUpdate(player, cursor)
elapsed = 0
end
end)
self:SetScript('OnUpdate', function(self, u)
elapsed = elapsed + u
if(elapsed > 0.1) then
OnUpdate(player, cursor)
elapsed = 0
end
end)
end
 
UIPanelWindows['WorldMapFrame'] = {area = 'center', pushable = 9}
hooksecurefunc(WorldMapFrame, 'Show', function(self)
trunk/pMap/pMap.toc
3,5 → 3,6
## Version: 30000.wowi:revision
## Title: |cffff6000p|rMap
## Notes: Scales down the WorldMap and adds coordinates (x/y) to it
## OptionalDeps: TomTom
 
pMap.lua
\ No newline at end of file