WoWInterface SVN zz_Bags

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 56 to Rev 57
    Reverse comparison

Rev 56 → Rev 57

zz_Bags/zz_Bags.toc
1,4 → 1,4
## Interface: 70300
## Interface: 80000
## X-WoWI-Slug: zz_Bags-842
## X-Curse-Project-Slug: zz_bags
## X-Repository: svn://svn.wowinterface.com/zz_Bags-842
zz_Bags/core.lua
59,7 → 59,6
free[bagType] = free[bagType] + c
full[bagType] = full[bagType] + b
end
-- print(bagTypes[bagType],bagType,addon['db']['profile']['bagTypes'][bagTypes[bagType]])
if(db['bagTypes'][bagTypes[bagType]]==true) then
n = n + c
m = m + b
90,18 → 89,15
OnDataUpdate()
end
local function OnTooltip(tip)
local zztip = type(tip.AddHeader) == 'function' and tip:AddHeader(childName) or tip:AddLine(childName)
x=0
y=0
tip:AddLine(childName)
x, y = 0, 0
while(x<8000) do
if(full[x]) then
if(full[x] > 0) then
n = free[x]
if(not db['showFree']) then
n = full[x] - n
end
tip:AddDoubleLine(bagTypes[x],n.."/"..full[x])
if(full[x] and full[x] > 0) then
n = free[x]
if(not db['showFree']) then
n = full[x] - n
end
tip:AddDoubleLine(bagTypes[x],n.."/"..full[x])
end
x = 2^y
y = y + 1