mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40: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
|
||||
libs/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:
|
||||
- libdogtag-3-0
|
||||
|
@ -901,7 +901,16 @@ function IceHUD:OnInitialize()
|
||||
self:GenerateModuleOptions(true)
|
||||
self.options.args.colors.args = self.IceCore:GetColorOptions()
|
||||
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()
|
||||
--@end-debug@
|
||||
|
||||
LibStub("AceConfig-3.0"):RegisterOptionsTable("IceHUD", self.options, "/icehudcl")
|
||||
|
||||
|
@ -5,13 +5,15 @@
|
||||
## Notes: Another HUD addon
|
||||
## Version: @project-version@ (Revision: @project-revision@)
|
||||
## 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-Website: http://www.wowace.com/projects/ice-hud/
|
||||
## X-Compatible-With: 40000
|
||||
|
||||
#@no-lib-strip@
|
||||
# Libraries
|
||||
embeds.xml
|
||||
#@end-no-lib-strip@
|
||||
|
||||
# IceHUD core functionality
|
||||
IceCore.lua
|
||||
|
@ -15,4 +15,5 @@
|
||||
<Include file="libs\LibSharedMedia-3.0\lib.xml"/>
|
||||
<Script file="LibDataBroker-1.1.lua"/>
|
||||
<Script file="libs\LibDBIcon-1.0\LibDBIcon-1.0.lua"/>
|
||||
<Script file="libs\LibDualSpec-1.0\LibDualSpec-1.0.lua"/>
|
||||
</Ui>
|
||||
|
Reference in New Issue
Block a user