Commit Graph

130 Commits

Author SHA1 Message Date
florian.berthold 7b318475e8 CoAClassColors: mirror RAID_CLASS_COLORS into CUSTOM_CLASS_COLORS
The previous file augmented _G.RAID_CLASS_COLORS with hand-picked
placeholder colors. On both the Voljin/CoA and Ascension classic+
clients the table is already populated by FrameXML
(SharedXML/SharedConstants.lua) with all 32 class tokens, so the
augmentation was dead code (only-set-if-nil never triggered) and the
hand-picked palette diverged from what the realm itself ships.

The path that DOES still need fixing is !ClassColors. When that addon
is loaded it injects a separate _G.CUSTOM_CLASS_COLORS populated only
with the vanilla 10, and Omen.lua:914-917 prefers CUSTOM_CLASS_COLORS
over RAID_CLASS_COLORS. So on a !ClassColors-equipped client the 22
CoA tokens silently fall through and the bar reverts to
dbBar.BarColor.

Rewritten to: when CUSTOM_CLASS_COLORS exists, copy missing entries
from RAID_CLASS_COLORS — same nil-only policy. RAID_CLASS_COLORS is
left untouched (the client is authoritative). No more divergence
between Omen and the realm palette.
2026-05-08 22:48:50 +02:00
florian.berthold 5e00afc363 docs: point Gitea URL at Exiles org (now public) 2026-05-08 03:52:23 +02:00
florian.berthold b7445fc4c1 feat: CoA class colors for the 21 Ascension custom classes
Adds CoAClassColors.lua which merges 22 entries (HERO + 21 custom) into _G.RAID_CLASS_COLORS at file-load time, before Omen.lua takes its local snapshot. Vanilla 10 are left untouched. !ClassColors is also folded in if loaded.

Fixes: Omen bars rendering generic dbBar.BarColor for all CoA classes because Omen.lua:1629 looks up RAID_CLASS_COLORS[class] keyed on the file_string returned by UnitClass(), and PROPHET / MONK / FLESHWARDEN / etc. don't exist in stock Blizzard tables.
2026-05-08 03:52:23 +02:00
florian.berthold 7181066855 ascension: v3.0.9 → vendored 3.0.9 (in-game AddOns dir)
Imported from /srv/add01/wow-ascension/Interface/AddOns/Omen — the
build Ascension's WotLK 3.3.5 client ships.

Single vendored drop: Ascension's build process bundles their custom
patches with the standard CurseForge packager output (62 embedded
Libs/), and the individual patches aren't published separately.

Net delta vs upstream v3.0.9, excluding bundled libs and CRLF
normalization: 11 files, 2284+/34- — Ascension-specific adaptations
for WotLK 3.3.5.

License: All rights reserved (per .toc).
2026-05-08 03:52:23 +02:00
florian.berthold 7db36b3f0c ci: preserve upstream line endings (CRLF) for clean upstream diffs 2026-05-08 03:52:23 +02:00
Xinhuan 9f3e83e7bd Update TOC and version. 2009-12-24 05:22:19 +08:00
Xinhuan 2bb095b4ba Add an option to make Omen click-through (non-interactive), defaults off. 2009-12-24 05:12:03 +08:00
Xinhuan 32a9369e18 Optimized the bar animation code significantly. 2009-08-09 15:10:19 +08:00
Xinhuan 46bdf6cc48 Fix bar backgrounds not being set to the inverted color on login if the "Invert Bar/Text Colors" setting is on. This wasn't noticable if the bar label color was the default white text with 100% alpha. 2009-08-09 13:03:09 +08:00
Xinhuan 4d8c03b773 Minor ConfigMode behavior change. 2009-08-08 18:17:02 +08:00
Xinhuan 245b70ff43 Omen will now update its bars immediately on showing from a hidden state instead of updating on the next threat event. 2009-08-08 18:16:22 +08:00
Xinhuan 5f69963719 Update version to 3.0.8, Interface number to 30200, and repackage all the new translations contributed by users. Add libdatabroker-1-1 to tools-used in pkgmeta file. 2009-08-08 17:54:13 +08:00
Xinhuan 98d138a111 GC away some one-use initialization functions after they are run. 2009-08-08 17:36:33 +08:00
Xinhuan 5f8a470f48 Add ConfigMode support (see addon OneButtonConfig). 2009-08-08 17:27:22 +08:00
Xinhuan e2f4ee8678 Remove the LoadAddOn workaround for loading disembedded libraries which was broken before patch 3.1. 2009-08-08 16:49:10 +08:00
Xinhuan 421cd8d86b Fix GetShapeShiftFormInfo() error that occurs for DKs when they aren't in any presence. This occurs when they respec between their primary/secondary specs and the game drops them out of all presences and subsequently enter combat presence-less. 2009-07-13 02:30:23 +08:00
Xinhuan c1b3a7a9ed Update version to 3.0.7, Interface number to 30100, and repackage all the new translations contributed by users. 2009-04-15 12:34:44 +08:00
Xinhuan a0a73b55af Add "Invert Bar/Text Colors" option (default off) which swaps the bar background and text colors. 2009-04-02 05:28:06 +08:00
Xinhuan 3f0379ca14 Add /omen show and /omen hide slash commands. 2009-03-02 16:11:58 +08:00
Xinhuan 26eeb1d240 Omen now generates the config tables on demand. Omen now provides better error feedback if AceGUI-3.0-SharedMediaWidgets is not found and will continue to function (but without any config). 2009-03-02 15:58:48 +08:00
Xinhuan 623c47c922 Upvalue Omen's menu and quick menu functions. 2009-03-02 11:38:27 +08:00
Xinhuan 246181fc55 Make all 7 non-enUS locales use the localization app at http://www.wowace.com/projects/omen-threat-meter/localization/ 2009-02-15 07:39:00 +08:00
Xinhuan 869412d537 Show Omen's version number in some config strings. 2009-02-15 06:07:59 +08:00
Xinhuan 740ef06a5a Add optional !ClassColors support. 2009-02-15 06:07:09 +08:00
Xinhuan ea923fbede Update Omen version to v3.0.6 2009-01-09 11:02:22 +08:00
Xinhuan 8cdf4fa702 Update zhTW/zhCN/deDE localization. 2009-01-03 18:19:45 +08:00
Xinhuan f88be07553 Add Fade/MI Color to the options. This color is used on players under the effects of MI/Fade. 2009-01-02 10:45:34 +08:00
Xinhuan 4c06c56dea Add 410065408 threat to all players with negative threat for display purposes. English translation: You can now see the "un-Faded/un-MIed threat" of players under the effects of Fade and Mirror Image. 2009-01-02 08:28:08 +08:00
Xinhuan 7c60567b81 Omen will now remember its visible state when you log out (applicable only if auto-show/hide is off). 2008-12-19 02:58:00 +08:00
Xinhuan fc32721fef Undo LibStub OptDep change, since it comes with Ace3. Update Omen's version to 3.0.5. 2008-12-18 13:38:27 +08:00
Xinhuan 30e462095f Add LibStub to OptionalDeps, as LS/CBH external tags are no longer treated special by the packager (they are no longer in the -nolib zip). 2008-12-18 13:32:43 +08:00
Xinhuan 18c0419696 Set a player's threat to 0 (for display purposes) if the player's threat is less than 0. This occurs on Fade and Mirror Image, which gives the caster a temporary threat reduction of 410057408 (or 4.1m threat in Omen's terms). Previously Omen ignored players with negative threat. 2008-12-18 13:13:44 +08:00
Xinhuan dcf493fe7d Fix Omen getting stuck to the mouse if autocollapse is on and you moved Omen while you are in combat and exited combat during the move. 2008-12-16 17:21:58 +08:00
Xinhuan 1be205d8de Clear the guidNameLookup table on zoning to recover some memory. 2008-12-08 08:29:07 +08:00
Xinhuan 1c16bdda99 Put a throtle on the UpdateBars function, reducing CPU usage to about 20%-40% compared to before, with no loss of threat updates (more savings when in a larger raid). 2008-12-07 17:30:19 +08:00
Xinhuan 2fd0a5763e Update version number to v3.0.4 2008-11-28 19:24:02 +08:00
Xinhuan 0fbf33b3a7 Update koKR and ruRU localizations. 2008-11-28 16:20:10 +08:00
Xinhuan 64532ed5a0 Minor fix so that it doesn't report pulling aggro on "> Pull Aggro <". 2008-11-28 16:18:42 +08:00
Xinhuan ddb562574d Update zhTW localization from PlayerLin. 2008-11-25 06:22:52 +08:00
Xinhuan bc9b775b95 Fix "Passed X% of Y's threat" message where it would report your name instead of the tank's name if you passed your tank's aggro AND pulled aggro at the same time. 2008-11-25 06:09:44 +08:00
Xinhuan db863ec9a3 Update TOC to 3.0.3 2008-11-14 05:23:25 +08:00
Xinhuan d251a9c99f Allow the user to have different background settings for the Title Bar than from the main Omen window. 2008-11-14 03:43:31 +08:00
Xinhuan 75ad81d9e3 Add LSM callbacks so that the user can use custom media or media registered by other addons correctly. 2008-11-07 07:40:48 +08:00
Xinhuan 3c1ad20928 Register the same translations for esMX as esES. 2008-11-06 17:07:54 +08:00
Xinhuan 2f2442f2ba Update zhTW localization from NightOwl. 2008-11-06 15:11:58 +08:00
Xinhuan 6efd64bf92 Update koKR localization from Sayclub. 2008-11-04 08:52:18 +08:00
Xinhuan 5f28000b17 Update deDE localization from Stanzilla. 2008-11-04 08:26:07 +08:00
Xinhuan 3310c42362 Localize a few more globals after looking a GETGLOBAL grep pass. 2008-11-04 08:15:43 +08:00
Xinhuan 2cc0892141 Update TOC to Omen v3.0.2 2008-11-04 06:15:22 +08:00
Xinhuan d6f8ca38e2 Change default pet color from white-washed green to violet. 2008-11-04 06:08:35 +08:00