comparison FlightMap.lua @ 38:a93cae445d3f v1.0-rc9

WorldPlan: - Quest pins are now placed on the flight map. Their visibility rules will mirror the filter options from the world map. - Filter controls polish: - First click negates other reward type filters. Subsequent clicks will then toggle individual reward types until the filters are reset via Right-click. - Adheres to the Blizzard CVars added in patch 7.1 - Numerous optimizations to how data and visual updates are handled; should see an even better load time, and snappier world map interaction. ClassPlan: - The 'Available Missions' list is now recorded. It can be reviewed by clicking on the mission list heading. - Information filtering by character and realm.
author Nenue
date Fri, 04 Nov 2016 02:53:57 -0400
parents 78cf1f19856a
children 589c444d4837
comparison
equal deleted inserted replaced
37:78cf1f19856a 38:a93cae445d3f
48 function WorldPlanDataProvider:OnAdded(mapCanvas) 48 function WorldPlanDataProvider:OnAdded(mapCanvas)
49 self.activePins = {}; 49 self.activePins = {};
50 self.owningMap = mapCanvas 50 self.owningMap = mapCanvas
51 self:RegisterEvent('QUEST_LOG_UPDATE') 51 self:RegisterEvent('QUEST_LOG_UPDATE')
52 52
53 -- remove the the blizzard data provider 53 -- get rid of blizzard's widgery-joob
54 for frame in pairs(FlightMapFrame.dataProviders) do 54 for frame in pairs(FlightMapFrame.dataProviders) do
55 if frame.OnAdded == WorldQuestDataProviderMixin.OnAdded then 55 if frame.OnAdded == WorldQuestDataProviderMixin.OnAdded then
56 FlightMapFrame:RemoveDataProvider(frame) 56 FlightMapFrame:RemoveDataProvider(frame)
57 break 57 break
58 end 58 end