ToC Updates

This commit is contained in:
Tercio Jose
2024-03-25 13:48:33 -03:00
parent 6dc43b433c
commit 66c94a135f
12 changed files with 39 additions and 22 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
## Notes-ruRU: Незаменимый инструмент, чтобы произвести впечатление на цыпочку в вашем рейде.
+1 -1
View File
@@ -1,4 +1,4 @@
## Interface: 11500
## Interface: 11501
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
## Notes-ruRU: Незаменимый инструмент, чтобы произвести впечатление на цыпочку в вашем рейде.
+12 -2
View File
@@ -18,8 +18,8 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()
Details.build_counter = 12553
Details.alpha_build_counter = 12553 --if this is higher than the regular counter, use it instead
Details.build_counter = 12578
Details.alpha_build_counter = 12578 --if this is higher than the regular counter, use it instead
Details.dont_open_news = true
Details.game_version = version
Details.userversion = version .. " " .. Details.build_counter
@@ -119,6 +119,8 @@
Details222.AutoRunCode = {}
--options panel
Details222.OptionsPanel = {}
--store bar icons (left side of the damage bar)
Details222.BarIconSetList = {}
Details222.Instances = {}
Details222.Combat = {}
Details222.MythicPlus = {
@@ -181,6 +183,14 @@ do
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale("Details")
local news = {
{"v10.2.6.12578.156", "March 25th, 2024"},
"Added phase and elapsed time for boss wipes on the segment selection menu.",
"Added an option to toggle between rounded and squared tooltips.",
"Fixed an issue with icons not showing on classic versions of the game.",
"Changed Augmentation tooltip color to darkgreen.",
"When leaving a m+ dungeon, Details! will wait for the player to re-enter the dungeon before finishing and creating the overall m+ segment.",
"Added a function for artists add custom icon sets for class or specs: Details:AddCustomIconSet(path, dropdownOptionName[[[[[, isSpecIcons], icon], texCoords], iconSize], iconColor]) (Flamanis).",
{"v10.2.5.12550.156", "March 13th, 2024"},
"Added a combat selection option into the breakdown window, providing convenience when browsing damage or healing data in that window.",
"Added a report button to the breakdown window, allowing you to report spell damage, targets, and phases directly from that window.",
+16 -9
View File
@@ -1810,7 +1810,7 @@ end
local defaultClassIconCoords = {0.25, 0.50, 0, 0.25}
local defaultSpecIconCoords = {2/512, 32/512, 480/512, 510/512}
Details222.iconSetList = {
Details222.BarIconSetList = {
{value = [[]], label = Loc ["STRING_OPTIONS_BAR_ICONFILE1"], icon = defaultIconTexture, texcoord = defaultClassIconCoords, iconsize = defaultIconSize, iconcolor = {1, 1, 1, .3}},
{value = [[Interface\AddOns\Details\images\classes_small]], label = Loc ["STRING_OPTIONS_BAR_ICONFILE2"], icon = defaultIconTexture, texcoord = defaultClassIconCoords, iconsize = defaultIconSize},
{value = [[Interface\AddOns\Details\images\spec_icons_normal]], label = "Specialization", isSpec = true, icon = [[Interface\AddOns\Details\images\icons]], texcoord = defaultSpecIconCoords, iconsize = defaultIconSize},
@@ -1821,16 +1821,23 @@ end
{value = [[Interface\AddOns\Details\images\classes]], label = Loc ["STRING_OPTIONS_BAR_ICONFILE5"], icon = defaultIconTexture, texcoord = defaultClassIconCoords, iconsize = defaultIconSize},
}
function Details:AddCustomIconSet (path, label, isSpecIcons, icon, texCoords, iconSize, iconColor)
table.insert(Details222.iconSetList,
function Details:AddCustomIconSet(path, dropdownLabel, isSpecIcons, dropdownIcon, dropdownIconTexCoords, dropdownIconSize, dropdownIconColor)
--checking the parameters to improve debug for the icon set author
assert(type(self) == "string", "Details:AddCustomIconSet() did you used Details.AddCustomIconSet instead of Details:AddCustomIconSet?")
assert(type(path) ~= "string", "Details:AddCustomIconSet() 'path' must be a string.")
assert(string.len(path) < 16, "Details:AddCustomIconSet() invalid path.")
table.insert(Details222.BarIconSetList,
{
value = path or [[]],
label = label or 'Missing Label',
value = path,
label = dropdownLabel or "Missing Label",
isSpec = isSpecIcons,
icon = icon or defaultIconTexture,
texcoord = texCoords or (isSpecIcons and defaultSpecIconCoords or defaultClassIconCoords),
iconsize = iconSize or defaultIconSize,
iconcolor = iconColor
icon = dropdownIcon or defaultIconTexture,
texcoord = dropdownIconTexCoords or (isSpecIcons and defaultSpecIconCoords or defaultClassIconCoords),
iconsize = dropdownIconSize or defaultIconSize,
iconcolor = dropdownIconColor
}
)
return true
end
+2 -2
View File
@@ -1166,14 +1166,14 @@ do
end
local builtIconList = function()
for k,v in ipairs(Details222.iconSetList) do
for k,v in ipairs(Details222.BarIconSetList) do
if v.isSpec then
v.onclick = OnSelectIconFileSpec
else
v.onclick = OnSelectIconFile
end
end
return Details222.iconSetList
return Details222.BarIconSetList
end
local buildSection = function(sectionFrame)
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details!: Compare 2.0
## Notes: Replace the Compare tab in the player breakdown window.
## RequiredDeps: Details
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details!: Encounter Breakdown (plugin)
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
## RequiredDeps: Details
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details!: Raid Check (plugin)
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
## RequiredDeps: Details
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details!: Streamer (plugin)
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
## RequiredDeps: Details
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details!: Tiny Threat (plugin)
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
## RequiredDeps: Details
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard