WoWInterface SVN StellarUF

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 129 to Rev 130
    Reverse comparison

Rev 129 → Rev 130

trunk/Stuf/Stuf.toc
2,7 → 2,7
## Title: Stuf Unit Frames
## Author: TotalPackage
## Notes: Main unitframes replacement. Assembly optional.
## Version: 7.0.002
## Version: 7.0.003
 
## SavedVariables: StufDB
## SavedVariablesPerCharacter: StufCharDB
trunk/Stuf/aura.lua
578,11 → 578,11
local ctime = GetTime()
local i1, i2 = f[1], f[2]
 
local e1, e1duration, e1count, e2, e2duration, e2count
local e1, e1duration, e1count, e1id, e2, e2duration, e2count, e2id
if config then
e1, e1duration, e1count, e2, e2duration, e2count = true, 60000, 0, true, 600000, 23
else
e1, e1duration, e1count, e2, e2duration, e2count = GetWeaponEnchantInfo()
e1, e1duration, e1count, e1id, e2, e2duration, e2count, e2id = GetWeaponEnchantInfo()
end
if e1 then
i1.texture:SetTexture(GetInventoryItemTexture("player", 16))
trunk/Stuf/icons.lua
486,13 → 486,16
if cache.pvpffa then -- free for all pvp (Arena)
icon:SetTexture("Interface\\TargetingFrame\\UI-PVP-FFA")
icon:SetVertexColor(1, 1, 1)
icon:SetTexCoord(0, 0.65, 0, 0.65)
f:Show()
elseif cache.pvp then
if prestige > 0 then
icon:SetTexture(GetPrestigeInfo(prestige))
icon:SetVertexColor(1, 1, 1)
icon:SetTexCoord(0, 1, 0, 1)
f:Show()
else
icon:SetTexCoord(0, 0.65, 0, 0.65)
if cache.faction ~= "" then -- faction pvp (Alliance, Horde)
icon:SetTexture("Interface\\TargetingFrame\\UI-PVP-"..(cache.faction or "FFA"))
icon:SetVertexColor(1, 1, 1)
524,7 → 527,6
f = Stuf:CreateBase(unit, uf, name, db)
f.texture = f:CreateTexture(nil, "ARTWORK")
f.texture:SetAllPoints(f)
f.texture:SetTexCoord(0, 0.65, 0, 0.65)
 
uf.refreshfuncs[name] = UpdatePVP
Stuf:RegisterElementRefresh(uf, name, "reactionelements", true)
trunk/StufRaid/StufRaid.toc
2,7 → 2,7
## Title: Stuf Raid Frames
## Author: TotalPackage
## Notes: Raid unit frames. Assembly optional. (Does not require Stuf)
## Version: 7.0.002
## Version: 7.0.003
 
## SavedVariables: StufRaidDB
## SavedVariablesPerCharacter: StufRaidCharLayoutDB, StufRaidCharDB