v4.0.0-beta9-15-g3fe7404
Details
-
FilenamePitBull4-v4.0.0-beta9-15-g3fe7404.zip
-
Uploaded by
-
UploadedApr 9, 2010
-
Size753.30 KB
-
Downloads528
-
MD5ffcff40c0710f04d8c0d266e0818fb15
Supported WoW Retail Versions
- 3.3.3
Changelog
Shefki:
- Style cleanup in CastBar module.
Remove more camel casing and rename CREEPY_HEAD which is no longer a
head but just a generic warcraftl log
- Oops took one too many ends in the previous commit.
- Fix the bug that causes the auto-hide CastBar to ocassionally not hide.
There was a rare race condition between GetColor and FixCastData. As a
CastBar is fading out we bounce back and forth between these two
functions. When the calculation of the alpha gets to or below zero then
the bar should be hidden. GetColor would remove the cast_data and stop
the timer frame but not clear the frames. As a result the CastBar
would be stuck. Really, the GetColor function should not be deleting
entries in cast_data, that should always happen in FixCastData.
- Remove a parameter from a function call that was never needed. Oops.
- Fix Ticket #730: Fix deficit bars.
Can't avoid clamping to 0 and 1 and then storing it and then claimping
again for EPSILON and 1. If we only clamp to EPSILON then we end up
with zero values calculated which create bars of an indeterminite width.
- BetterStatusBar was not clamping the extra value properly.
When both the value and the extra value was 1 then we wouldn't clamp the
extra value before setting it because 1 - extraValue resulted in 0 and
we'd clamp between 1e-5 and 0./
- Fix Ticket #728: Error in BetterStatusBar
BetterStatusBar didn't deal with NaN being passed to it, e.g.
StatusBar:SetValue(0/0). It now treats this as zero.
- Fix Ticket #726: PetHeaders being used on non-pet based groups.
If you copy a group that was setup to use the pet header (Leave gaps for
pets) then this setting would be copied and applied to non-pet groups.
So if you copied a pet group and tried to make a raid then only raid
members with pets would be shown.
- Fix Ticket #549: Target highlights not always working.
This module had a number of logic problems with it. It had a mix of
multiple design patterns that we use in PB4 modules. Some parts of it
assumed that the highlight was only on the frame when it was shown and
some parts tried to hide and show the frame.
Includes a slight optomization, as the color for the highlight is now
only set on frame creation and the configuration code nows finds all the
highlight frames and changes their colors when the config changes.
The standard method of operation now for this module is to leave the
Highlight frame in existance unless the module is disabled for the
layout or the frame is entirely torn down. The frame will be made on
demand when it is first needed.
- Allow for fader modules to have priorities less than the default.
- Ticket #719: Add a priority system to the fader module system.
Fader modules can now return an optional priority parameter as the 2nd
return from their GetOpacity function. If no priority is returned then
it will be treated as priority 0. The lowest opacity of the highest
priority module will be used. This allows modules to be written to
force the opacity to be higher instead of simply lower.
- Just call the Focus frame Focus in LuaTexts like the rest of PB4.
We were using Focus-target as DogTags was using. But this is terribly
confusing when there is a Focus' target frame.
- Convert the mouseover handling for LuaTexts to events.
This is far more efficient since it's not updating on a polling basis.
- Fix the show overheal option for the VisualHeal module. It was always
using the setting for the currently selected layout in the config section
regardless of the layout for the frame.
- Avoid an error in showing the FocusFrame since blizzard removed
FocusFrame_Update()