- added local copy of _G.IceHUD to modules that reference it frequently for a minor lookup speed boost

This commit is contained in:
Parnic
2010-10-20 05:22:27 +00:00
parent 0fc23444e2
commit af5574e4a6
20 changed files with 38 additions and 0 deletions

View File

@ -1,6 +1,8 @@
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
IceCustomBar = IceCore_CreateClass(IceUnitBar)
local IceHUD = _G.IceHUD
local validUnits = {"player", "target", "focus", "focustarget", "pet", "pettarget", "vehicle", "targettarget", "main hand weapon", "off hand weapon"}
local buffOrDebuff = {"buff", "debuff"}
local validBuffTimers = {"none", "seconds", "minutes:seconds", "minutes"}