49 Commits

Author SHA1 Message Date
40a25a3315 Apply Strata adjustment in a few more places 2023-08-02 17:38:47 -05:00
077286fd5f Show Runic Power on a 0-100ish scale with DogTags off 2023-04-01 20:17:50 -05:00
c5c44edf64 Fix several issues with low thresholds
This addresses a user-reported issue where Low Threshold was not usable with Color By Health/Mana % disabled, due to some internal technical reasons. This was exacerbated by the recent fix that allowed Low Threshold and Color By Health % to work together.

This also fixes the low threshold flash to apply immediately when changing the option, and fixes the Low Threshold % slider to be usable without the Low Flash option set.

Finally, it hides the Low Flash option for bars that don't support it (right now that's just PlayerMana, I think because it only sets the low threshold to the Min Mana Color even if the class uses a different power type...something for future me...).

Fixes wowace ticket #334
2022-12-13 20:48:02 -06:00
a80daface7 Unify low flash and low color thresholds
Low Flash was using >= while Low Color was using >, so they would activate at ever-so-slightly different values (0.4 vs 0.39999, for example).
2022-11-25 15:31:26 -06:00
f6db2f3b7c Fix Low Threshold and Color By Health % to work together
If Low Threshold was checked, then scaling by health/mana % was getting overridden and forced to the Max Health/Mana Color after being set to the scaled value.
2022-11-25 15:30:05 -06:00
e313e679ae Basic Classic-BC support
This has been tested on Classic PTR and Retail, but only with a Rogue
character. Don't have a ton of time to do more exhaustive tests right now.

Fixes #11
2021-05-09 12:04:23 -05:00
354fb483bb Fix incorrect mana alpha when max mana is 0 2021-03-21 11:18:58 -05:00
a18144aec0 9.0 compatibility updates - initial attempt 2020-10-13 08:46:41 -05:00
261be76d90 Fixed Rage showing on a scale of 0-1000 instead of 0-100 w/o DogTags on
Added a note about why this is happening for the next time I need to mess with it. I am fairly certain there is code in IceHUD that's already dealing with the 0-1000 scale and handling it, so I don't want to disrupt stuff without having enough testing.
2020-01-11 22:31:34 -06:00
ba8748ecca First batch of WoW Classic compatibility updates
This has been tested on Classic with a Rogue up to level 5 using various modules and casually checked against a few level 1 classes. I'm sure there's a lot more to do here. I also made sure to test on Live.

Where possible I tried to check for API availability rather than specific client versions or program IDs. There are many cases where that's impractical, however, so version/program ID checks were used.

This was tested with:
* Ace3 @r1225
* AceGUI-3.0-SharedMediaWidgets @r61
* LibDBIcon-1.0 @v8.2.0
* LibDogTag-3.0 @v80200.1
* LibDogTag-Unit-3.0 @v80200.1-2-g93a898d-alpha
* LibRangeCheck-2.0 @v4.2.3 (with a couple of local changes)
* LibSharedMedia-3.0 @r113-alpha
2019-08-11 23:21:06 -05:00
89ef91b9b3 Initial dump of BfA compatibility
Updated for:
- SPELL_POWER_* constants becoming Enum.PowerType.*
- Rank no longer existing in return values for UnitAura, UnitBuff, UnitDebuff, UnitCastingInfo, UnitChannelInfo
- UNIT_POWER event becoming UNIT_POWER_UPDATE
- UnitPopupFrames no longer existing
- Removed events: PLAYER_PET_CHANGED, UNIT_MAXPOWER, PET_BAR_CHANGED, UNIT_DYNAMIC_FLAGS
- Texture return value from UnitAura type changing (name -> id)
- All Warlock specializations using soul shards
- Death Knight rune changes

Haven't tested all classes/specializations yet, so I'm sure I missed some stuff.
Probably need to add support for the new circular cooldown wipe flourish added in the base client.
Saw a problem with cooldown flashes being delayed on DK runes becoming available that probably need to be fixed.
2018-06-06 22:57:35 -05:00
5003608a34 Fixed Insanity display with DogTags disabled
Apparently internally Insanity is multiplied by 100 from the value that's actually displayed on the ui (so the internal max for my test character is 10500 while the displayed amount is 105).
2018-02-10 17:44:32 -06:00
ca544384b8 Fixed bar rotation breaking low thresholds
I guess something in the 7.0 client must have changed how animations work for inherited frames because it would appear that the RotateFrame call for the child flashFrame is now causing issues somehow. Removing the call allows the flash/low threshold frame to travel alongside the parent frame when rotating.
2016-07-24 17:04:07 -05:00
46152e92f4 Fixed rotation not resetting on profile change
When the player had one profile with a bar rotated 90 degrees and another profile with the same bar not rotated, the non-rotated profile would fail to put the bar back in its original location. Thanks for the detailed report, spacegato!
2016-07-24 16:52:12 -05:00
f214c945af Added second argument to UnitPower
I keep seeing things online saying the one-argument version of UnitPower has been deprecated, so I figured I'd go ahead and update my few uses of it in case it actually gets removed at some point. I haven't had any trouble with it, though.
2016-06-01 00:11:33 -05:00
d05c1dac18 Updated my previous change to re-enable the "tapped" feature with the new Legion API 2016-05-29 14:18:51 -05:00
9b5df60efa Removed UnitIsTapped usage for Legion 2016-05-24 00:50:14 -05:00
560e0674da - Changed low threshold step from 5% increments to 1% increments by request. 2014-12-07 07:51:58 -06:00
c60a44ee94 - Fixed a couple of places that I forgot to declare the variable _ as a local which was causing taint due to Blizzard also forgetting to declare _ as a global in the glyph frame. 2012-08-29 02:52:21 +00:00
e003fab854 - 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.)
2010-10-25 02:05:58 +00:00
e9ac3fd078 - potentially fixed reported error message though i've never seen it pop up myself
- fixed one instance of some global taint (neglected to declare _ as a local var)
2010-10-15 00:32:28 +00:00
e3833eb1e2 - hid the "Low Threshold Color" option on custom bars and cooldown bars since the option doesn't apply to them
- updated the description of a few "low threshold" settings so they make more sense to users (don't reference variable names)
2010-10-10 00:16:19 +00:00
1a3ba61e6d - fixed the "low threshold" flash to work properly on rotated bars 2010-10-10 00:03:15 +00:00
08861ecfe7 - first shot at localization of all configuration settings in IceHUD using AceLocale. note that all of these conversions were generated programmatically so it's possible that something went awry...very casual testing seemed okay, however. 2010-09-26 05:14:42 +00:00
250adfc2db - removed the last remnants of Ace2 (AceOO-2.0 and AceLibrary) thanks to a huge amount of help from ckknight for metatables 2010-09-17 05:41:04 +00:00
1961b66f57 - big giant options screen usability cleanup:
- colorized the FAQ and Module Settings description text to be more readable
- removed custom coloring from certain options that didn't match the rest
- hid a few debug-only settings
- consolidated all the 'create custom module' buttons into a drop-down + create button
- clarified description of some options so that their intent/purpose is more clear
- moved around/cleaned up headers for consistency
- doubled the width of long options so that they don't get cut off and ...'d
2010-09-12 22:36:02 +00:00
59344a134a - converted most of the mod to ace3. the only ace2 remaining is AceEvent-2 (probably easy to get away from) and AceOO-2 (not so easy)
- the ace3 conversion also broke the dependence on Waterfall and gave a much better configuration screen through AceConfigDialog; plus Waterfall is very broken in Cataclysm and it's unclear whether anyone will bother to fix it or not
- fixed a bug with the custom CD bar when changing profiles where it would generate endless errors until a reloadui
- removed DewDrop library as it was no longer in use
- temporarily removed FuBar plugin as it doesn't work as a mixin with AceAddon-3. i will eventually be bringing this back in some form (before the next full release version)
- removed an unused 'about' button on the config page and some empty headers...not sure why they were ever there
2010-09-05 20:11:33 +00:00
863e150a34 - added generic custom health and mana bars so that users can monitor any unit they want complete with click-targeting/-casting 2010-07-26 03:13:03 +00:00
f1ce0700e3 - switched UnitMana* calls to UnitPower* calls as that seems to be the replacement Blizzard is using in cataclysm 2010-07-02 16:23:35 +00:00
a5f1ee8df3 - added oft-requested combo points bar 2010-04-05 03:49:48 +00:00
ca4107446e - minor cleanup of the animation/scale-setting code to avoid duplicating chunks of code 2010-03-31 16:31:38 +00:00
4cb3f59ff2 Fix for removal of SetTexCoordModifiesRect in 3.3.3. 2010-03-24 23:54:14 +00:00
e785a1e1ca - fixed custom textures not applying to "low threshold" or "cast lag indicator" sections of various modules 2009-07-27 05:31:38 +00:00
0a0a816701 - more minor cleanups before tagging a new release version 2009-04-19 00:49:33 +00:00
10af4566d6 - added tons of divide-by-zero protection all over the place
- general cleanup of values passed to UpdateBar
2009-04-18 21:07:42 +00:00
8605f8de89 bug http://www.wowace.com/projects/ice-hud/tickets/13-low-health-colour/ - Low Health Colour
- added user-submitted ability to color a bar based on the low threshold. if it's above the threshold, the bar is max health/mana color, below the threshold is min health/mana color
- added a toggle to allow specifying whether or not to flash a bar when it falls below the low threshold
2009-03-01 17:42:27 +00:00
429fa4858e - added a configurable RunicPower color to the player, target, and tot mana bars
- made runic power behave like energy and rage for the "low threshold" flashing behavior
2009-02-26 03:57:33 +00:00
2dba044681 - properly set flash frame bar width 2009-02-26 01:10:38 +00:00
36bde7ef00 - fixed a bug with the low health flashing frame if alphas are set to 0 2008-04-18 14:35:47 +00:00
27f4e7c889 - added an intermediate color to health/mana blending values so health goes green => yellow => red instead of brown in the middle 2008-02-07 21:01:48 +00:00
3c46dfcadf - removed some local vars from the Update function to attempt to curb some hemorrhaging memory 2008-01-22 03:58:11 +00:00
ced858b06a - bump toc
- added the ability to scale most health/power bars by the amount they're filled up with a customizable max/min color (health can go green to red, for example)
- updated from SharedMedia-1.0 to LibSharedMedia-2.0
2008-01-19 01:26:18 +00:00
e949b5b350 Misc fixed and a preview for new texture (check 'Bar' type) 2006-10-16 13:16:56 +00:00
3e3b862c5d Changed frame stratas back to where they should have been all the time 2006-10-03 20:15:13 +00:00
203a0b7232 Unit bars now have an option to pulse on set threshold 2006-10-03 20:02:00 +00:00
fdbb8843ee Version 0.7
- Added an option to change the bar colors
- Using scheduled events now instead of Metrognome
- Some small bug fixes
2006-09-24 14:41:55 +00:00
b8956a45fe Version 0.6
- Improved TargetInfo and ToT module
- RoundBar texture looks better than ever
- PlayerHealth and TargetHealth modules have an option to turn off Blizzard default frames
- Fixed MH3 rounding bug
2006-09-02 20:20:01 +00:00
0106530c98 Version 0.2
- Added basic pet support
- Added configuration (via both console and Dewdrop)
- Fixed indexing problem with non-English clients
2006-07-21 09:11:03 +00:00
772fe5a179 Moved version 0.11 to SVN 2006-07-17 13:47:18 +00:00