Commit Graph
19 Commits
Author SHA1 Message Date
Brues 439d5a397a eqcompare: numeric InventoryType lookup, drop bagtypes/itemtypes locales
Both sub-tables carried per-locale strings only so pfUI's own code could
match against localized text. ClassicAPI's numeric item APIs replace
both:

- GetBagFamily now reads classID/subClassID from C_Item.GetItemInfoInstant
  and switches on the numbers (class 1 = Container, class 11 = Quiver).
- eqcompare pulls the itemID from GameTooltip:GetItem(), fetches the
  numeric invType via C_Item.GetItemInventoryTypeByID, and looks up the
  destination slot(s) in a numeric slotTable keyed by Enum.InventoryType.
  Pair-slot invtypes (finger / trinket / one-hand weapon) list both
  destinations directly, so the "_other" string-concat hack is gone.

Removes the setglobal INVTYPE_* injection, the tooltip text scan, and
the itemtypes + bagtypes locale sub-tables across all 7 files.
2026-07-01 15:43:03 -05:00
Brues 5524ad3b91 locales: strip 4 dead sub-tables (hunterpaging, interrupts, spells, icons)
Audited every consumer of pfUI_locale[*][key] across the codebase. Four
sub-tables have no non-locale-file readers left:

  - hunterpaging  — old auto-page trigger removed
  - interrupts    — replaced by Nampower SPELL_INTERRUPTED events
  - spells        — replaced by ClassicAPI Spell.dbc lookups
  - icons         — replaced by ClassicAPI C_Spell.GetSpellName / icon path

Removed the entries from all 7 locale files. ~18k dead lines gone,
~70% shrink per file.
2026-07-01 12:13:25 -05:00
shagu 5f62acacb1 libpredict: convert strings into locale tables 2024-11-04 12:25:03 +01:00
shagu 0f8ad4c75f env: add spell icon database to locales 2023-01-27 20:08:33 +01:00
@_@ 31be3ded16 libdebuff: add rank based kidney shot duration 2022-11-27 16:55:43 +01:00
shagu d2b0409616 env: add cone of cold debuff durations 2021-10-07 15:36:25 +02:00
shagu 9e0e1c5076 env: add icon names to totem lists 2020-10-17 12:30:02 +02:00
shagu 96ad072478 libdebuff: add hit handler for paladin judgements 2019-05-12 22:22:18 +02:00
shagu fdce950e99 libdebuff: add support for improved gouge 2018-10-29 12:48:25 +01:00
shagu e8538b3b77 prediction: send healcomm compatible predictions 2018-08-25 16:52:57 +02:00
shagu f39d84a9b8 locales: fix missing localized strings 2018-04-09 19:28:18 +02:00
shagu af8fc72819 locales: add maxrank debuff shortcuts 2018-04-08 20:53:03 +02:00
shagu ea17079ad2 locales: update debuff tables 2018-04-08 19:04:24 +02:00
shagu c9658cdc27 debuffs: add support for dynamic debuff durations 2018-04-05 18:36:13 +02:00
shagu e83e1948ce debuffs: add new debuff detection 2018-04-05 14:32:43 +02:00
shagu 7e8f2fbb4c rangecheck: rewrite of the 40y range check
* remove the bad notice in GUI
* set default interval to "2"
* prevent all frames of being updated at once
* refresh one unit after the other
* use textures insted of spellnames
* change interval settings to dropdown
* remove no longer required locales
2017-12-31 17:41:18 +01:00
shagu 39db877d9e locales: add totem names 2017-11-18 01:39:58 +01:00
shagu 0526bf9e33 eqcompare: simplify projectile slot 2017-09-24 18:26:24 +02:00
shagu 85ed189959 locales: add support for esES gameclients 2017-09-24 18:10:10 +02:00