40 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
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
7c2fe06fa8 Update changelog 2020-07-13 11:21:59 -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
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
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
fa8b895214 - mana modules animate regardless of 'predictedPower' setting now
- fixed occasional flickering in the cast bar and threat bar when they are first displayed
- minor code cleanup
2010-11-06 03:03:46 +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
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
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
8d4686f10c - updated all UnitPower* code to use the SPELL_POWER_* constants instead of hardcoding numbers...mostly just a readability change 2010-09-10 01:50:43 +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
97d4a6898e - fixes for cataclysm: added UNIT_POWER/UNIT_MAXPOWER event registrations in place of all the old power types, fixed mirror bar, targetinfo, and targetoftarget SetScripts to pass 'this' and 'arg#' around where necessary
- still broken for cata: GlobalCoolDown module, LibDogTag (needs to be fixed by one of its maintainers or I need to port to LuaTexts...fixing dogtag would be vastly easier), and Waterfall (not sure what to do about this one just yet)
2010-09-04 22:49:39 +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
062e994e7b - vehicle fixes! vehicles now regenerate mana/energy properly instead of relying on events to fire (which seem to be too slow)
- pet bar is now properly colored for all types of vehicles (was sometimes failing previously for vehicles with energy)
2008-12-04 04:03:37 +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
6790d58ecd - set focus cast default scale to match focus health/mana
- set default sides and offsets on all bars to avoid them overlapping each other (fixes mirror/threat overlap and a few others)
2008-10-21 02:09:53 +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
3b93a47442 Bug fixes and a lag indicator for CastBar 2006-12-18 14:52:42 +00:00
6d967aaa65 Fixed pet focus bug 2006-09-29 18:04:22 +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