Commit Graph

147 Commits

Author SHA1 Message Date
c85c304eb6 Enable GCD, target target buffs in Classic 1.15+ 2024-01-07 14:49:42 -06:00
c72b67235d Enable TargetCastBar on Classic-era 1.15+ 2023-12-10 18:58:08 -06:00
d9cfb3a09c Fix 10.1.5 error building a player menu 2023-07-16 22:14:23 -10:00
cb83a3f63f Add option to hide during Cataloging 2023-04-01 20:45:37 -05:00
3a5e58bf34 Add Spell ID support for aura tracking (#31) 2022-11-06 08:34:01 -06:00
acc400de6e Fix error on Classic with Hide Party
I neglected to test the new party-hide implementation on pre-10.0. It was not fully implemented. This implementation is from Pitbull4 and is more complicated than I need, but certainly does the job and allows for some future usage if needed.

Fixes wowace ticket #330
2022-10-30 23:21:31 -05:00
c2183f99a0 Add missing feature flag definition 2022-09-18 23:07:07 -05:00
0af47119e3 Continue replacement of WowVer checks 2022-09-18 21:49:53 -05:00
8972f7eed5 Fix MaxPower event flag
I'm not sure how this got set the way it was...the event definitely exists in > 8.0...
2022-09-18 15:36:06 -05:00
d10586d477 More culling of WowVer checks 2022-09-18 13:33:51 -05:00
f04c5db493 Re-enable dev-only profile export/import
Exporting works pretty well, but importing is rough (mostly because error messaging isn't quite in place, and it's not obvious that you have to close the window to execute the import). I found a generic json serializer, decided to adapt it to WoW, and it seems to work.

But anyway, I saw this code sitting around and figured it wouldn't take too much work to get it in working order. I was mostly right.
2022-09-02 21:44:12 -05:00
1de917223f Use new Classic expansion checks where available 2022-09-02 20:48:10 -05:00
ee72cd1f33 Add feature flag for UnitGroupRolesAssigned 2022-09-02 14:31:51 -05:00
777cf01174 Add feature flag for Heal Prediction
And turn it on for Wrath Classic, because apparently it works there.
2022-09-02 14:27:33 -05:00
97e81018c7 Update for Wrath Classic (non-BCC pre-patch)
Apparently in full-blown Wrath classic, post-BCC-pre-patch, there's a new WOW_PROJECT constant that needs to be used.
2022-09-02 14:26:54 -05:00
b65909c570 Wrath updates for Paladin GCD, Rogue SnD 2022-08-30 22:25:16 -05:00
6c623d6965 Initial Wrath-Classic compatibility
Briefly fought a training dummy with a Death Knight and a Shaman. I'm sure stuff like Slice-and-dice will need attention for talents moving around and such.
2022-08-30 21:59:58 -05:00
d31872512e Add support for blocked submenu options
Some menus, such as when targeting other players, use mixins which are themselves menus. We have to dive down one more layer to resolve those. The official UI source does this submenu thing (as opposed to recursion) so this should exactly mimic how the base game now works.
2022-06-06 09:02:43 -05:00
d424afdab1 Rework blocked menu options for 9.2.5
Since 9.2.5 completely re-worked UnitPopupMenus, IceHUD's "Set Focus" right-click menu option overrides were broken. This restores the override so that it can still suppress the tainted functionality.

Additionally, it turns out that having Clique installed replaces this entire thing somehow and makes Set Focus et al function (with IceHUD's ClickCastFrames registration). I don't know what that magic is about, but none of this munging happens and the tainted paths work fine. Interesting.

Fixes wowace ticket #319
2022-06-05 23:30:09 -05:00
9500bdf393 Fix error on BCC
Fixes #21
2022-06-01 16:26:12 -05:00
82db70969a Remove UnitPopupButtons usage
I need to find a way to reintroduce this, but Blizzard's new method of building these frames doesn't look like it's going to be particularly easy. This stops error popups on 9.2.5
2022-06-01 08:29:39 -05:00
47931922bd Fix target health updating infrequently on Classic 2022-05-02 12:22:07 -05:00
53fdb48b05 Fix reported TBC issue of target health updates
For some reason, on TBC classic target health is not updating frequently. I waded through the official TBC source code, and it looks like if predictedHealth is enabled (which it is by default), then the default UI uses an OnUpdate handler to update the target's health bar. So now I'm doing the same.
2022-03-24 11:51:58 -05:00
0785265feb Convenience method for looking for any buff from a list 2022-03-23 23:04:00 -05:00
9e77fa6831 fix totem bar dismissal (#18)
* fix totem bar dismissal

* limit insecure DestroyTotem fix to Classic/TBC

* fix fussy commit

Co-authored-by: Wiktor Ozimek <wiktor.ozimek@gmail.com>
2021-11-24 13:25:10 -06:00
87456ca051 Fix feature flag typo 2021-05-09 17:38:58 -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
90e0dd1597 Update build script, include Classic-TBC detection 2021-04-25 22:50:32 -05:00
a18144aec0 9.0 compatibility updates - initial attempt 2020-10-13 08:46:41 -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
ccdabc210c Added HasDebuffs utility method 2018-08-27 20:48:13 -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
2a98dc961d Fixed up debugging
Apparently isFirst is no longer passed to OnEnable, so we were never setting a debug frame.
Made the additional arguments that were being passed to Debug() actually do something (currently print out a stringified version of themselves in a space-delimited string)
2016-05-17 23:19:14 -05:00
776bbf7ab3 Added a custom counter bar module by popular demand. Behaves exactly like a stack counter module, but in bar form.
Also cleaned up a little bit of code in the core that was dealing with custom modules.
2015-08-22 16:55:14 -05:00
d30d971cda Updated with new return values for GetWeaponEnchantInfo in 6.0 (ticket #183 - thanks slippycheeze!) 2014-11-22 01:49:24 -06:00
9a3b8fb0bd - Added guards against nil auraName in CustomCount causing an error. 2014-10-16 17:34:55 -05:00
5cdf3b7b7d - Added support for tracking inventory item cooldowns on a custom cooldown bar. (ticket #123) 2014-10-12 21:14:18 -05:00
3c8bae6b98 - The "Dismiss" option in pet right-click menus is no longer disabled for Warlocks. 2013-10-26 16:36:25 +00:00
6c8058ffae - http://www.wowace.com/addons/ice-hud/tickets/145-hunter-pet-dismiss-error/ blacklisted the "dismiss pet" menu entry in pet right-click menus. Hunters should use the Dismiss Pet spell instead. 2013-02-17 04:53:20 +00:00
532f374d05 - Fixed a few more instances of using non-local vars named _ 2012-08-30 04:23:24 +00:00
028658a2be - Fixed GetLFGMode() errors in 5.0 2012-07-03 04:30:50 +00:00
b5350965a7 - Round 1 of WoW 5.0 fixes. 2012-06-30 19:57:12 +00:00
fd7d8db005 - respect the user's mod-wide "enabled" setting when changing profiles (ticket #117)
- also cleaned up some logic that could cause errors when enabling the mod due to a profile switch when the player initially loaded with it disabled
2011-01-26 01:05:04 +00:00
96eacfea1f - added new user-submitted bar textures (ticket #111) 2011-01-05 01:07:36 +00:00
8a251ea2d4 - potentially fix a stack overflow that's been popping up sometimes when mousing over the player health bar 2010-12-26 23:33:49 +00:00
9df1fc5ddc - added user-submitted CleanCurvesOutline texture which allows DHUD-like casting to be placed on top of another bar and only the outline fills up instead of the whole bar 2010-12-05 04:11:20 +00:00
14bd4f4627 - Reunited a local declaration with the code that used it. 2010-11-05 03:17:50 +00:00
067096b51f - fixed an error popping up whenever a user had icehud disabled in its settings and tried to access the config page 2010-11-04 17:56:18 +00:00
376180004b - ripped ~1.3mb out of IceHUD itself and moved it into an LoD IceHUD_Options addon 2010-11-04 04:37:58 +00:00
fecfe8b586 - shamelessly ripped off code from pitbull4 to replace "set focus" with instructions on how to do so. begone, focus error reports! 2010-10-30 04:40:12 +00:00