diff ObjectiveTracker/ObjectiveTracker.lua @ 40:03ed70f846de

- move block accessors into a new file - define a tMove function for reconciling the free/used tables as needed - when retrieving an old block frame, confirm ID still matches; resolves multiple watch items on one block - stop any animations when a block is freed; resolves stuck flare graphics
author Nenue
date Sun, 24 Apr 2016 14:15:25 -0400
parents 92534dc793f2
children 756e8aeb040b
line wrap: on
line diff
--- a/ObjectiveTracker/ObjectiveTracker.lua	Thu Apr 21 16:43:37 2016 -0400
+++ b/ObjectiveTracker/ObjectiveTracker.lua	Sun Apr 24 14:15:25 2016 -0400
@@ -461,7 +461,7 @@
 
 local tprint = B.print('Tracker')
 T.OnHookedFunc = function(name, ...)
-  tprint('|cFFFF8800securehook:|r', name, '|cFF00FFFFargs:|r', ...)
+  print('|cFFFF8800securehook:|r', name, '|cFF00FFFFargs:|r', ...)
   local updateReason, arg1, arg2, arg3 = T[name](...)
   if updateReason then
     print('|cFF00FFFFupdate reason:|r', updateReason, arg1, arg2, arg3)
@@ -488,9 +488,9 @@
     tprint('OnEvent(|cFF00FF00'.. event ..'|r):', ...)
     T:Update(reason, arg1, arg2, arg3)
   else
-    tprint('OnEvent(|cFFFF4400'.. event ..'|r):', ...)
-    tprint('no detected reason')
-    Play([[Interface\Addons\SharedMedia_MyMedia\sound\Quack.ogg]])
+    print('OnEvent(|cFFFF4400'.. event ..'|r):', ...)
+    print('no detected reason')
+    --Play([[Interface\Addons\SharedMedia_MyMedia\sound\Quack.ogg]])
   end
   local args = (reason or '0')
   if arg1 then args = args .. ', ' .. tostring(arg1) end
@@ -519,7 +519,7 @@
     end
   end
 
-  T.Conf.TasksLog = T.Conf.TasksLog or {}
+
 
   ObjectiveTrackerFrame:UnregisterAllEvents()
   ObjectiveTrackerFrame:Hide()