Commit Graph

47 Commits

Author SHA1 Message Date
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
41ae17ba9a Continue replacement of WowVer checks 2022-09-18 17:50:37 -05: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
a18144aec0 9.0 compatibility updates - initial attempt 2020-10-13 08:46:41 -05:00
819cc64aca Maybe fix pet health visibility on teleport
Untested fix for a similar issue as seen on other modules.
2020-06-25 10:09:52 -05: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
901b49f7b3 Attempt to fix pet health/power not updating when entering instance 2019-06-03 22:46:24 -05:00
53b59b5be2 Attempt to fix pet health not updating (wowace ticket 245) 2019-04-16 17:37:11 -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
2076fd7736 - removed all references to pet happiness 2011-04-27 00:54:41 +00:00
fb09700ec3 - fixed pet health/mana modules getting stuck on the player when leaving an instance while on a vehicle 2010-11-21 22:29:37 +00:00
a51fe8e06f - changed the pet health/mana bars to monitor the player whenever the player enters a vehicle since the player bars already change to display vehicle info in that situation 2010-10-21 02:49:59 +00:00
cb77e8358b - fixed 'inverse' mode to work with potential SnD bar
- expanded range of class power counters (shards, holy power) by request
- fixed lacerate and sunder count modules to work with 3 max charges instead of 5 as per the new patch (these *really* need to go away and be auto-replaced by custom counters...)
- yet another fix for text sometimes displaying the unit name for PetHealth
- fixed how the 'second highest threat' bar is drawn so that it actually works with all textures
2010-10-17 20:20:00 +00:00
3af07ee30d - removed ClickCastFrame unregistration to avoid problems with people who have the older version of clique (basically everyone) 2010-10-17 05:46:54 +00:00
f63c263669 - cleanup of mouse interaction for all modules 2010-10-16 20:00:35 +00:00
d315ee3e3c - fixed bar text not properly hiding on bars that use RegisterUnitWatch to control visibility 2010-10-16 03:07:19 +00:00
99c45e7312 - fixed text on bars using RegisterUnitWatch to be hidden properly (more fallout from the change in r644 - this was specific to people that had dogtag support disabled) 2010-10-14 05:50:03 +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
e95db24dd0 - replaced AceEvent-2.0 with AceEvent-3.0/AceTimer-3.0 2010-09-10 06:30:56 +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
0df55bb8bd - missed an event registration for UNIT_HAPPINESS in PetHealth; changed to UNIT_POWER for cataclysm 2010-09-04 23:09:10 +00:00
f5c5cf556d - fixed potential taint issues on PetHealth bar by using (Un)RegisterUnitWatch instead of manually showing/hiding it 2010-07-27 02:18:04 +00:00
b2bedc381b - added click-targeting to pet health module 2010-07-25 23:42:13 +00:00
228111204a - fixed pet health to be colored properly whenever the "color bar by health %" option is checked 2010-04-24 14:11:56 +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
d5759d7a98 - fixed divide-by-zero causing a crash on the PTR (this *really* shouldn't cause a crash since it's UI script, but it would appear that the engine is not check for div-by-0 on the PTR. this could potentially happen in a lot of other places...) 2009-03-02 04:45:27 +00:00
49a590e879 - added a global toggle for DogTags so they can be enabled or disabled for the mod
- added an optional rare/elite/rare-elite indicator to the target health bar (off by default)
- made configuration mode show target raid icons (and the new elite indicator as well)
2008-10-26 23:02:13 +00:00
3dc6525231 - added user-requested per-bar vertical offsets and setup pet and focus bars to fit within the vertical center of the hud 2008-08-26 04:32:16 +00:00
3dc2f7f80f - added a configuration mode to show all bars temporarily so they can be placed
- changed how frames are shown and hidden so we don't call show/hide unnecessarily
- widened the min/max offset numbers to allow greater placement flexibility
2008-04-17 02:38:54 +00:00
55028c88fb - updated to support LibDogTag-3.0
- on first run, forced reset all custom DogTags to the module default since some of the old default tags no longer work
2008-04-03 07:10:30 +00:00
747bc0bc42 - un-anchored pet health/mana text values to the bottom of the frame. now that vertical offsets are available, we can use them instead of anchoring/using setpoint
- bumped up the default position of the pet mana/health values to get them out of the way of nearby bars
- changed pet health/mana dogtags to display on the uppertext block instead of the lowertext block so it behaves and alphas like all other bars
2008-02-11 18:03:05 +00:00
af915b54b2 - re-enabled DogTag after the stack overflow fix
- changed to registering FontStrings on the parent class instead of Evaluate'ing each child every Update
2008-02-10 04:23:23 +00:00
3e81b0b11b - temporarily removing DogTag code so that Pitbull and IceHUD can play together in harmony until DogTag is fixed 2008-02-09 03:24:25 +00:00
37c253c98d - removed dependency on LibDogTag-2.0 by request. DogTag formatting is available if DogTag is present but IceHUD will use the old formatting otherwise 2008-01-22 02:04:26 +00:00
9b27f345ec - converted upper/lower text on most bars to use LibDogTag formatting for greater user control
- added Deformat library references in embeds.xml
2008-01-21 03:02:51 +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
f63072e40c Version 0.9
- New round bar texture
- Standalone druid mana bar
- Lots of stuff I can't remember
2007-04-16 16:58:00 +00:00
b7decf6a3e Fixed a pet happiness bug (most likely) 2006-10-05 16:32:40 +00:00
0420e2510d Bugfixes 2006-10-02 18:14:43 +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
439b3fecec Bugfixes & improved RoundBar texture 2006-08-26 13:50:55 +00:00
7050788344 Version 0.5
- Graphical combo points
- Various tweaks and bug fixes (ie. mirror timer bar)
2006-08-20 16:28:50 +00:00
212aa3c9f8 - Even more configuration options
- SpellStatus lib for spell casting (shows rank now too)
2006-08-13 15:39:30 +00:00
2f51443091 Version 0.4
- New bar type
- More configuration options
2006-08-06 05:45:56 +00:00
61b0d95afa Version 0.3
- More configuration options
- Added another texture option for bars
- /icehud now opens Dewdrop menu directly
- Rogue/cat energy ticker
2006-07-28 13:10:25 +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