Alpha 1.16.0

- Added option to be able to save the window's size and position within the profile.
- Added performance profile options.
- Added auto switch based on group roles also a switch for wipe.
- Fixed a bug where sometimes all non boss segments was considered boss encounters.
- Fixed the padlock image when sliders are deactivated.

- NewAPI: _detalhes:CheckForPerformanceProfile() check if is necessary change the performance profile.
- NewAPI: _detalhes:GetActorsOnDamageCache() return damage object from raid members inside the parser cache.
- NewAPI: _detalhes:GetActorsOnHealingCache() return healing object from raid members inside the parser cache.
This commit is contained in:
tercio
2014-06-09 16:42:54 -03:00
parent e62910b9da
commit e2d2910944
21 changed files with 1073 additions and 126 deletions
+12
View File
@@ -2457,6 +2457,7 @@
end
_detalhes:SchedulePetUpdate (7)
_detalhes:CheckForPerformanceProfile()
end
function _detalhes.parser_functions:PLAYER_ENTERING_WORLD (...)
@@ -2605,6 +2606,7 @@
_detalhes:WipePets()
_detalhes:SchedulePetUpdate (1)
_detalhes:InstanceCall (_detalhes.SetCombatAlpha, nil, nil, true)
_detalhes:CheckSwitchOnLogon()
end
else
_detalhes.in_group = IsInGroup() or IsInRaid()
@@ -2615,6 +2617,7 @@
_detalhes:SchedulePetUpdate (1)
_table_wipe (_detalhes.details_users)
_detalhes:InstanceCall (_detalhes.SetCombatAlpha, nil, nil, true)
_detalhes:CheckSwitchOnLogon()
else
_detalhes:SchedulePetUpdate (2)
_detalhes:CheckDetailsUsers()
@@ -2640,6 +2643,8 @@
_detalhes.can_panic_mode = true
end
_detalhes:CheckSwitchOnLogon() --eh logon mesmo
if (_detalhes.wipe_full_config) then
_detalhes_global = nil
_detalhes_database = nil
@@ -2766,6 +2771,13 @@
print ("group damage", #_detalhes.cache_healing_group)
end
function _detalhes:GetActorsOnDamageCache()
return _detalhes.cache_damage_group
end
function _detalhes:GetActorsOnHealingCache()
return _detalhes.cache_damage_group
end
function _detalhes:ClearParserCache()
--> clear cache | not sure if replacing the old table is the best approach