Skip to content

Commit

Permalink
更新下
Browse files Browse the repository at this point in the history
  • Loading branch information
qyh214 committed Feb 10, 2016
1 parent f904a78 commit 2a681c7
Show file tree
Hide file tree
Showing 397 changed files with 23,741 additions and 2,858 deletions.
4 changes: 2 additions & 2 deletions AddOns/Bartender4/ActionBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down Expand Up @@ -221,7 +221,7 @@ function ActionBar:UpdateButtons(numbuttons)
buttons[i]:SetAttribute("statehidden", true)
end

self.button_count = numbuttons
self.numbuttons = numbuttons
self.buttons = buttons

self:UpdateButtonLayout()
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/ActionBars.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/BagBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Bartender4.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
4 changes: 2 additions & 2 deletions AddOns/Bartender4/Bartender4.toc
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Interface: 60200
## X-Curse-Packaged-Version: 4.6.12
## X-Curse-Packaged-Version: 4.6.13
## X-Curse-Project-Name: Bartender4
## X-Curse-Project-ID: bartender4
## X-Curse-Repository-ID: wow/bartender4/mainline

## Title: Bartender4
## Notes: Simple and Advanced combined - Bartender4 ActionBar AddOn

## Version: 4.6.12
## Version: 4.6.13

## Author: Nevcairiel
## X-Email: h.leppkes at gmail dot com
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/BlizzardArt.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Copyright (c) 2009, CMTitan
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Based on Nevcairiel's RepXPBar.lua
All rights to be transferred to Nevcairiel upon inclusion into Bartender4.
All rights reserved, otherwise.
Expand Down
4 changes: 2 additions & 2 deletions AddOns/Bartender4/ButtonBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
--[[ Generic Template for a Bar which contains Buttons ]]
Expand Down Expand Up @@ -185,7 +185,7 @@ function ButtonBar:UpdateButtonLayout()
local buttons = self.buttons
local pad = self:GetPadding()

local numbuttons = self.button_count or #buttons
local numbuttons = self.numbuttons or #buttons

-- bail out if the bar has no buttons, for whatever reason
-- (eg. stanceless class, or no stances learned yet, etc.)
Expand Down
16 changes: 16 additions & 0 deletions AddOns/Bartender4/Changelog-Bartender4-4.6.13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
tag 4.6.13
a9ebd580707f46f79646dfb4f62d236909770898
Hendrik Leppkes <h.leppkes@gmail.com>
2016-01-29 12:44:30 +0100

Tag as 4.6.13


--------------------

Hendrik Leppkes:
- Update copyright to 2016
- Revert "Rename <bar>.numbuttons to .button_count"
This reverts commit 8fb4327d14074209519b7e991ac015455047a1bb.

This needlessly breaks some addons trying to interact with Bartender4
2 changes: 1 addition & 1 deletion AddOns/Bartender4/ExtraActionBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/MicroMenu.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/AceGUIWidget-NumberEditBox.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local AceGUI = LibStub("AceGUI-3.0")
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/ActionBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/BagBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/Bar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/BlizzardArt.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Copyright (c) 2009, CMTitan
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Based on Nevcairiel's RepXPBar.lua
All rights to be transferred to Nevcairiel upon inclusion into Bartender4.
All rights reserved, otherwise.
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/ButtonBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/ExtraActionBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/MicroMenu.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/Options.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/PetBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/Presets.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Copyright (c) 2009, CMTitan
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Based on Nevcairiel's RepXPBar.lua
All rights to be transferred to Nevcairiel upon inclusion into Bartender4.
All rights reserved, otherwise.
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/RepXPBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/StanceBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/StateBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/Options/VehicleBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/PetBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/PetButton.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
--[[
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/RepXPBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
4 changes: 2 additions & 2 deletions AddOns/Bartender4/StanceBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down Expand Up @@ -259,7 +259,7 @@ function StanceBar:UpdateStanceButtons()
buttons[i]:Hide()
end

self.button_count = num_stances
self.numbuttons = num_stances
StanceBarMod.button_count = num_stances
if StanceBarMod.optionobject then
StanceBarMod.optionobject.table.general.args.rows.max = num_stances
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/StateBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
--[[ Generic Template for a ButtonBar with state control ]]
Expand Down
2 changes: 1 addition & 1 deletion AddOns/Bartender4/VehicleBar.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2009-2015, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
Copyright (c) 2009-2016, Hendrik "Nevcairiel" Leppkes < h.leppkes at gmail dot com >
All rights reserved.
]]
local _, Bartender4 = ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]
local MAJOR_VERSION = "LibButtonGlow-1.0"
local MINOR_VERSION = 5
local MINOR_VERSION = 6

if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
local lib, oldversion = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
Expand Down Expand Up @@ -68,12 +68,13 @@ local function CreateScaleAnim(group, target, order, duration, x, y, delay)
end
end

local function CreateAlphaAnim(group, target, order, duration, change, delay)
local function CreateAlphaAnim(group, target, order, duration, fromAlpha, toAlpha, delay)
local alpha = group:CreateAnimation("Alpha")
alpha:SetTarget(target:GetName())
alpha:SetOrder(order)
alpha:SetDuration(duration)
alpha:SetChange(change)
alpha:SetFromAlpha(fromAlpha)
alpha:SetToAlpha(toAlpha)

if delay then
alpha:SetStartDelay(delay)
Expand Down Expand Up @@ -162,25 +163,25 @@ local function CreateOverlayGlow()
-- setup antimations
overlay.animIn = overlay:CreateAnimationGroup()
CreateScaleAnim(overlay.animIn, overlay.spark, 1, 0.2, 1.5, 1.5)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, 1)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, 0, 1)
CreateScaleAnim(overlay.animIn, overlay.innerGlow, 1, 0.3, 2, 2)
CreateScaleAnim(overlay.animIn, overlay.innerGlowOver, 1, 0.3, 2, 2)
CreateAlphaAnim(overlay.animIn, overlay.innerGlowOver, 1, 0.3, -1)
CreateAlphaAnim(overlay.animIn, overlay.innerGlowOver, 1, 0.3, 1, 0)
CreateScaleAnim(overlay.animIn, overlay.outerGlow, 1, 0.3, 0.5, 0.5)
CreateScaleAnim(overlay.animIn, overlay.outerGlowOver, 1, 0.3, 0.5, 0.5)
CreateAlphaAnim(overlay.animIn, overlay.outerGlowOver, 1, 0.3, -1)
CreateAlphaAnim(overlay.animIn, overlay.outerGlowOver, 1, 0.3, 1, 0)
CreateScaleAnim(overlay.animIn, overlay.spark, 1, 0.2, 2/3, 2/3, 0.2)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, -1, 0.2)
CreateAlphaAnim(overlay.animIn, overlay.innerGlow, 1, 0.2, -1, 0.3)
CreateAlphaAnim(overlay.animIn, overlay.ants, 1, 0.2, 1, 0.3)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, 1, 0, 0.2)
CreateAlphaAnim(overlay.animIn, overlay.innerGlow, 1, 0.2, 1, 0, 0.3)
CreateAlphaAnim(overlay.animIn, overlay.ants, 1, 0.2, 0, 1, 0.3)
overlay.animIn:SetScript("OnPlay", AnimIn_OnPlay)
overlay.animIn:SetScript("OnFinished", AnimIn_OnFinished)

overlay.animOut = overlay:CreateAnimationGroup()
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 1, 0.2, 1)
CreateAlphaAnim(overlay.animOut, overlay.ants, 1, 0.2, -1)
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 2, 0.2, -1)
CreateAlphaAnim(overlay.animOut, overlay.outerGlow, 2, 0.2, -1)
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 1, 0.2, 0, 1)
CreateAlphaAnim(overlay.animOut, overlay.ants, 1, 0.2, 1, 0)
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 2, 0.2, 1, 0)
CreateAlphaAnim(overlay.animOut, overlay.outerGlow, 2, 0.2, 1, 0)
overlay.animOut:SetScript("OnFinished", OverlayGlowAnimOutFinished)

-- scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
## X-Category: Library
## X-License: BSD
## X-Website: http://www.wowace.com/addons/libbuttonglow-1-0/
## Version: 1.2.3
## Version: 1.2.4
## OptionalDeps: Masque
## X-Curse-Packaged-Version: 1.2.3
## X-Curse-Packaged-Version: 1.2.4
## X-Curse-Project-Name: LibButtonGlow-1.0
## X-Curse-Project-ID: libbuttonglow-1-0
## X-Curse-Repository-ID: wow/libbuttonglow-1-0/mainline
Expand Down
27 changes: 14 additions & 13 deletions AddOns/Bartender4/libs/LibButtonGlow-1.0/LibButtonGlow-1.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]
local MAJOR_VERSION = "LibButtonGlow-1.0"
local MINOR_VERSION = 5
local MINOR_VERSION = 6

if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
local lib, oldversion = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
Expand Down Expand Up @@ -68,12 +68,13 @@ local function CreateScaleAnim(group, target, order, duration, x, y, delay)
end
end

local function CreateAlphaAnim(group, target, order, duration, change, delay)
local function CreateAlphaAnim(group, target, order, duration, fromAlpha, toAlpha, delay)
local alpha = group:CreateAnimation("Alpha")
alpha:SetTarget(target:GetName())
alpha:SetOrder(order)
alpha:SetDuration(duration)
alpha:SetChange(change)
alpha:SetFromAlpha(fromAlpha)
alpha:SetToAlpha(toAlpha)

if delay then
alpha:SetStartDelay(delay)
Expand Down Expand Up @@ -162,25 +163,25 @@ local function CreateOverlayGlow()
-- setup antimations
overlay.animIn = overlay:CreateAnimationGroup()
CreateScaleAnim(overlay.animIn, overlay.spark, 1, 0.2, 1.5, 1.5)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, 1)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, 0, 1)
CreateScaleAnim(overlay.animIn, overlay.innerGlow, 1, 0.3, 2, 2)
CreateScaleAnim(overlay.animIn, overlay.innerGlowOver, 1, 0.3, 2, 2)
CreateAlphaAnim(overlay.animIn, overlay.innerGlowOver, 1, 0.3, -1)
CreateAlphaAnim(overlay.animIn, overlay.innerGlowOver, 1, 0.3, 1, 0)
CreateScaleAnim(overlay.animIn, overlay.outerGlow, 1, 0.3, 0.5, 0.5)
CreateScaleAnim(overlay.animIn, overlay.outerGlowOver, 1, 0.3, 0.5, 0.5)
CreateAlphaAnim(overlay.animIn, overlay.outerGlowOver, 1, 0.3, -1)
CreateAlphaAnim(overlay.animIn, overlay.outerGlowOver, 1, 0.3, 1, 0)
CreateScaleAnim(overlay.animIn, overlay.spark, 1, 0.2, 2/3, 2/3, 0.2)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, -1, 0.2)
CreateAlphaAnim(overlay.animIn, overlay.innerGlow, 1, 0.2, -1, 0.3)
CreateAlphaAnim(overlay.animIn, overlay.ants, 1, 0.2, 1, 0.3)
CreateAlphaAnim(overlay.animIn, overlay.spark, 1, 0.2, 1, 0, 0.2)
CreateAlphaAnim(overlay.animIn, overlay.innerGlow, 1, 0.2, 1, 0, 0.3)
CreateAlphaAnim(overlay.animIn, overlay.ants, 1, 0.2, 0, 1, 0.3)
overlay.animIn:SetScript("OnPlay", AnimIn_OnPlay)
overlay.animIn:SetScript("OnFinished", AnimIn_OnFinished)

overlay.animOut = overlay:CreateAnimationGroup()
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 1, 0.2, 1)
CreateAlphaAnim(overlay.animOut, overlay.ants, 1, 0.2, -1)
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 2, 0.2, -1)
CreateAlphaAnim(overlay.animOut, overlay.outerGlow, 2, 0.2, -1)
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 1, 0.2, 0, 1)
CreateAlphaAnim(overlay.animOut, overlay.ants, 1, 0.2, 1, 0)
CreateAlphaAnim(overlay.animOut, overlay.outerGlowOver, 2, 0.2, 1, 0)
CreateAlphaAnim(overlay.animOut, overlay.outerGlow, 2, 0.2, 1, 0)
overlay.animOut:SetScript("OnFinished", OverlayGlowAnimOutFinished)

-- scripts
Expand Down
Loading

0 comments on commit 2a681c7

Please sign in to comment.