mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- setup the toc to properly strip out embeds.xml whenever it's building a no-lib version. wow, this has been broken forever. nice.
- added support for LibDualSpec-1.0 - wrapped a bit of debug code in --@debug@
This commit is contained in:
3
.pkgmeta
3
.pkgmeta
@ -42,6 +42,9 @@ externals:
|
|||||||
url: svn://svn.wowace.com/wow/libdogtag-unit-3-0/mainline/trunk
|
url: svn://svn.wowace.com/wow/libdogtag-unit-3-0/mainline/trunk
|
||||||
libs/LibDBIcon-1.0:
|
libs/LibDBIcon-1.0:
|
||||||
url: svn://svn.wowace.com/wow/libdbicon-1-0/mainline/trunk/LibDBIcon-1.0
|
url: svn://svn.wowace.com/wow/libdbicon-1-0/mainline/trunk/LibDBIcon-1.0
|
||||||
|
libs/LibDualSpec-1.0:
|
||||||
|
url: git://git.wowace.com/wow/libdualspec-1-0/mainline.git/LibDualSpec-1.0
|
||||||
|
tag: latest
|
||||||
|
|
||||||
optional-dependencies:
|
optional-dependencies:
|
||||||
- libdogtag-3-0
|
- libdogtag-3-0
|
||||||
|
@ -901,7 +901,16 @@ function IceHUD:OnInitialize()
|
|||||||
self:GenerateModuleOptions(true)
|
self:GenerateModuleOptions(true)
|
||||||
self.options.args.colors.args = self.IceCore:GetColorOptions()
|
self.options.args.colors.args = self.IceCore:GetColorOptions()
|
||||||
self.options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(self.db)
|
self.options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(self.db)
|
||||||
|
-- Add dual-spec support
|
||||||
|
local LibDualSpec = LibStub('LibDualSpec-1.0', true)
|
||||||
|
if LibDualSpec then
|
||||||
|
LibDualSpec:EnhanceDatabase(self.db, "IceHUD")
|
||||||
|
LibDualSpec:EnhanceOptions(self.options.args.profiles, self.db)
|
||||||
|
end
|
||||||
|
|
||||||
|
--@debug@
|
||||||
self:SetupProfileImportButtons()
|
self:SetupProfileImportButtons()
|
||||||
|
--@end-debug@
|
||||||
|
|
||||||
LibStub("AceConfig-3.0"):RegisterOptionsTable("IceHUD", self.options, "/icehudcl")
|
LibStub("AceConfig-3.0"):RegisterOptionsTable("IceHUD", self.options, "/icehudcl")
|
||||||
|
|
||||||
|
@ -5,13 +5,15 @@
|
|||||||
## Notes: Another HUD addon
|
## Notes: Another HUD addon
|
||||||
## Version: @project-version@ (Revision: @project-revision@)
|
## Version: @project-version@ (Revision: @project-revision@)
|
||||||
## SavedVariables: IceCoreDB
|
## SavedVariables: IceCoreDB
|
||||||
## OptionalDeps: Ace3, LibSharedMedia-3.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibRangeCheck-2.0, LibHealComm-4.0
|
## OptionalDeps: Ace3, LibSharedMedia-3.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibRangeCheck-2.0, LibHealComm-4.0, LibDualSpec-1.0
|
||||||
## X-Category: HUDs
|
## X-Category: HUDs
|
||||||
## X-Website: http://www.wowace.com/projects/ice-hud/
|
## X-Website: http://www.wowace.com/projects/ice-hud/
|
||||||
## X-Compatible-With: 40000
|
## X-Compatible-With: 40000
|
||||||
|
|
||||||
|
#@no-lib-strip@
|
||||||
# Libraries
|
# Libraries
|
||||||
embeds.xml
|
embeds.xml
|
||||||
|
#@end-no-lib-strip@
|
||||||
|
|
||||||
# IceHUD core functionality
|
# IceHUD core functionality
|
||||||
IceCore.lua
|
IceCore.lua
|
||||||
|
@ -15,4 +15,5 @@
|
|||||||
<Include file="libs\LibSharedMedia-3.0\lib.xml"/>
|
<Include file="libs\LibSharedMedia-3.0\lib.xml"/>
|
||||||
<Script file="LibDataBroker-1.1.lua"/>
|
<Script file="LibDataBroker-1.1.lua"/>
|
||||||
<Script file="libs\LibDBIcon-1.0\LibDBIcon-1.0.lua"/>
|
<Script file="libs\LibDBIcon-1.0\LibDBIcon-1.0.lua"/>
|
||||||
|
<Script file="libs\LibDualSpec-1.0\LibDualSpec-1.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
Reference in New Issue
Block a user