mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 19:30:00 +00:00
compat\vanilla.lua named the handful of things that differed between clients back when pfUI targeted several. Only one client remains, so every constant had exactly one value. Inline each at its use site and delete the file, init\compat.xml, and both TOC entries. COOLDOWN_FRAME_TYPE -> "Model" LOOT_BUTTON_FRAME_TYPE -> "LootButton" MINIMAP_TRACKING_FRAME -> _G.MiniMapTrackingFrame FRIENDS_NAME_LOCATION -> "ButtonTextNameLocation" EVENTS_MINIMAP_ZONE_UPDATE -> the event list, in panel.lua MICRO_BUTTONS -> a local in panel.lua NAMEPLATE_OBJECTORDER -> a local in nameplates.lua ACTIONBAR_SECURE_TEMPLATE_BAR/_BUTTON -> nil, so the argument goes away NAMEPLATE_FRAMETYPE and PLAYER_BUFF_START_ID had no readers left. RunMacroText moves to pfUI.lua. compat\vanilla.lua was setfenv'd into the pfUI environment, so the function only ever existed on pfUI.env; at file scope it lands on _G as a real export instead. Nothing in pfUI calls it, and ClassicAPI neither defines nor looks for a RunMacroText global -- it does the same throwaway edit box natively in src/macro/Execute.cpp and only defers to a global RunMacro.
25 lines
820 B
TeX
25 lines
820 B
TeX
## Interface: 11200
|
|
## Title: |cff33ffccpf|cffffffffUI
|
|
## Author: Shagu - modified by me0wg4ming & brues
|
|
## Notes: A complete user interface replacement.
|
|
## Notes-ruRU: Полная замена пользовательского интерфейса.
|
|
## Version: @project-version@
|
|
## SavedVariables: pfUI_profiles, pfUI_addon_profiles, pfUI_cache, pfUI_throttle
|
|
## SavedVariablesPerCharacter: pfUI_config, pfUI_init, pfUI_playerDB
|
|
## X-Website: https://github.com/brues-code/pfUI
|
|
|
|
# Selected by ClassicAPI on Turtle WoW, where it wins over pfUI_ClassicAPI.toc.
|
|
# Same list with init\stock.xml swapped for init\turtle.xml: the modules, skins
|
|
# and vendor prices that only mean anything on a Turtle client.
|
|
|
|
API_Check.lua
|
|
|
|
pfUI.lua
|
|
|
|
init\env.xml
|
|
init\api.xml
|
|
init\libs.xml
|
|
init\skins.xml
|
|
init\modules.xml
|
|
init\turtle.xml
|