Commit Graph

85 Commits

Author SHA1 Message Date
30ec3750c1 Fix error when using an invalid spell with a custom bar on 11.x 2024-08-14 11:34:54 -05:00
9b063bed63 More TWW/11.0.2 compatibility
I don't have beta access so I can't test this yet, but this should catch everything in the Deprecated_11_0_0 file in wow's official ui source as well as some stuff not mentioned but reported by users.
2024-07-21 13:51:17 -05:00
6c2e759f45 Basic TWW compatibility 2024-06-22 18:07:42 -05:00
343ac7b70b Fix aura icons not always showing on custom bars 2023-05-18 10:17:13 -05:00
573049f77e Fix Custom Bar showing empty bar in Missing mode 2023-05-18 10:15:38 -05:00
8dc173ae81 Fix custom bar showing when disabled and set to Missing
Fixes wowace ticket #343
2023-05-18 10:12:17 -05:00
07bda8e84d Add more Custom Bar display controls
Add ability for buff/debuff watchers to only display when the specified buff/debuff is missing. This also adds the ability to require that the given unit exists. So if you had Unit set to Target, Display mode set to Missing, and Only if unit exists checked, you'd show the bar if you have a target and they don't have the given buff/debuff.
2022-11-17 17:14:49 -06:00
3a5e58bf34 Add Spell ID support for aura tracking (#31) 2022-11-06 08:34:01 -06:00
09e1832fbe Fix more invalid texture layers 2022-09-18 15:36:45 -05:00
dfcef9617f Always update aura durations
If we're coming from a custom update func, it could mean that we're
tracking a unit that doesn't get events, like UNIT_AURA, for them. This
includes anything other than player, target, and focus, essentially.
2021-06-26 14:14:57 -05:00
94b62d56a0 Also subscribe for targettarget units 2021-06-26 14:13:57 -05:00
90f126d7a0 Fix custom bar update errors
I was tracking updates with two separate variables depending on where
the registration happened. The order that updates ran in was not
reliable, so sometimes one would register and sometimes the other would.
Since only one of them was setting itself as "from update", the behavior
internal to the bar was also inconsistent.
2021-06-26 14:13:44 -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
e4d8bae185 Only allow custom bars to track players in Classic 2019-09-03 10:17:03 -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
195b7ab264 Only show placeholder icon when in config mode 2018-09-15 14:50:33 -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
55fc88acdc Fixed a bug causing buff/debuff watchers to not display for (de)buffs that didn't stack. 2015-03-25 23:24:27 -05:00
6daa9ea927 Added an option to only display a buff/debuff watcher when the tracked aura has more than X stacks (default 0) (ticket #185) 2015-03-03 22:39:28 -06:00
d30d971cda Updated with new return values for GetWeaponEnchantInfo in 6.0 (ticket #183 - thanks slippycheeze!) 2014-11-22 01:49:24 -06:00
dedee2a799 - Added the ability to track custom units on buff/debuff watchers. (ticket #115) 2014-10-12 14:42:29 -05:00
8a6bbc98bb - Fixed a bug where buff/debuff watchers were not removing themselves from the central Update list when deleted. 2013-11-27 06:38:36 +00:00
488949e1f5 - Added support for DogTag strings on buff/debuff watchers. 2013-10-26 17:16:16 +00:00
d7e4bfbee2 - added code to buff/debuff watchers and cooldown watchers to prevent them from sometimes getting stuck (not updating/animating) 2011-12-06 03:51:22 +00:00
92076fd93f - only do spell id exact-match checking if "exact match" is set. otherwise, it will compare spell names 2011-08-03 00:23:11 +00:00
203848d48c - updated to accept either a spell id or a spell name for custom bars. this allows tracking of different debuffs with the same name (such as Hemorrhage and its DoT). thanks to Nibelheim on WoWInterface for this one as well. 2011-07-30 17:15:07 +00:00
47ce739caf - drycoded possible fix for a reported error 2011-05-25 14:46:01 +00:00
c178051c85 - made custom (de)buff watcher bars respect the bForceHide option for :Show() so that they are properly hidden when a profile change occurs or they are manually disabled via the options menu 2011-04-26 02:41:48 +00:00
ff67817dcd - ticket #121 - patch for new visibility mode in CustomBars 2011-03-13 19:23:05 +00:00
74869ce924 - fixed custom bars not monitoring weapon enchants/poisons correctly
- fixed custom bars and cooldown bars drawing at full alpha at all times
2010-12-24 08:13:43 +00:00
5985e86f0e - made sure that the new custom text colors get set before using them 2010-12-14 07:16:05 +00:00
e3e3d01583 - added custom upper/lower text coloring to custom buff/debuff bars and custom cooldown bars since they don't have any dogtag support
- fixed lower text to be visible on custom buff/debuff bars and custom cooldown bars
- fixed upper/lower text blocks in the text settings page to not be multi-line if the module doesn't support dogtags so that everything is laid out more cleanly
2010-12-14 06:55:15 +00:00
9257809e38 - fixed some errors that could pop up with totems and custom bars 2010-12-08 14:29:47 +00:00
6eda5b5f9d - fixed low threshold flashing on custom bars 2010-12-08 04:52:37 +00:00
d4fd3af2d7 - added support for custom buff/debuff trackers to be able to track totems by name 2010-12-06 01:44:07 +00:00
f40a0a9f97 - fixed custom buff bars and cooldown bars multiplying alpha values when they shouldn't have been. at low alpha this meant that they were much more transparent than they should have been 2010-11-22 02:19:23 +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
af5574e4a6 - added local copy of _G.IceHUD to modules that reference it frequently for a minor lookup speed boost 2010-10-20 05:22:27 +00:00
0fc23444e2 - added description text to each custom module explaining what type of module it is. it was pretty difficult to figure out what kind of custom module you were looking at in the config after you created it 2010-10-20 05:08:49 +00:00
fa5246a27e - very minor perf gain by not doing the per-frame update on invisible modules
- nuked the primary offender of garbage generation. there is more to get rid of but finding it is a tedious process
2010-10-17 22:50:59 +00:00
86ee5ca6c1 - fixed icons rotating with bars incorrectly when setting bar to be rotated 90 degrees 2010-10-15 00:30:27 +00:00
4e1c8ecf12 - added ability for spell ids to be specified instead of names for custom bars and cooldown bars. when an id is typed it will attempt to resolve to the buff name 2010-10-11 05:42:37 +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
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
4bf79adda5 - added the ability to duplicate an existing custom bar 2010-09-26 00:31:12 +00:00
bd96c59012 - added calls to disable updates on custom modules as they are disabled so that they don't stick around on screen when they shouldn't 2010-09-22 00:19:13 +00:00
1fa11ea3dd - fix for custom modules generating a ton of errors if they're disabled while active (such as when changing profiles). there is still a bug where they stop running their updates like they're supposed to, but this will at least take care of the error spam 2010-09-21 13:50:35 +00:00
a242f50cb4 - moved all "icons" settings from being under a header to being in their own group. this should unify the "icon settings" features of all modules 2010-09-19 06:39:59 +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