965e8589c9
I implemented a QuestHelper_GetTime function for the next time Blizzard decides to fiddle with the time functions. It returns debugprofilestop() / 1000, to exactly match the precision of GetTime(). I also re-removed references to Cartographer from the rollback.
14 lignes
599 o
Lua
14 lignes
599 o
Lua
|
|
local GetTime = QuestHelper_GetTime
|
|
|
|
QuestHelper_File["core.lua"] = "4.0.1.$svnversion$"
|
|
QuestHelper_Loadtime["core.lua"] = GetTime()
|
|
|
|
|
|
QuestHelper.Astrolabe = QH_Astrolabe_Ready and DongleStub("Astrolabe-0.4-QuestHelper")
|
|
local walker = QuestHelper:CreateWorldMapWalker()
|
|
QuestHelper.minimap_marker = QuestHelper:CreateMipmapDodad()
|
|
|
|
QH_Route_RegisterNotification(function (route) walker:RouteChanged(route) end)
|
|
QH_Route_RegisterNotification(function (route) QH_Tracker_UpdateRoute(route) end)
|
|
QH_Route_RegisterNotification(function (route) QuestHelper.minimap_marker:SetObjective(route[2]) end)
|