Removed some essentially useless files.
Cette révision appartient à :
Parent
dea0d83755
révision
d8f5f276be
|
@ -53,20 +53,16 @@ utility.lua
|
|||
# Event manager module. Depends on nothing, calls no external functions.
|
||||
manager_event.lua
|
||||
|
||||
bst_libaboutpanel.lua
|
||||
libs\LibStub\LibStub.lua
|
||||
libs\CallbackHandler-1.0\CallbackHandler-1.0.xml
|
||||
libs\LibDataBroker-1.1\LibDataBroker-1.1.lua
|
||||
libs\AceGUI-3.0\AceGUI-3.0.xml
|
||||
libs\AceConfig-3.0\AceConfig-3.0.xml
|
||||
|
||||
bst_astrolabe.lua
|
||||
libs\AstrolabeQH\Load.xml
|
||||
|
||||
bst_ctl.lua
|
||||
libs\ChatThrottleLib\ChatThrottleLib.xml
|
||||
|
||||
bst_range.lua
|
||||
libs\LibRangeCheck-2.0\CallbackHandler-1.0\CallbackHandler-1.0.xml
|
||||
libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua
|
||||
|
||||
|
@ -207,5 +203,3 @@ tomtom.lua
|
|||
arrow.lua
|
||||
|
||||
config.lua
|
||||
|
||||
bst_post.lua
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
QuestHelper_File["bst_astrolabe.lua"] = "4.0.1.$svnversion$"
|
||||
QuestHelper_Loadtime["bst_astrolabe.lua"] = GetTime()
|
|
@ -1,2 +0,0 @@
|
|||
QuestHelper_File["bst_ctl.lua"] = "4.0.1.$svnversion$"
|
||||
QuestHelper_Loadtime["bst_ctl.lua"] = GetTime()
|
|
@ -1,2 +0,0 @@
|
|||
QuestHelper_File["bst_libaboutpanel.lua"] = "4.0.1.$svnversion$"
|
||||
QuestHelper_Loadtime["bst_libaboutpanel.lua"] = GetTime()
|
|
@ -1,2 +0,0 @@
|
|||
QuestHelper_File["bst_post.lua"] = "4.0.1.$svnversion$"
|
||||
QuestHelper_Loadtime["bst_post.lua"] = GetTime()
|
|
@ -1,2 +0,0 @@
|
|||
QuestHelper_File["bst_range.lua"] = "4.0.1.$svnversion$"
|
||||
QuestHelper_Loadtime["bst_range.lua"] = GetTime()
|
|
@ -1,31 +0,0 @@
|
|||
-- QuestHelper_File["cartographer_is_terrible.lua"] = "4.0.1.$svnversion$"
|
||||
-- QuestHelper_Loadtime["cartographer_is_terrible.lua"] = GetTime()
|
||||
|
||||
-- http://gunnerkrigg.wikia.com/wiki/Category:Terrible
|
||||
|
||||
-- if Cartographer and Cartographer.SetCurrentInstance and Cartographer_InstanceMaps and Cartographer_InstanceMaps.OnEnable then
|
||||
-- local nop = function () end
|
||||
|
||||
-- function hookitsbrainsout(name)
|
||||
-- local oldfunc = _G[name]
|
||||
-- _G[name] = function(...)
|
||||
-- local temp = WorldMapLevelDropDown_Update
|
||||
-- WorldMapLevelDropDown_Update = nop -- YOINK
|
||||
-- oldfunc(...)
|
||||
-- WorldMapLevelDropDown_Update = temp -- KNIOY
|
||||
-- end
|
||||
-- end
|
||||
|
||||
-- local oldenable = Cartographer_InstanceMaps.OnEnable
|
||||
-- function Cartographer_InstanceMaps:OnEnable(...)
|
||||
-- oldenable(self, ...)
|
||||
|
||||
-- hookitsbrainsout("SetMapZoom")
|
||||
-- hookitsbrainsout("SetMapToCurrentZone")
|
||||
-- end
|
||||
|
||||
-- end
|
||||
|
||||
-- There's a bug in Cartographer where SetMapZoom() or SetMapToCurrentZone(), called in an instance, causes any open menus to instantly close. Questhelper (and in general, anything that uses Astrolabe, and other UI mods as well) call those function every frame if the map is closed. This isn't a performance problem or anything, but it happens to trigger the Cartographer bug.
|
||||
-- The top two bugs on the Cartographer tracker are both this one, as well as a third bug listed later down. I've talked to both of the possibly-main Cartographer maintainers about fixing it, neither are interested. It's pretty clearly not going to be fixed.
|
||||
-- So here's a hack. The problem is the WorldMapLevelDropDown_Update call which, after a few nested calls, is eventually called. Why's it there? I dunno. What will removing it break? Not a clue. This cute little hook automatically disables it during the call of the important functions. Will this be a problem for Cartographer? Damned if I know. Will it be *my* problem? No! No it will not.
|
|
@ -212,11 +212,6 @@ QH_Event("ADDON_LOADED", function (addonid)
|
|||
local expected_files =
|
||||
{
|
||||
["bst_pre.lua"] = true,
|
||||
["bst_post.lua"] = true,
|
||||
["bst_astrolabe.lua"] = true,
|
||||
["bst_ctl.lua"] = true,
|
||||
["bst_libaboutpanel.lua"] = true,
|
||||
["bst_range.lua"] = true,
|
||||
|
||||
["manager_event.lua"] = true,
|
||||
["manager_achievement.lua"] = true,
|
||||
|
|
Référencer dans un nouveau ticket