- removed most of the rest of the garbage that was being generated during combat or when changing targets

- reduced cpu usage by 33%-50% across the board (and more in some cases) by changing how updates are registered and how often they run. now the 'update period' slider actually matters. it defaults to 0.033 meaning that frames update about 30 times a second instead of every frame
- fixed the "always" display mode for cooldown bars to respect alpha settings (ooc/with target/in combat/etc.)
This commit is contained in:
Parnic
2010-10-25 02:05:58 +00:00
parent d0be3b42a7
commit e003fab854
20 changed files with 324 additions and 187 deletions

View File

@ -6,6 +6,8 @@ function ComboPointsBar.prototype:init()
self:SetDefaultColor("ComboPointsBarMin", 1, 1, 0)
self:SetDefaultColor("ComboPointsBarMax", 0, 1, 0)
self.bTreatEmptyAsFull = true
end
function ComboPointsBar.prototype:GetOptions()
@ -37,6 +39,7 @@ function ComboPointsBar.prototype:GetDefaultSettings()
defaults.offset = 8
defaults.enabled = false
defaults.alwaysDisplay = false
defaults.desiredLerpTime = 0.05
return defaults
end