37 Commits
Author SHA1 Message Date
Brues 634a440def set addon toc to dev 2026-05-30 21:38:33 -05:00
Brues 03f63d391a GameTooltip_Hide 2026-05-30 16:50:10 -05:00
Brues 36e1aa87e4 C_AddOns.IsAddOnLoaded 2026-05-30 14:53:45 -05:00
Brues 5e77e5e2a1 FillOutExtraIconsMapWithAllEquipment 2026-05-30 04:18:05 -05:00
Brues 49d09cdf1e Macro Icon functions 2026-05-30 03:54:37 -05:00
Brues 64d373a34e If disk version is older than dll, dll wins 2026-05-30 02:54:50 -05:00
Brues 4c798ba58a turtle wow injects a bad version of print 2026-05-28 16:01:17 -05:00
Brues 3e22e2c087 useless comment 2026-05-28 14:33:23 -05:00
Brues d5a45c73cb Addon: LinkUtil 2026-05-26 02:10:41 -05:00
Brues b066aec1e9 LockItem/UnlockItem 2026-05-24 16:38:13 -05:00
Brues 44adfb8183 Class Colors: set a to 1 2026-05-23 03:26:05 -05:00
Brues 3b360a8246 RegisterNewSlashCommand 2026-05-22 19:56:44 -05:00
Brues acf333b2c2 EventTrace: Pressing escape in search no longer clears 2026-05-20 17:02:18 -05:00
Brues 64a621d482 inline textures aren't a thing in 1.12.1 2026-05-19 07:57:37 -05:00
Brues 9dabf9db71 5.0 fixes 2026-05-18 19:53:55 -05:00
Brues 5982b85c75 Add GameTooltip:SetEquipmentSet with localized output
Registers `SetEquipmentSet` on the GameTooltip method registry,
mirroring the 4.3.4 implementation at 0x0046E690. Builds a tooltip
with header + counts (equipped / in inventory / ignored) + one line
per missing item.

Storage format now persists itemID alongside GUID per slot
(`slot N guid=0xHEX item=ID`), so missing items can be looked up by
name in the item cache even when the live CGItem is no longer in the
client's object map. Backward compat: pre-itemID files load fine and
fall back to a `%d missing` summary line for those slots.

Adds `Game::Lua::PushLocalizedString` and `PushLocalizedFormatInt`
helpers — generic lookup of `_G[name]` with a C-string fallback for
servers stripped of standard GlobalStrings. The tooltip uses these
for the four count lines via Blizzard's `ITEMS_VARIABLE_QUANTITY`,
`ITEMS_EQUIPPED`, `ITEMS_IN_INVENTORY`, `ITEM_SLOTS_IGNORED` keys,
and for the per-missing-item line via `ITEM_MISSING`.

AddOn side: a `GlobalStrings.lua` companion provides English defaults
for those five keys plus a `ShowEquipmentSet()` test helper in
Constants.lua.

First implementation passed `nargs=4` to `lua_call` where the stack
needed 5 (self + text + r + g + b for `tooltip:SetText`) — Lua then
treated `self` as the function, surfacing as
`<in C code>: in function 'SetEquipmentSet'` with no Lua frame above.
Fixed before this commit.
2026-05-18 15:13:36 -05:00
Brues 002c4da38e update comment 2026-05-15 14:34:25 -05:00
Brues dc5e7081dc CreateTextureMarkup 2026-05-15 13:32:26 -05:00
Brues aeaa8bdf70 PlayerUtil 2026-05-15 13:32:09 -05:00
Brues 6acc9f3e09 EquipmentManager_GetLocationData 2026-05-14 23:20:09 -05:00
Brues 0a41725b10 EventTrace_FormatArgValue fixed 2026-05-14 16:17:21 -05:00
Brues 8487e1c5b5 TableInspector and EventTrace improvements 2026-05-14 16:09:54 -05:00
Brues 26f9ea4ece utilize EnumerateFrames in DebugTools 2026-05-14 15:34:44 -05:00
Brues 6e01726914 TimedCallbackMixin 2026-05-14 01:53:39 -05:00
Brues 73581c4ebc Pools and FrameWatcher 2026-05-14 01:41:54 -05:00
Brues c8db9a07f3 FunctionUtil 2026-05-14 01:24:53 -05:00
Brues c1da9194fa Update Constants.lua 2026-05-14 00:06:08 -05:00
Brues cc04c9d291 GetItemLocation 2026-05-13 22:54:00 -05:00
Brues 3c4dbb3e81 C_Item.GetItemMaxStackSizeByID 2026-05-13 22:19:26 -05:00
Brues 7293d5188a ItemMixin.GetItemQualityColorRGB 2026-05-13 22:06:24 -05:00
Brues 2391e39783 pfUI compat 2026-05-13 16:59:47 -05:00
Brues 57e6490c50 these constants already exist in 1.12.1 2026-05-13 16:35:48 -05:00
Brues 698ab56600 ported over more TableUtil functions 2026-05-13 16:23:49 -05:00
Brues 72050d91f4 remove functions that would only error and never get support 2026-05-13 16:11:17 -05:00
Brues 0ab39037a2 cleanup 2026-05-13 16:08:03 -05:00
Brues 9bf66d8972 !!!ClassicAPI addon 2026-05-13 16:01:14 -05:00
Brues 43144e2b9a AddOns folder 2026-05-13 15:59:44 -05:00