diff --git a/Titan/Titan.toc b/Titan/Titan.toc new file mode 100644 index 0000000..d4e4355 --- /dev/null +++ b/Titan/Titan.toc @@ -0,0 +1,67 @@ +## Interface: 110107, 50500, 11507 +## Title: Titan Panel [|cffeda55f_Core_|r] |cff00aa008.3.0|r +## Author: Titan Panel Dev Team +## Version: 8.3.0 +## IconTexture: Interface\Icons\Achievement_Dungeon_UlduarRaid_Titan_01 +## SavedVariables: TitanAll, TitanSettings, TitanSkins, ServerTimeOffsets, ServerHourFormat +## Notes: Adds display bars to show and control information/launcher plugins. +## Category-enUS: User Interface +## Category-deDE: Benutzerinterface +## Category-esES: Interfaz de usuario +## Category-esMX: Interfaz de usuario +## Category-frFR: Interface utilisateur +## Category-itIT: Interfaccia utente +## Category-koKR: 사용자 인터페이스 +## Category-ptBR: Interface do usuário +## Category-ruRU: Интерфейс пользователя +## Category-zhCN: 用户界面 +## Category-zhTW: 使用者介面 +## X-Credits: TitanMod, Dark Imakuni, Adsertor, Titan Dev Team +## X-Category: Interface Enhancements +## X-Website: http://www.titanpanel.org +## X-Email: honorgog@gmail.com +## X-Localizations: enUS, ptBR, zhCN, deDE, esES, frFR, itIT, koKR, ruRU, zhTW +## X-License: All rights reserved (See license.txt) +## X-WoWI-ID: 8092 + +TitanGame.lua + +libs\Ace\LibStub\LibStub.lua +libs\Ace\CallbackHandler-1.0\CallbackHandler-1.0.xml +libs\Ace\AceAddon-3.0\AceAddon-3.0.xml +libs\Ace\AceHook-3.0\AceHook-3.0.xml +libs\Ace\AceTimer-3.0\AceTimer-3.0.xml +libs\Ace\AceGUI-3.0\AceGUI-3.0.xml +libs\Ace\AceConfig-3.0\AceConfig-3.0.xml +libs\Ace\AceLocale-3.0\AceLocale-3.0.xml +libs\Ace\LibSharedMedia-3.0\lib.xml +libs\Ace\AceGUI-3.0-SharedMediaWidgets\widget.xml +libs\Ace\LibQTip-1.0\lib.xml + +libs\LibDataBroker-1.1.lua + +locale\Localization.lua +locale\Localization.BR.lua +locale\Localization.CN.lua +locale\Localization.DE.lua +locale\Localization.ES.lua +locale\Localization.FR.lua +locale\Localization.IT.lua +locale\Localization.KR.lua +locale\Localization.MX.lua +locale\Localization.RU.lua +locale\Localization.TW.lua + +TitanDebug.lua +TitanGlobal.lua +TitanUtils.lua +TitanHistory.lua +TitanVariables.lua +TitanTemplate.xml +TitanTemplate.lua +TitanMovable.lua +TitanConfig.lua +TitanAutoHide.lua +Titan.xml +Titan.lua +TitanLDB.lua diff --git a/Titan/TitanConfig.lua b/Titan/TitanConfig.lua index 138e32e..5459474 100644 --- a/Titan/TitanConfig.lua +++ b/Titan/TitanConfig.lua @@ -121,7 +121,7 @@ end -- helper functions -if TITAN_ID == "TitanClassic" then +if TITAN_ID == "Titan" then --[[ local NAME: TitanAdjustPanelScale DESC: Set the Tian bars and plugins to the selected scale then adjust other frames as needed. @@ -1112,7 +1112,7 @@ print("Color new:" order = 205, type = "toggle", width = "full", - disabled = (TITAN_ID == "TitanClassic"), + disabled = (TITAN_ID == "Titan"), get = function() return TitanPanelGetVar("HideBarsInPVP") end, set = function() TitanPanelToggleVar("HideBarsInPVP") @@ -2885,7 +2885,7 @@ local optionsAdvanced = { } local function BuildAdv() - if TITAN_ID == "TitanClassic" then + if TITAN_ID == "Titan" then optionsAdvanced.args.conftimerdesc = conftimerdesc optionsAdvanced.args.confbuffdesc = confbuffdesc else diff --git a/Titan/TitanGame.lua b/Titan/TitanGame.lua index d83a66e..923007c 100644 --- a/Titan/TitanGame.lua +++ b/Titan/TitanGame.lua @@ -1,8 +1,8 @@ --[===[ File NAME: TitanGame.lua -DESC: This file contains the 'game version' Titan or TitanClassic. Used to set up libs, locale, ... -Different folders are required because Titan used TitanClassic as a name (& folder) for the Classic WoW versions. -The saved variables for Classic WoW are in TitanClassic.lua - not Titan.lua. +DESC: This file contains the 'game version' Titan or Titan. Used to set up libs, locale, ... +Different folders are required because Titan used Titan as a name (& folder) for the Classic WoW versions. +The saved variables for Classic WoW are in Titan.lua - not Titan.lua. :DESC --]===] diff --git a/Titan/TitanMovable.lua b/Titan/TitanMovable.lua index 2847729..f6cd249 100755 --- a/Titan/TitanMovable.lua +++ b/Titan/TitanMovable.lua @@ -1,7 +1,7 @@ ---@diagnostic disable: param-type-mismatch --[===[ File Titan adjusts some WoW frames based on the WoW version! -Mainly used for Classic versions where TITAN_ID == "TitanClassic" +Mainly used for Classic versions where TITAN_ID == "Titan" DragonFlight introduced an Edit Mode for the user to move various frames where they want them. Titan no longer needs to do this work for most frames. @@ -210,7 +210,7 @@ Messy but declare the lib routines used in the Classic versions Share the calc Y routine --]] -if TITAN_ID == "TitanClassic" then +if TITAN_ID == "Titan" then local hooks_done = false; diff --git a/Titan/TitanTemplate.lua b/Titan/TitanTemplate.lua index ed825e9..a8c158c 100644 --- a/Titan/TitanTemplate.lua +++ b/Titan/TitanTemplate.lua @@ -267,6 +267,8 @@ local function TitanPanelButton_SetTooltip(self) self.plugin_id = id self.plugin_frame = TitanUtils_ButtonName(id) if (plugin and plugin.tooltipCustomFunction) then + -- Hide the GameTooltip while being updated, to avoid race conditions. + frame:Hide() -- Prep the tooltip frame TitanTooltip_SetPanelTooltip(self, id, frame); @@ -301,6 +303,8 @@ local function TitanPanelButton_SetTooltip(self) end if (tooltipTextFunc) then + -- Hide the GameTooltip while being updated, to avoid race conditions. + frame:Hide() -- Prep the tooltip frame TitanTooltip_SetPanelTooltip(self, id, frame); self.tooltipTitle = plugin.tooltipTitle; diff --git a/Titan/TitanVariables.lua b/Titan/TitanVariables.lua index 395871f..ec1f91e 100644 --- a/Titan/TitanVariables.lua +++ b/Titan/TitanVariables.lua @@ -1063,7 +1063,7 @@ local function Set_bar_vars(to_profile) -- Cannot assume profile is current / cannot use Get Var routines. local panel = TitanSettings.Players[to_profile].Panel - local tex = panel["TexturePath"]:gsub("TitanClassic", "Titan") + local tex = panel["TexturePath"]:gsub("Titan", "Titan") Titan_Global.dbg:Out("Menu", "tex path '" .. tex .. "'") -- Bring original Titan bar optionss to the current user settings. diff --git a/Titan/Titan_Mainline.toc b/Titan/Titan_Mainline.toc deleted file mode 100644 index fa96561..0000000 --- a/Titan/Titan_Mainline.toc +++ /dev/null @@ -1,67 +0,0 @@ -## Interface: 110107 -## Title: Titan Panel [|cffeda55f_Core_|r] |cff00aa008.2.6|r -## Author: Titan Panel Dev Team -## Version: 8.2.6 -## IconTexture: Interface\Icons\Achievement_Dungeon_UlduarRaid_Titan_01 -## SavedVariables: TitanAll, TitanSettings, TitanSkins, ServerTimeOffsets, ServerHourFormat -## Notes: Adds display bars to show and control information/launcher plugins. -## Category-enUS: User Interface -## Category-deDE: Benutzerinterface -## Category-esES: Interfaz de usuario -## Category-esMX: Interfaz de usuario -## Category-frFR: Interface utilisateur -## Category-itIT: Interfaccia utente -## Category-koKR: 사용자 인터페이스 -## Category-ptBR: Interface do usuário -## Category-ruRU: Интерфейс пользователя -## Category-zhCN: 用户界面 -## Category-zhTW: 使用者介面 -## X-Credits: TitanMod, Dark Imakuni, Adsertor, Titan Dev Team -## X-Category: Interface Enhancements -## X-Website: http://www.titanpanel.org -## X-Email: honorgog@gmail.com -## X-Localizations: enUS, ptBR, zhCN, deDE, esES, frFR, itIT, koKR, ruRU, zhTW -## X-License: All rights reserved (See license.txt) -## X-WoWI-ID: 8092 - -TitanGame.lua - -libs\Ace\LibStub\LibStub.lua -libs\Ace\CallbackHandler-1.0\CallbackHandler-1.0.xml -libs\Ace\AceAddon-3.0\AceAddon-3.0.xml -libs\Ace\AceHook-3.0\AceHook-3.0.xml -libs\Ace\AceTimer-3.0\AceTimer-3.0.xml -libs\Ace\AceGUI-3.0\AceGUI-3.0.xml -libs\Ace\AceConfig-3.0\AceConfig-3.0.xml -libs\Ace\AceLocale-3.0\AceLocale-3.0.xml -libs\Ace\LibSharedMedia-3.0\lib.xml -libs\Ace\AceGUI-3.0-SharedMediaWidgets\widget.xml -libs\Ace\LibQTip-1.0\lib.xml - -libs\LibDataBroker-1.1.lua - -locale\Localization.lua -locale\Localization.BR.lua -locale\Localization.CN.lua -locale\Localization.DE.lua -locale\Localization.ES.lua -locale\Localization.FR.lua -locale\Localization.IT.lua -locale\Localization.KR.lua -locale\Localization.MX.lua -locale\Localization.RU.lua -locale\Localization.TW.lua - -TitanDebug.lua -TitanGlobal.lua -TitanUtils.lua -TitanHistory.lua -TitanVariables.lua -TitanTemplate.xml -TitanTemplate.lua -TitanMovable.lua -TitanConfig.lua -TitanAutoHide.lua -Titan.xml -Titan.lua -TitanLDB.lua diff --git a/TitanAmmo/TitanAmmo_Classic.toc b/TitanAmmo/TitanAmmo_Classic.toc deleted file mode 100644 index 2954a9d..0000000 --- a/TitanAmmo/TitanAmmo_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fAmmo|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds an ammo monitor to Titan Panel - Classic versions only -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanClassicAmmo.lua \ No newline at end of file diff --git a/TitanAmmo/TitanAmmo_Vanilla.toc b/TitanAmmo/TitanAmmo_Vanilla.toc new file mode 100644 index 0000000..915fcf4 --- /dev/null +++ b/TitanAmmo/TitanAmmo_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507 +## Title: Titan Panel [|cffeda55fAmmo|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds an ammo monitor to Titan Panel - Classic versions only +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanClassicAmmo.lua \ No newline at end of file diff --git a/TitanAmmo/TitanClassicAmmo.lua b/TitanAmmo/TitanClassicAmmo.lua index fbcce88..c3eef79 100644 --- a/TitanAmmo/TitanClassicAmmo.lua +++ b/TitanAmmo/TitanClassicAmmo.lua @@ -60,7 +60,7 @@ local display = { mismatch_text = "", } -local L = LibStub("AceLocale-3.0"):GetLocale("TitanClassic", true) +local L = LibStub("AceLocale-3.0"):GetLocale("Titan", true) local debug_flow = false @@ -387,7 +387,7 @@ local function OnLoad(self) buttonTextFunction = GetButtonText, tooltipTitle = L["TITAN_AMMO_TOOLTIP"], tooltipTextFunction = GetTooltipText, - icon = "Interface\\AddOns\\TitanAmmo\\TitanClassicThrown", + icon = "Interface\\AddOns\\TitanAmmo\\TitanThrown", iconWidth = 16, controlVariables = { ShowIcon = true, diff --git a/TitanBag/TitanBag_Classic.toc b/TitanBag/TitanBag_Classic.toc deleted file mode 100644 index 25b1d47..0000000 --- a/TitanBag/TitanBag_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fBag|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds bag and free slot information to Titan Panel -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanBag.lua diff --git a/TitanBag/TitanBag_Mainline.toc b/TitanBag/TitanBag_Mainline.toc index c914e21..dbf89cf 100644 --- a/TitanBag/TitanBag_Mainline.toc +++ b/TitanBag/TitanBag_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fBag|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fBag|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\AddOns\TitanBag\TitanBag ## Notes: Adds bag and free slot information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanBag/TitanBag_Vanilla.toc b/TitanBag/TitanBag_Vanilla.toc new file mode 100644 index 0000000..8ebc4ee --- /dev/null +++ b/TitanBag/TitanBag_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fBag|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds bag and free slot information to Titan Panel +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanBag.lua diff --git a/TitanClassic/TitanClassic.toc b/TitanClassic/TitanClassic.toc new file mode 100644 index 0000000..33765de --- /dev/null +++ b/TitanClassic/TitanClassic.toc @@ -0,0 +1,25 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55f_Core_|r] |cff00aa008.3.0|r +## Author: Titan Panel Dev Team +## Version: 8.3.0 +## IconTexture: Interface\Icons\Achievement_Dungeon_UlduarRaid_Titan_01 +## Notes: Adds display bars to show and control information/launcher plugins. +## Category-enUS: User Interface +## Category-deDE: Benutzerinterface +## Category-esES: Interfaz de usuario +## Category-esMX: Interfaz de usuario +## Category-frFR: Interface utilisateur +## Category-itIT: Interfaccia utente +## Category-koKR: 사용자 인터페이스 +## Category-ptBR: Interface do usuário +## Category-ruRU: Интерфейс пользователя +## Category-zhCN: 用户界面 +## Category-zhTW: 使用者介面 +## X-Credits: TitanMod, Dark Imakuni, Adsertor, Titan Dev Team +## X-Category: Interface Enhancements +## X-Website: http://www.titanpanel.org +## X-Email: honorgog@gmail.com +## X-Localizations: enUS, ptBR, zhCN, deDE, esES, frFR, itIT, koKR, esMX, ruRU, zhTW +## X-License: All rights reserved (See license.txt) +## Dependencies: Titan +## X-WoWI-ID: 8092 diff --git a/TitanClassic/TitanClassic_Classic.toc b/TitanClassic/TitanClassic_Classic.toc deleted file mode 100644 index 0313271..0000000 --- a/TitanClassic/TitanClassic_Classic.toc +++ /dev/null @@ -1,70 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55f_Core_|r] |cff00aa008.2.6|r -## Author: Titan Panel Dev Team -## Version: 8.2.6 -## SavedVariables: TitanAll, TitanSettings, TitanSkins, ServerTimeOffsets, ServerHourFormat -## OptionalDeps: Ace3, AceGUI-3.0-SharedMediaWidgets, LibSharedMedia-3.0, LibQTip-1.0, !LibUIDropDownMenu -## Notes: Adds display bars to show and control information/launcher plugins. -## Category-enUS: User Interface -## Category-deDE: Benutzerinterface -## Category-esES: Interfaz de usuario -## Category-esMX: Interfaz de usuario -## Category-frFR: Interface utilisateur -## Category-itIT: Interfaccia utente -## Category-koKR: 사용자 인터페이스 -## Category-ptBR: Interface do usuário -## Category-ruRU: Интерфейс пользователя -## Category-zhCN: 用户界面 -## Category-zhTW: 使用者介面 -## X-Embeds: Ace3, AceGUI-3.0-SharedMediaWidgets, LibSharedMedia-3.0, LibQTip-1.0, !LibUIDropDownMenu -## X-Credits: TitanMod, Dark Imakuni, Adsertor, Titan Panel Development Team -## X-Category: Interface Enhancements -## X-Website: http://www.titanpanel.org -## X-Email: honorgog@gmail.com -## X-Localizations: enUS, ptBR, zhCN, deDE, esES, frFR, itIT, koKR, esMX, ruRU, zhTW -## X-License: All rights reserved (See license.txt) -## X-WoWI-ID: 24955 - -TitanGame.lua - -..\Titan\libs\Ace\LibStub\LibStub.lua -..\Titan\libs\Ace\CallbackHandler-1.0\CallbackHandler-1.0.xml -..\Titan\libs\Ace\AceAddon-3.0\AceAddon-3.0.xml -..\Titan\libs\Ace\AceHook-3.0\AceHook-3.0.xml -..\Titan\libs\Ace\AceTimer-3.0\AceTimer-3.0.xml -..\Titan\libs\Ace\AceGUI-3.0\AceGUI-3.0.xml -..\Titan\libs\Ace\AceConfig-3.0\AceConfig-3.0.xml -..\Titan\libs\Ace\AceLocale-3.0\AceLocale-3.0.xml -..\Titan\libs\Ace\LibSharedMedia-3.0\lib.xml -..\Titan\libs\Ace\AceGUI-3.0-SharedMediaWidgets\widget.xml -..\Titan\libs\Ace\LibQTip-1.0\lib.xml - -..\Titan\libs\Ace\!LibUIDropDownMenu\LibUIDropDownMenu\LibUIDropDownMenu.xml - -..\Titan\libs\LibDataBroker-1.1.lua - -..\Titan\locale\Localization.lua -..\Titan\locale\Localization.BR.lua -..\Titan\locale\Localization.CN.lua -..\Titan\locale\Localization.DE.lua -..\Titan\locale\Localization.ES.lua -..\Titan\locale\Localization.FR.lua -..\Titan\locale\Localization.IT.lua -..\Titan\locale\Localization.KR.lua -..\Titan\locale\Localization.MX.lua -..\Titan\locale\Localization.RU.lua -..\Titan\locale\Localization.TW.lua - -..\Titan\TitanDebug.lua -..\Titan\TitanGlobal.lua -..\Titan\TitanUtils.lua -..\Titan\TitanHistory.lua -..\Titan\TitanVariables.lua -..\Titan\TitanTemplate.xml -..\Titan\TitanTemplate.lua -..\Titan\TitanMovable.lua -..\Titan\TitanConfig.lua -..\Titan\TitanAutoHide.lua -..\Titan\Titan.xml -..\Titan\Titan.lua -..\Titan\TitanLDB.lua diff --git a/TitanClassic/TitanGame.lua b/TitanClassic/TitanGame.lua deleted file mode 100644 index 50e0726..0000000 --- a/TitanClassic/TitanGame.lua +++ /dev/null @@ -1,10 +0,0 @@ ---[===[ File -NAME: TitanGame.lua -DESC: This file contains the 'game version' Titan or TitanClassic. Used to set up libs, locale, ... -Different folders are required because Titan used TitanClassic as a name (& folder) for the Classic WoW versions. -The saved variables for Classic WoW are in TitanClassic.lua - not Titan.lua. -:DESC ---]===] - -TITAN_ID = "TitanClassic" - diff --git a/TitanClock/TitanClock_Classic.toc b/TitanClock/TitanClock_Classic.toc deleted file mode 100644 index e6c6716..0000000 --- a/TitanClock/TitanClock_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fClock|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds a clock to Titan Panel -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanClock.lua diff --git a/TitanClock/TitanClock_Mainline.toc b/TitanClock/TitanClock_Mainline.toc index d5995c5..710ed98 100644 --- a/TitanClock/TitanClock_Mainline.toc +++ b/TitanClock/TitanClock_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fClock|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fClock|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\Icons\Spell_Nature_TimeStop ## Notes: Adds a clock to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanClock/TitanClock_Vanilla.toc b/TitanClock/TitanClock_Vanilla.toc new file mode 100644 index 0000000..fcdb12b --- /dev/null +++ b/TitanClock/TitanClock_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fClock|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds a clock to Titan Panel +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanClock.lua diff --git a/TitanGold/TitanGold.lua b/TitanGold/TitanGold.lua index 1e3c6bc..321b1e3 100644 --- a/TitanGold/TitanGold.lua +++ b/TitanGold/TitanGold.lua @@ -1325,7 +1325,7 @@ end ---Button clicks - only shift-left for now ---@param self Button ---@param button string -function OnClick(self, button) +local function OnClick(self, button) if button == "LeftButton" and IsShiftKeyDown() then local realms = GetConnectedRealms() local this_realm = " * " diff --git a/TitanGold/TitanGold_Classic.toc b/TitanGold/TitanGold_Classic.toc deleted file mode 100644 index 4adfed7..0000000 --- a/TitanGold/TitanGold_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fGold|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: GoldSave -## OptionalDeps: -## Dependencies: TitanClassic -TitanGold.lua diff --git a/TitanGold/TitanGold_Mainline.toc b/TitanGold/TitanGold_Mainline.toc index 3a9ce05..d8d594f 100644 --- a/TitanGold/TitanGold_Mainline.toc +++ b/TitanGold/TitanGold_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fGold|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fGold|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\AddOns\TitanGold\Artwork\TitanGold ## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanGold/TitanGold_Vanilla.toc b/TitanGold/TitanGold_Vanilla.toc new file mode 100644 index 0000000..c3788b1 --- /dev/null +++ b/TitanGold/TitanGold_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fGold|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: GoldSave +## OptionalDeps: +## Dependencies: Titan +TitanGold.lua diff --git a/TitanLocation/TitanLocation.lua b/TitanLocation/TitanLocation.lua index 5dad7b1..6481d4a 100755 --- a/TitanLocation/TitanLocation.lua +++ b/TitanLocation/TitanLocation.lua @@ -181,7 +181,7 @@ local function SetCoordText(player, cursor) player_frame:SetText(player or ""); cursor_frame:SetText(cursor or ""); - if TITAN_ID == "TitanClassic" then + if TITAN_ID == "Titan" then -- Determine where to show the text player_frame:ClearAllPoints() cursor_frame:ClearAllPoints() @@ -650,7 +650,7 @@ local function CreateMenu() info.checked = TitanGetVar(TITAN_LOCATION_ID, "ShowZoneText"); TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel()); --- if TITAN_ID == "TitanClassic" then +-- if TITAN_ID == "Titan" then info = {}; info.text = L["TITAN_LOCATION_MENU_SHOW_SUBZONE_ON_PANEL_TEXT"]; info.func = function() @@ -729,7 +729,7 @@ local function CreateMenu() info.disabled = InCombatLockdown() TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel()); - if TITAN_ID == "TitanClassic" then + if TITAN_ID == "Titan" then info = {}; info.notCheckable = true info.text = L["TITAN_LOCATION_MENU_TEXT"]; diff --git a/TitanLocation/TitanLocation_Classic.toc b/TitanLocation/TitanLocation_Classic.toc deleted file mode 100644 index f91db11..0000000 --- a/TitanLocation/TitanLocation_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds coordinates and location information to Titan Panel -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanLocation.lua diff --git a/TitanLocation/TitanLocation_Mainline.toc b/TitanLocation/TitanLocation_Mainline.toc index e788578..0f24b24 100644 --- a/TitanLocation/TitanLocation_Mainline.toc +++ b/TitanLocation/TitanLocation_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\AddOns\TitanLocation\TitanLocation ## Notes: Adds coordinates and location information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanLocation/TitanLocation_Vanilla.toc b/TitanLocation/TitanLocation_Vanilla.toc new file mode 100644 index 0000000..24545fd --- /dev/null +++ b/TitanLocation/TitanLocation_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds coordinates and location information to Titan Panel +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanLocation.lua diff --git a/TitanLootType/TitanLootType_Classic.toc b/TitanLootType/TitanLootType_Classic.toc index a945e97..3f0d33c 100644 --- a/TitanLootType/TitanLootType_Classic.toc +++ b/TitanLootType/TitanLootType_Classic.toc @@ -1,9 +1,9 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## Notes: Adds group loot and instance difficulty information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: TitanClassicLootTypeSaved ## OptionalDeps: -## Dependencies: TitanClassic +## Dependencies: Titan TitanClassicLootType.xml diff --git a/TitanLootType/TitanLootType_Mainline.toc b/TitanLootType/TitanLootType_Mainline.toc index 490449e..4ceb153 100644 --- a/TitanLootType/TitanLootType_Mainline.toc +++ b/TitanLootType/TitanLootType_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\AddOns\TitanLootType\TitanLootType ## Notes: Adds group loot and instance difficulty information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanPerformance/TitanPerformance_Classic.toc b/TitanPerformance/TitanPerformance_Classic.toc deleted file mode 100644 index eafb90e..0000000 --- a/TitanPerformance/TitanPerformance_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds FPS and Garbage collection information to Titan Panel -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanPerformance.lua diff --git a/TitanPerformance/TitanPerformance_Mainline.toc b/TitanPerformance/TitanPerformance_Mainline.toc index 9b3bba8..64ffe84 100644 --- a/TitanPerformance/TitanPerformance_Mainline.toc +++ b/TitanPerformance/TitanPerformance_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\AddOns\TitanPerformance\TitanPerformance ## Notes: Adds FPS and Garbage collection information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanPerformance/TitanPerformance_Vanilla.toc b/TitanPerformance/TitanPerformance_Vanilla.toc new file mode 100644 index 0000000..b0e1efe --- /dev/null +++ b/TitanPerformance/TitanPerformance_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds FPS and Garbage collection information to Titan Panel +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanPerformance.lua diff --git a/TitanRegen/TitanRegen.lua b/TitanRegen/TitanRegen.lua index f5dcb85..accede2 100644 --- a/TitanRegen/TitanRegen.lua +++ b/TitanRegen/TitanRegen.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: duplicate-set-field -- ************************************************************************** --- * TitanClassicRegen.lua +-- * TitanRegen.lua -- * -- * By: TitanMod, Dark Imakuni, Adsertor and the Titan Panel Development Team -- ************************************************************************** diff --git a/TitanRegen/TitanRegen_Classic.toc b/TitanRegen/TitanRegen_Classic.toc deleted file mode 100644 index ab3afe5..0000000 --- a/TitanRegen/TitanRegen_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fRegen|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds a regen monitor to Titan Panel to show HP/MANA regen - Classic versions only -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanRegen.lua \ No newline at end of file diff --git a/TitanRegen/TitanRegen_Vanilla.toc b/TitanRegen/TitanRegen_Vanilla.toc new file mode 100644 index 0000000..cd82c70 --- /dev/null +++ b/TitanRegen/TitanRegen_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fRegen|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds a regen monitor to Titan Panel to show HP/MANA regen - Classic versions only +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanRegen.lua \ No newline at end of file diff --git a/TitanRepair/TitanRepair.lua b/TitanRepair/TitanRepair.lua index 351a859..a4faec3 100644 --- a/TitanRepair/TitanRepair.lua +++ b/TitanRepair/TitanRepair.lua @@ -61,7 +61,7 @@ TR.equip_most = { TR.last_scan = GetTime() -- seconds with milliseconds - sec.milli TR.scan_time = 0 TR.scan_running = false -if TITAN_ID == "TitanClassic" then +if Titan_Global.switch.game_ammo then TR.scan_start = 18 else TR.scan_start = 17 @@ -89,16 +89,10 @@ local slots = { [18] = {name = "RANGEDSLOT"}, } -TR.guild_bank = true -TR.wowversion = select(4, GetBuildInfo()) -if TR.wowversion < 20300 then - -- No guild bank - TR.guild_bank = false -else - -- Guild bank exists - TR.guild_bank = true -end -if TR.wowversion < 100000 then +TR.guild_bank = Titan_Global.switch.guild_bank + +-- WoW changed the parse string for items... +if Titan_Global.wowversion < 100000 then -- Not retail parse_item = "|?c?f?f?(%x*)|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" @@ -1547,6 +1541,4 @@ local function Create_Frames() end -if TITAN_ID then -- it exists - Create_Frames() -- do the work -end +Create_Frames() diff --git a/TitanRepair/TitanRepair_Classic.toc b/TitanRepair/TitanRepair_Classic.toc deleted file mode 100644 index db110c1..0000000 --- a/TitanRepair/TitanRepair_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors. Adds selling of grey items. -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanRepair.lua diff --git a/TitanRepair/TitanRepair_Mainline.toc b/TitanRepair/TitanRepair_Mainline.toc index ff39168..de2d4dd 100644 --- a/TitanRepair/TitanRepair_Mainline.toc +++ b/TitanRepair/TitanRepair_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\AddOns\TitanRepair\TitanRepair ## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors. Adds selling of grey items. ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanRepair/TitanRepair_Vanilla.toc b/TitanRepair/TitanRepair_Vanilla.toc new file mode 100644 index 0000000..05aff95 --- /dev/null +++ b/TitanRepair/TitanRepair_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors. Adds selling of grey items. +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanRepair.lua diff --git a/TitanVolume/TitanVolume_Classic.toc b/TitanVolume/TitanVolume_Classic.toc deleted file mode 100644 index b1260de..0000000 --- a/TitanVolume/TitanVolume_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds a volume control icon on your Titan Bar -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanVolume.lua diff --git a/TitanVolume/TitanVolume_Mainline.toc b/TitanVolume/TitanVolume_Mainline.toc index 90ca727..63d99ac 100644 --- a/TitanVolume/TitanVolume_Mainline.toc +++ b/TitanVolume/TitanVolume_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\AddOns\TitanVolume\Artwork\TitanVolumeHigh ## Notes: Adds a volume control icon on your Titan Bar ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanVolume/TitanVolume_Vanilla.toc b/TitanVolume/TitanVolume_Vanilla.toc new file mode 100644 index 0000000..fba8739 --- /dev/null +++ b/TitanVolume/TitanVolume_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds a volume control icon on your Titan Bar +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanVolume.lua diff --git a/TitanXP/TitanXP_Classic.toc b/TitanXP/TitanXP_Classic.toc deleted file mode 100644 index 99ec7eb..0000000 --- a/TitanXP/TitanXP_Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11507, 40401 -## Title: Titan Panel [|cffeda55fXP|r] |cff00aa008.2.6|r -## Version: 8.2.6 -## Notes: Adds information to Titan Panel about XP earned and time to level -## Author: Titan Panel Development Team (http://www.titanpanel.org) -## SavedVariables: -## OptionalDeps: -## Dependencies: TitanClassic -TitanXP.lua diff --git a/TitanXP/TitanXP_Mainline.toc b/TitanXP/TitanXP_Mainline.toc index 4842b68..2cc2572 100644 --- a/TitanXP/TitanXP_Mainline.toc +++ b/TitanXP/TitanXP_Mainline.toc @@ -1,6 +1,6 @@ ## Interface: 110107 -## Title: Titan Panel [|cffeda55fXP|r] |cff00aa008.2.6|r -## Version: 8.2.6 +## Title: Titan Panel [|cffeda55fXP|r] |cff00aa008.3.0|r +## Version: 8.3.0 ## IconTexture: Interface\Icons\xp_icon ## Notes: Adds information to Titan Panel about XP earned and time to level ## Author: Titan Panel Development Team (http://www.titanpanel.org) diff --git a/TitanXP/TitanXP_Vanilla.toc b/TitanXP/TitanXP_Vanilla.toc new file mode 100644 index 0000000..b41ba9e --- /dev/null +++ b/TitanXP/TitanXP_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11507, 50500 +## Title: Titan Panel [|cffeda55fXP|r] |cff00aa008.3.0|r +## Version: 8.3.0 +## Notes: Adds information to Titan Panel about XP earned and time to level +## Author: Titan Panel Development Team (http://www.titanpanel.org) +## SavedVariables: +## OptionalDeps: +## Dependencies: Titan +TitanXP.lua