Commit Graph

9 Commits

Author SHA1 Message Date
Brues 13a08b0ea3 Restore hooksecurefunc 2026-07-09 23:01:52 -05:00
Brues 3fe072c594 Route hooksecurefunc callers through pfUI.hooksecurefunc; global belongs to ClassicAPI
pfUI's Lua hooksecurefunc lived in pfUI.env and shadowed ClassicAPI's C
global for all pfUI code. Replace it with a thin pfUI.hooksecurefunc shim
that keeps the missing-target no-op our call sites rely on (ClassicAPI
errors on a nil target) and delegates the actual hook to _G.hooksecurefunc.

Migrated all 70 internal call sites (modules/libs/skins) to
pfUI.hooksecurefunc; bare hooksecurefunc now resolves to ClassicAPI's C
version everywhere. Dropped the unused prepend path and the orphaned
pfUI.hooks table.
2026-07-05 14:58:26 -05:00
Brues 760d8992b6 switch group-membership checks to IsInGroup / IsInRaid
ClassicAPI ships modern IsInGroup() / IsInRaid() backports — drop the
GetNumPartyMembers() > 0 and GetNumRaidMembers() > 0 idioms (and the
GetNumPartyMembers() > 0 or GetNumRaidMembers() > 0 conflation) for the
named-intent variants. UnitInRaid("player") → IsInRaid() at the same
sites.
2026-06-27 18:54:04 -05:00
Brues 1fd7895ca7 move away from RAID_CLASS_COLORS dependency 2026-05-28 13:06:00 -05:00
Brues 1d27f7bed3 class color cleanup 2026-05-23 02:56:00 -05:00
shagu cecc334e6b mapcolors: remove unnecessary function call
- add line breaks between function definitions
- remove debug output and misleading comments
2024-06-07 09:15:34 +02:00
Artur Morozov f5dcfa6e0e mapcolors: rewrite module implementation 2024-06-07 09:16:02 +02:00
shagu 6cc1e8780e mapcolors: add option to resize group/raid circles 2020-06-16 18:59:06 +02:00
shagu ad0f769715 mapcolors: module to show class colored circles 2020-06-14 20:19:10 +02:00