62 Commits

Author SHA1 Message Date
40fc8187fd Add ability to adjust strata globally
Submitted by slowkerd from Curseforge (thanks!)
2023-08-02 08:16:12 -05:00
8858459b10 Disable Runes Hide Blizzard option
This is no longer functional in 10.0 and I can't find an easy replacement, so I'm removing the functionality for 10.0+ for now. The entire player frame can still be hidden, which also hides the runes, so I don't feel like this is super critical to have.

Fixes #26
2022-10-27 08:56:53 -05:00
701fb1373f Fix Runes disappearing for DK on Wrath
MaxPower events fire, but I guess only Legion+ actually returns rune counts from this function. On Wrath it always returns 0, so the CheckMaxNumRunes logic was hiding all runes.
2022-09-20 14:27:31 -05:00
09e1832fbe Fix more invalid texture layers 2022-09-18 15:36:45 -05:00
c804ba178b Convert a few more checks into feature flags 2022-09-18 08:30:06 -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
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
81d8ffeae1 Fixed issue of Runes alpha being wrong after a teleport with a target 2020-05-23 15:55:31 -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
bbab772044 Fixed error when showing Blizzard's Rune frame 2018-08-16 20:21:16 -05:00
383b7cae2f Fixed DK Rune state not always matching actual state 2018-07-19 22:18:05 -05:00
ee3d107863 More rune updates for 8.0
It looks like the entire game-side code for runes and rune events have been re-done, so this module was failing to properly update rune availability. I've switched to a model of ignoring the rune index coming in from the update event and just rebuilding my internal state of rune availability/cooldown for all runes on each event (sometimes the incoming rune index was 32760 or a huge negative number...looks like garbage values). This is how the built-in rune frame is handling things now as well.

I also tweaked the shine fade-in to not create a new function every shine. Whoops.
2018-07-16 11:36: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
e26ccdfba1 First pass at showing Runes like combo points
With runes being homogenized in 7.0, it makes a little less sense to adhere to the structure of specific runes being available/used. This adds an option to display the runes more like combo points where simple textures are shown to indicate how many runes are available. No cooldown or "soon-to-be-ready" type indicators are setup just yet since that problem is more difficult and my personal usage doesn't really need them right now.
Also added an option to show the Runes module any time the player has some runes that are recharging.
2016-10-12 22:35:24 -05:00
ed0dee1e08 Fixed memory leak in Runes modules
We were creating font factories every time the runes module was asked to redraw. Oops...
Also fixed the numeric frame's parent while I was in there so that it (in a future commit) will show and hide with the module properly.
2016-10-12 21:06:03 -05:00
c0771ea8f4 Enabled useful debug print
Converted to use IceHUD:Debug() so that we can turn it on and off.
2016-06-07 00:35:20 -05:00
702ebbd86a Fixed Death Runes never showing up on Live
UnitPowerMax for SPELL_POWER_RUNES is 0 on live, so numRunes was 0 which was causing UpdateRuneType to throw out the update.
2016-06-07 00:34:31 -05:00
b328ad0739 Changed how cooldowns are started (ticket #205) 2016-05-26 23:49:22 -05:00
b9cfe48d03 Fixed Runes not showing up on login 2016-05-26 23:41:15 -05:00
45a8f66249 Update Runes for Legion
Updated with the new DK rune changes so there are no longer different types of runes, just the one type. Also hooked up support for any potential changes to the max number of runes (as is present in Blizzard's RuneFrame source), but have no idea how to correctly trigger the 7th rune (or if that's even in the current build). Tested with hackery via /script commands and verified it works, so *shrug*.
2016-05-25 23:43:43 -05:00
c0ca456c9c Drycode fix take 2 2015-06-29 20:34:42 -05:00
2126dc4bce Drycode fix 2015-06-29 20:33:57 -05:00
2415f9a0e6 - More attempts to fix Runes errors being reported. 2015-06-29 20:21:03 -05:00
1dfbd13d67 Fixed bad SetCooldown usage in the Runes frame (ticket #189). 2015-06-25 10:45:16 -05:00
1fc1d476cc Used an undocumented cooldown function to make the cooldown wipe on Death Knight runes match the shape of the rune (circular). 2015-03-22 21:55:05 -05:00
6771fc0647 - suppressed reported error in the runes module that shouldn't be able to happen (and i can't reproduce) 2010-11-17 21:48:48 +00:00
addbc37ff3 - minor update to force a full redraw when entering/leaving an instance to help make sure the runes are in a good state 2010-11-10 03:18:22 +00:00
2f56914194 - set runes back to coloring themselves instead of having a gray border and maybe fixed the issue where the wrong texture could get applied to death runes 2010-11-10 03:02:45 +00:00
36c91a36c8 - don't force-set the color of each rune since they're already set in the texture. this does remove the nice border coloration we had before, but oh well. setting colors on colored textures is bad. 2010-11-08 04:57:18 +00:00
a93bcaf190 - pedantically replaced sets of spaces with tabs. i'm that guy. 2010-11-05 01:48:46 +00:00
a7135bcd73 - borrowed some code from PB4 to properly hide the DK Rune frame when the player frame is not hidden 2010-10-31 02:23:09 +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
de880222b0 - fixed default rune frame showing up sometimes when the player has the "hide blizzard frame" option disabled in the runes module
- fixed default runes from being incorrect (showing 6 blood runes) after re-enabling them from the runes module while the game is running
2010-10-14 22:56:48 +00:00
6f2878be32 - fixed Blizzard's default runes to be properly hidden when the default player health frame is left enabled 2010-10-13 06:55:53 +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
05afcebc3d - changed all step = 10 to step = 1 by request
- widened range of possible vertical offset values for the custom counter module by request
2010-09-18 07:04:38 +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
fd6d570e0b - fixed up several "hide blizzard frame" options to re-display when the module is disabled and to call blizzard's OnLoad for the frame instead of manually entering every event to re-register
- fixed "show incoming heals" option to be properly toggleable on 4.0 (bad conditional on the 'disabled' option)
- hid "cooldown mode" option on the totems module since there was never more than one choice
2010-09-16 02:42:16 +00:00
e95db24dd0 - replaced AceEvent-2.0 with AceEvent-3.0/AceTimer-3.0 2010-09-10 06:30:56 +00:00
9ed5dcbe5f - fixed runes 'alpha' mode display for cataclysm (also works on live realms). apparently RUNE_POWER_UPDATE no longer passes 'usable' as the second argument, so usability needs to be grabbed from GetRuneCooldown instead 2010-09-06 00:12:25 +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
06daebe0fd - MAJOR thanks to Shefki for finding and fixing most of the 3.3.3 issues!
- fixed runes module
- fixed a few other minor issues
2010-03-25 04:15:22 +00:00
e824ce4857 - potential fix for user-reported runes error 2009-10-16 14:35:50 +00:00
4fd6ad752b Added option to activate both Alpha and Cooldown to DK runes 2009-07-08 01:55:26 +00:00
8163579b78 - added a couple of reminders to press [enter] after typing into text boxes in the custom bar/counter configuration screens
- fixed a bug causing rune cooldowns to not reset when the player died/res'd if the module was in alpha mode
2009-04-19 21:30:33 +00:00
6cb944be08 - added graphical gap settings to combo points, lacerate/sunder/malestrom count, and runes modules 2009-01-02 07:37:26 +00:00
10aaf683a4 - made runes flash when they become active whether the cooldown or alpha setting is being used 2008-11-18 06:28:45 +00:00
5bf37b221d - added an option to allow Rune cooldowns to be displayed in either a cooldown wipe or a simple alpha fade 2008-11-16 20:32:30 +00:00
f6fdfb1047 - added the ability for runes to draw vertically stacked. new configuration option to choose horizontal/vertical alignment 2008-11-14 18:07:32 +00:00
ac6ecf5b69 - added a cooldown wipe to Runes with a "shine" when the cooldown is over (cooldown currently displays in a square instead of adhering to the circular icon...working on that)
- added the ability for elements to boost the alpha value a bit. runes were way too dark previously
- removed all of the background code for runes since the cooldown wipe makes it extraneous
2008-11-14 18:00:33 +00:00