Skip to content

Commit

Permalink
Toc-toc-tocking's on heaven's door
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Aug 19, 2024
1 parent 2f752e9 commit 9a4f6b8
Show file tree
Hide file tree
Showing 25 changed files with 21 additions and 85 deletions.
2 changes: 1 addition & 1 deletion Details.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## Interface-Cata: 40400
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
Expand Down
2 changes: 1 addition & 1 deletion Libs/DF/LibDFramework-1.0.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## Title: Lib: LibDFramework-1.0
## Notes: Base Framework for many Addons

Expand Down
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
local addonName, Details222 = ...
local version, build, date, tvs = GetBuildInfo()

Details.build_counter = 12877
Details.alpha_build_counter = 12877 --if this is higher than the regular counter, use it instead
Details.build_counter = 12878
Details.alpha_build_counter = 12878 --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
Expand Down
2 changes: 1 addition & 1 deletion plugins/Details_Compare2/Details_Compare2.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## Title: Details!: Compare 2.0
## Notes: Replace the Compare tab in the player breakdown window.
## RequiredDeps: Details
Expand Down
2 changes: 1 addition & 1 deletion plugins/Details_DataStorage/Details_DataStorage.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## 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
Expand Down
6 changes: 4 additions & 2 deletions plugins/Details_EncounterDetails/frames_chart.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ local Graphics = LibStub:GetLibrary("LibGraph-2.0")
local ipairs = ipairs
local _GetSpellInfo = Details.getspellinfo
local unpack = unpack

---@type detailsframework
local detailsFramework = DetailsFramework
local CreateFrame = CreateFrame
local GameCooltip = GameCooltip
Expand Down Expand Up @@ -137,7 +139,7 @@ function encounterDetails:ShowChartFrame()
--check if this is a valid chart data
if (thisChartData and thisChartData.max_value and thisChartData.max_value > 0) then
local tryNumber = thisCombatObject.is_boss.try_number or i
multiChartPanel:AddData(thisChartData, smoothnessLevel, "Try #" .. tryNumber, chartLineColors[chartIndex])
multiChartPanel:AddData(thisChartData, nil, smoothnessLevel, "Try #" .. tryNumber, chartLineColors[chartIndex])
multiChartPanel:SetXAxisData(elapsedTime)
chartIndex = chartIndex + 1
end
Expand All @@ -154,7 +156,7 @@ function encounterDetails:ShowChartFrame()

encounterDetails:UpdatePhaseIndicators(multiChartPanel, combatObject)

multiChartPanel:AddData(currentChartData, smoothnessLevel, "current", chartLineColors[1])
multiChartPanel:AddData(currentChartData, nil, smoothnessLevel, "current", chartLineColors[1])
multiChartPanel:SetXAxisData(combatObject:GetCombatTime())
multiChartPanel:Plot()
multiChartPanel:Show()
Expand Down
4 changes: 0 additions & 4 deletions plugins/Details_RaidCheck/Details_RaidCheck-Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@
## RequiredDeps: Details
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_RaidCheck.lua
6 changes: 1 addition & 5 deletions plugins/Details_RaidCheck/Details_RaidCheck.toc
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
## Interface: 110000
## Interface: 110002
## 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
## IconTexture: Interface\AddOns\Details\images\minimap

## X-Wago-ID: WL6Jk2Kv

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_RaidCheck.lua
4 changes: 0 additions & 4 deletions plugins/Details_RaidCheck/Details_RaidCheck_Cata.toc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@

## X-Wago-ID: WL6Jk2Kv

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_RaidCheck.lua
4 changes: 0 additions & 4 deletions plugins/Details_RaidCheck/Details_RaidCheck_Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@
## RequiredDeps: Details
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_RaidCheck.lua
3 changes: 0 additions & 3 deletions plugins/Details_Streamer/Details_Streamer-Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@
## SavedVariables: Details_StreamerDB
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Streamer.lua
12 changes: 5 additions & 7 deletions plugins/Details_Streamer/Details_Streamer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ local SharedMedia = LibStub:GetLibrary ("LibSharedMedia-3.0")
local LDB = LibStub ("LibDataBroker-1.1", true)
local LDBIcon = LDB and LibStub ("LibDBIcon-1.0", true)
local LibWindow = LibStub ("LibWindow-1.1")
local Details = _G.Details
local GetSpellInfo = Details.GetSpellInfo
local _

---need cleanup Loc ["STRING_MEMORY_ALERT_BUTTON"],
Expand Down Expand Up @@ -2279,23 +2277,23 @@ function StreamOverlay.OpenOptionsPanel (fromOptionsPanel)
dropdown_profile:Select (Details_StreamerDB.characters [pname])

end
optionsFrame.NewProfileButton = Details.gump:CreateButton (optionsFrame, add_profile, 60, 18, "New Profiile", _, _, _, _, _, _, Details.gump:GetTemplate ("dropdown", "OPTIONS_DROPDOWN_TEMPLATE"), Details.gump:GetTemplate ("font", "OPTIONS_FONT_TEMPLATE"))
optionsFrame.NewProfileButton = Details.gump:CreateButton (optionsFrame, add_profile, 60, 18, "New Profile", _, _, _, _, _, _, Details.gump:GetTemplate ("dropdown", "OPTIONS_DROPDOWN_TEMPLATE"), Details.gump:GetTemplate ("font", "OPTIONS_FONT_TEMPLATE"))
optionsFrame.NewProfileButton:SetPoint ("left", dropdown_profile, "right", 4, 0)
end

--enable / disable plugin button
local toggle_OnOff = function()
local pluginStable = Details:GetPluginSavedTable("DETAILS_PLUGIN_STREAM_OVERLAY")
local pluginSavedTable = Details:GetPluginSavedTable("DETAILS_PLUGIN_STREAM_OVERLAY")
local pluginObject = Details:GetPlugin("DETAILS_PLUGIN_STREAM_OVERLAY")

if (pluginStable.enabled) then
pluginStable.enabled = false
if (pluginSavedTable.enabled) then
pluginSavedTable.enabled = false
pluginObject.__enabled = false
Details:SendEvent("PLUGIN_DISABLED", pluginObject)
optionsFrame.toggleButton.text = "Start Plugin"

else
pluginStable.enabled = true
pluginSavedTable.enabled = true
pluginObject.__enabled = true
Details:SendEvent("PLUGIN_ENABLED", pluginObject)
optionsFrame.toggleButton.text = "Disable Plugin"
Expand Down
6 changes: 1 addition & 5 deletions plugins/Details_Streamer/Details_Streamer.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## Title: Details!: Streamer (plugin)
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
## RequiredDeps: Details
Expand All @@ -7,8 +7,4 @@

## X-Wago-ID: VBNB9MGx

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Streamer.lua
4 changes: 0 additions & 4 deletions plugins/Details_Streamer/Details_Streamer_Cata.toc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@

## X-Wago-ID: VBNB9MGx

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Streamer.lua
3 changes: 0 additions & 3 deletions plugins/Details_Streamer/Details_Streamer_Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@
## SavedVariables: Details_StreamerDB
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Streamer.lua
6 changes: 1 addition & 5 deletions plugins/Details_TinyThreat/Details_TinyThreat-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
## Interface: 11503
## Interface: 11501
## 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
## OptionalDeps: Ace3
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

enUS.lua
ptBR.lua

Expand Down
4 changes: 0 additions & 4 deletions plugins/Details_TinyThreat/Details_TinyThreat-Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
## OptionalDeps: Ace3
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

enUS.lua
ptBR.lua

Expand Down
5 changes: 1 addition & 4 deletions plugins/Details_TinyThreat/Details_TinyThreat.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## 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
Expand All @@ -7,9 +7,6 @@

## X-Wago-ID: Rn6VJW6d

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

enUS.lua
ptBR.lua
Expand Down
3 changes: 0 additions & 3 deletions plugins/Details_TinyThreat/Details_TinyThreat_Cata.toc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

## X-Wago-ID: Rn6VJW6d

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

enUS.lua
ptBR.lua
Expand Down
4 changes: 0 additions & 4 deletions plugins/Details_TinyThreat/Details_TinyThreat_Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
## OptionalDeps: Ace3
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

enUS.lua
ptBR.lua

Expand Down
4 changes: 0 additions & 4 deletions plugins/Details_Vanguard/Details_Vanguard-Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@
## OptionalDeps: Ace3
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Vanguard.lua
6 changes: 1 addition & 5 deletions plugins/Details_Vanguard/Details_Vanguard.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000
## Interface: 110002
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
Expand All @@ -8,8 +8,4 @@

## X-Wago-ID: ZQ6abgKW

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Vanguard.lua
4 changes: 0 additions & 4 deletions plugins/Details_Vanguard/Details_Vanguard_Cata.toc
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,5 @@

## X-Wago-ID: ZQ6abgKW

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Vanguard.lua

4 changes: 0 additions & 4 deletions plugins/Details_Vanguard/Details_Vanguard_Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@
## OptionalDeps: Ace3
## IconTexture: Interface\AddOns\Details\images\minimap

#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@

Details_Vanguard.lua

0 comments on commit 9a4f6b8

Please sign in to comment.