- 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)
local SliceAndDice = IceCore_CreateClass(IceUnitBar)
local IceHUD = _G.IceHUD
local NetherbladeItemIdList = {29044, 29045, 29046, 29047, 29048}
-- Parnic - bah, have to abandon the more robust string representation of each slot because of loc issues...
local NetherbladeEquipLocList = {1, 3, 5, 7, 10} --"HeadSlot", "ShoulderSlot", "ChestSlot", "LegsSlot", "HandsSlot"}