Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
tdymel committed Mar 14, 2017
1 parent b8f7c7f commit 6d3f962
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 31 deletions.
6 changes: 3 additions & 3 deletions Auras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ end

function MPOWA:SetTexture(key, texture)
local p = MPOWA_SAVE[key]
if p["texture"] == "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga" then
if p["texture"] == "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga" then
p["texture"] = texture
self.frames[key][2]:SetTexture(texture)
end
Expand Down Expand Up @@ -260,7 +260,7 @@ function MPOWA:Iterate(unit)
if p.endsound < 16 then
PlaySound(self.SOUND[p.endsound], "master")
else
PlaySoundFile("Interface\\AddOns\\末ModifiedPowerAuras\\Sounds\\"..self.SOUND[p.endsound], "master")
PlaySoundFile("Interface\\AddOns\\zzzModifiedPowerAuras\\Sounds\\"..self.SOUND[p.endsound], "master")
end
end
self.frames[cat][1]:SetAlpha(p["alpha"])
Expand Down Expand Up @@ -306,7 +306,7 @@ function MPOWA:Push(aura, unit, i, isdebuff, castbyme)
if path.beginsound < 16 then
PlaySound(self.SOUND[path.beginsound], "master")
else
PlaySoundFile("Interface\\AddOns\\末ModifiedPowerAuras\\Sounds\\"..self.SOUND[path.beginsound], "master")
PlaySoundFile("Interface\\AddOns\\zzzModifiedPowerAuras\\Sounds\\"..self.SOUND[path.beginsound], "master")
end
end
if not path["secsleft"] then
Expand Down
10 changes: 5 additions & 5 deletions GUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ local tnbr = tonumber

local SELECTEDICON = "Interface\\Icons\\Ability_Warrior_BattleShout"
local icopath = "Interface\\Icons\\"
local locpath = "Interface\\AddOns\\末ModifiedPowerAuras\\Auras\\"
local locpath = "Interface\\AddOns\\zzzModifiedPowerAuras\\Auras\\"

local icons = {
["warrior"] = {
Expand Down Expand Up @@ -830,7 +830,7 @@ function MPOWA:SoundSliderChange(obj, var)
if MPOWA_SAVE[self.CurEdit][var] < 16 then
PlaySound(self.SOUND[MPOWA_SAVE[self.CurEdit][var]], "master")
else
PlaySoundFile("Interface\\AddOns\\末ModifiedPowerAuras\\Sounds\\"..self.SOUND[MPOWA_SAVE[self.CurEdit][var]], "master")
PlaySoundFile("Interface\\AddOns\\zzzModifiedPowerAuras\\Sounds\\"..self.SOUND[MPOWA_SAVE[self.CurEdit][var]], "master")
end
end
end
Expand Down Expand Up @@ -981,7 +981,7 @@ end
function MPOWA:Editbox_ICONPATH(obj)
if obj:GetText() == "" then
if MPOWA_SAVE[self.CurEdit].texture == "" then
MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga"
MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga"
end
obj:SetText(MPOWA_SAVE[self.CurEdit].texture)
end
Expand All @@ -992,7 +992,7 @@ function MPOWA:Editbox_Name(obj)
MPOWA_SAVE[self.CurEdit].buffname = obj:GetText()

if oldname ~= MPOWA_SAVE[self.CurEdit].buffname then
MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga"
MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga"
MPowa_ConfigFrame_Container_1_Icon_Texture:SetTexture(MPOWA_SAVE[self.CurEdit].texture)
_G("ConfigButton"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture)
_G("TextureFrame"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture)
Expand Down Expand Up @@ -1020,7 +1020,7 @@ function MPOWA:Editbox_SecondSpecifier(obj)
MPOWA_SAVE[self.CurEdit].secondspecifiertext = obj:GetText()

if oldname ~= MPOWA_SAVE[self.CurEdit].secondspecifiertext then
MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga"
MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga"
MPowa_ConfigFrame_Container_1_Icon_Texture:SetTexture(MPOWA_SAVE[self.CurEdit].texture)
_G("ConfigButton"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture)
_G("TextureFrame"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture)
Expand Down
2 changes: 1 addition & 1 deletion Init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CreateFrame("Frame", "MPOWA", UIParent)
MPOWA.Build = 40
MPOWA.Build = 41
MPOWA.Cloaded = false
MPOWA.loaded = false
MPOWA.selected = 1
Expand Down
40 changes: 20 additions & 20 deletions ModifiedPowerAuras.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parent_Icon" file="Interface\AddOns\末ModifiedPowerAuras\images\dummy">
<Texture name="$parent_Icon" file="Interface\AddOns\zzzModifiedPowerAuras\images\dummy">
<Size x="32" y="32" />
<Anchors>
<Anchor point="TOPLEFT" />
Expand Down Expand Up @@ -457,7 +457,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\ButtonContainer.tga">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\ButtonContainer.tga">
<Size x="300" y="300" />
<Anchors>
<Anchor point="CENTER" />
Expand Down Expand Up @@ -557,7 +557,7 @@
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parent_Texture" file="Interface\AddOns\末ModifiedPowerAuras\images\dummy.tga">
<Texture name="$parent_Texture" file="Interface\AddOns\zzzModifiedPowerAuras\images\dummy.tga">
<Size x="80" y="80" />
</Texture>
</Layer>
Expand Down Expand Up @@ -2683,7 +2683,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\ButtonContainer.tga">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\ButtonContainer.tga">
<Size x="300" y="300" />
<Anchors>
<Anchor point="CENTER" />
Expand All @@ -2700,7 +2700,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\warrior">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\warrior">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -2744,7 +2744,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\rogue">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\rogue">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -2788,7 +2788,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\priest">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\priest">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -2832,7 +2832,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hunter">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hunter">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -2876,7 +2876,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\druid">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\druid">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -2920,7 +2920,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\mage">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\mage">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -2964,7 +2964,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\warlock">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\warlock">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3008,7 +3008,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\paladin">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\paladin">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3052,7 +3052,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\shaman">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\shaman">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3096,7 +3096,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hearthstone">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hearthstone">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3140,7 +3140,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hearthstone">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hearthstone">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3184,7 +3184,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hearthstone">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hearthstone">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3228,7 +3228,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hearthstone">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hearthstone">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3272,7 +3272,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hearthstone">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hearthstone">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3316,7 +3316,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hearthstone">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hearthstone">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down Expand Up @@ -3360,7 +3360,7 @@
</Anchors>
<Layers>
<Layer>
<Texture file="Interface\AddOns\末ModifiedPowerAuras\images\hearthstone">
<Texture file="Interface\AddOns\zzzModifiedPowerAuras\images\hearthstone">
<Size x="18" y="18" />
<Anchors>
<Anchor point="BOTTOM" />
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Modified Power Auras is the advanced version of the AddOn Power Auras. It is a l
### Installing Instructions ###

* Download the AddOn [here](https://github.com/Geigerkind/ModifiedPowerAurasTBC/releases)
* Rename the unziped folder to "末ModifiedPowerAuras"
* Rename the unziped folder to "zzzModifiedPowerAuras"
* Place the folder into your AddOn directory in your World of Warcraft folder
* Start the game
* Type in **/mpowa** to open the configuration frame
Expand Down
2 changes: 1 addition & 1 deletion Start.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

function MPOWA:CreateSave(i)
MPOWA_SAVE[i] = {
texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga",
texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga",
alpha = 1,
size = 0.75,
x = 0,
Expand Down
File renamed without changes.

0 comments on commit 6d3f962

Please sign in to comment.