- removed Deformat as it's no longer necessary

- removed FuBarPlugin from the toc since it's not used any more
This commit is contained in:
Parnic
2010-09-12 00:07:47 +00:00
parent 912edc3dc3
commit 3f656378c5
4 changed files with 28 additions and 50 deletions

View File

@ -30,9 +30,6 @@ externals:
libs/AceConsole-3.0:
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConsole-3.0
tag: latest
libs/Deformat-2.0:
url: svn://svn.wowace.com/wow/deformat/mainline/trunk/Deformat-2.0
tag: latest
libs/LibRangeCheck-2.0:
url: svn://svn.wowace.com/wow/librangecheck-2-0/mainline/trunk/LibRangeCheck-2.0
libs/LibSharedMedia-3.0:

View File

@ -1,5 +1,4 @@
local AceOO = AceLibrary("AceOO-2.0")
local deformat = AceLibrary("Deformat-2.0")
local SPELLINTERRUPTOTHERSELF = SPELLINTERRUPTOTHERSELF
local SPELLFAILCASTSELF = SPELLFAILCASTSELF
@ -46,9 +45,6 @@ function IceCastBar.prototype:Enable(core)
self:RegisterEvent("UNIT_SPELLCAST_FAILED", "SpellCastFailed") -- unit, spell, rank
self:RegisterEvent("UNIT_SPELLCAST_INTERRUPTED", "SpellCastInterrupted") -- unit, spell, rank
self:RegisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE", "CheckChatInterrupt")
self:RegisterEvent("CHAT_MSG_SPELL_CREATURE_VS_SELF_DAMAGE", "CheckChatInterrupt")
self:RegisterEvent("UNIT_SPELLCAST_DELAYED", "SpellCastDelayed") -- unit, spell, rank
self:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED", "SpellCastSucceeded") -- "player", spell, rank
@ -477,20 +473,6 @@ function IceCastBar.prototype:SpellCastFailed(event, unit, spell, rank)
self:StartBar(IceCastBar.Actions.Failure, "Failed")
end
function IceCastBar.prototype:CheckChatInterrupt(event, msg)
local player, spell = deformat(msg, SPELLINTERRUPTOTHERSELF)
IceHUD:Debug("CheckChatInterrupt", msg, self.current)
if not player then
player, spell = deformat(msg, SPELLFAILCASTSELF)
end
if player then
self.current = nil
self:StartBar(IceCastBar.Actions.Failure, "Interrupted")
end
end
function IceCastBar.prototype:SpellCastInterrupted(event, unit, spell, rank)
if (unit ~= self.unit) then return end
IceHUD:Debug("SpellCastInterrupted", unit, self.current)

View File

@ -5,7 +5,7 @@
## Notes: Another HUD addon
## Version: @project-version@ (Revision: @project-revision@)
## SavedVariables: IceCoreDB
## OptionalDeps: Ace2, Ace3, LibSharedMedia-3.0, Deformat, LibDogTag-3.0, LibDogTag-Unit-3.0, FuBarPlugin-2.0, LibRangeCheck-2.0, LibHealComm-4.0
## OptionalDeps: Ace2, Ace3, LibSharedMedia-3.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibRangeCheck-2.0, LibHealComm-4.0
## X-Category: HUDs
## X-Website: http://www.wowace.com/projects/ice-hud/
## X-Compatible-With: 40000

View File

@ -16,7 +16,6 @@
<Include file="libs\LibDogTag-Unit-3.0\lib.xml"/>
<Script file="libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua"/>
<Include file="libs\LibSharedMedia-3.0\lib.xml"/>
<Script file="libs\Deformat-2.0\Deformat-2.0.lua"/>
<Script file="LibDataBroker-1.1.lua"/>
<Script file="libs\LibDBIcon-1.0\LibDBIcon-1.0.lua"/>
</Ui>