- Finished another cosmetic revamp on options panel.

- Rewrite on Raid Plugins Support, now can open more then 1 plugins at once on diferent windows.
- Functions inside custom right text now receives the actor object as first parameter.
- Added a large text editor for make changes on custom texts.
- Added cosmetic menus for report and erase segments button.
- Added new option for add borders on the bars.
- Added Death Barrier as a absorb spell.
- Speed improvaments on bar animations.
- Fixed a bug on overheal tooltip where was showing the Hps instead of overheal.
- Fixed few issues when ignoring combats with 5 seconds or less.
- Fixed bug when reloging inside a raid or dungeon instance was erasing pet owner database.
- Fixed Data Broker text where was passing the total damage/healing instead of Dps/Hps.

- Fixed a issue with _detalhes:Hex(): where wasn't correctly formating number below 16.
- New Api: _detalhes:SetBarBackdropSettings (enabled, size, color, texture): set row border settings.
- New Api: _detalhes:GetInstanceAttributeText(): return the text to show on the title text.
- New Api: _detalhes.RaidTables:DisableRaidMode (instance): turn off the raid mode in the instance.
- New Api: _detalhes:RaidPluginInstalled (plugin_name): return is the plugin is installed.
- New Api: _detalhes.RaidTables:EnableRaidMode (instance, plugin_name): enable the raid mode on the instance.
- New Api: _detalhes.RaidTables:GetAvailablePlugins(): return all plugins which is installed, enabled and not in use.
- New Api: _detalhes.RaidTables:IsAvailable (plugin_name, instance): return if the plugin is available for use.
- New Api: _detalhes.RaidTables:SetInUse (absolute_name, instance_number): declare a plugin as in use by a instance.
- New Api: _detalhes.RaidTables:switch (_, plugin_name, instance): change the plugin shown on the instance.
This commit is contained in:
tercio
2014-05-23 20:58:57 -03:00
parent e2e13288c0
commit b74b58ada6
41 changed files with 2080 additions and 1524 deletions
+11 -4
View File
@@ -66,7 +66,8 @@ local function CreatePluginFrames (data)
elseif (event == "SHOW") then --> plugin shown, enabled
instancia = _detalhes.RaidTables.instancia
instancia = Vanguard:GetInstance (Vanguard.instance_id)
for index, tankframe in _ipairs (Vanguard.TankFrames) do
DetailsFrameWork:RegisterForDetailsMove (tankframe.Frame.frame, instancia)
end
@@ -85,7 +86,7 @@ local function CreatePluginFrames (data)
Vanguard:IdentifyTanks()
if (Vanguard:IsInCombat()) then
instancia = _detalhes.RaidTables.instancia
instancia = Vanguard:GetInstance (Vanguard.instance_id)
_combat_object = _detalhes.tabela_vigente
_track_player_object = nil
_track_player_name = nil
@@ -101,7 +102,8 @@ local function CreatePluginFrames (data)
elseif (event == "COMBAT_PLAYER_ENTER") then --> a new combat has been started
instancia = _detalhes.RaidTables.instancia
--instancia = _detalhes.RaidTables.instancia
instancia = Vanguard:GetInstance (Vanguard.instance_id)
_combat_object = select (1, ...)
_track_player_object = nil
_track_player_name = nil
@@ -127,7 +129,7 @@ local function CreatePluginFrames (data)
_combat_object = select (1, ...)
Vanguard.Running = false
VanguardFrame:SetScript ("OnUpdate", onupdate)
VanguardFrame:SetScript ("OnUpdate", nil)
Vanguard:ResetBars()
Vanguard:ResetDamage()
@@ -1190,6 +1192,11 @@ local function CreatePluginFrames (data)
end
end
if (not _track_player_object) then
_detalhes:ScheduleTimer ("VanguardWait", 1)
return
end
--print ("Vanguard: playername: ".. _track_player_name)
hits_last = 0