Skip to content

Commit 3283d5f

Browse files
committed
Several bugfixes and improvements, mainly related to leveling builds and improved Midnight support
1 parent c7416f9 commit 3283d5f

File tree

14 files changed

+312
-140
lines changed

14 files changed

+312
-140
lines changed

TalentTreeViewer_Loader/libs/load_libs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2-
https://raw.githubusercontent.com/Meorawr/wow-ui-schema/main/UI.xsd">
2+
https://raw.githubusercontent.com/Gethe/wow-ui-source/refs/heads/live/Interface/AddOns/Blizzard_SharedXML/UI.xsd">
33
<Script file="LibStub\LibStub.lua"/>
44
<Include file="CallbackHandler-1.0\CallbackHandler-1.0.xml"/>
55
<Include file="LibDataBroker-1.1\LibDataBroker-1.1.lua"/>

TalentTreeViewer_Loader/locale/locale.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2-
https://raw.githubusercontent.com/Meorawr/wow-ui-schema/main/UI.xsd">
2+
https://raw.githubusercontent.com/Gethe/wow-ui-source/refs/heads/live/Interface/AddOns/Blizzard_SharedXML/UI.xsd">
33
<Script file="enUS.lua"/>
44
<Script file="deDE.lua"/>
55
<Script file="frFR.lua"/>

TalentTreeViewer_TWW/IcyVeinsImport.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
local name, ns = ...
1+
local name = ...;
2+
--- @class TTV_TWW_NS
3+
local ns = select(2, ...);
24

35
--- @class TalentViewerIcyVeinsImportTWW
46
local IcyVeinsImport = ns.IcyVeinsImport

TalentTreeViewer_TWW/ImportExport.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
local name, ns = ...
1+
local name = ...;
2+
--- @class TTV_TWW_NS
3+
local ns = select(2, ...);
24

35
--- @class TalentViewerImportExportTWW
46
local ImportExport = ns.ImportExport

TalentTreeViewer_TWW/TalentViewer.lua

Lines changed: 135 additions & 85 deletions
Large diffs are not rendered by default.

TalentTreeViewer_TWW/TalentViewerUI.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
<Ui xmlns="http://www.blizzard.com/wow/ui/"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://www.blizzard.com/wow/ui/ https://raw.githubusercontent.com/Gethe/wow-ui-source/live/Interface/FrameXML/UI_shared.xsd"
4-
>
1+
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2+
https://raw.githubusercontent.com/Gethe/wow-ui-source/refs/heads/live/Interface/AddOns/Blizzard_SharedXML/UI.xsd">
53
<!-- copied and adapted from blizzard's code -->
64

75
<Frame name="TalentViewer_ClassTalentsFrameTemplate" mixin="TalentViewer_ClassTalentsFrameMixin" inherits="TalentFrameBaseTemplate" virtual="true">
@@ -189,6 +187,12 @@
189187
</Anchors>
190188
</Frame>
191189

190+
<Frame parentKey="HeroSpecCurrencyDisplay" inherits="ClassTalentCurrencyDisplayTemplate">
191+
<Anchors>
192+
<Anchor point="LEFT" relativeKey="$parent" relativePoint="TOPRIGHT" x="-971" y="-48"/>
193+
</Anchors>
194+
</Frame>
195+
192196
<Frame parentKey="SpecCurrencyDisplay" inherits="ClassTalentCurrencyDisplayTemplate">
193197
<Anchors>
194198
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOPRIGHT" x="-401" y="-48"/>

TalentTreeViewer_TWW/levelingBuildFormat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The export string is built as follows:
2121
- The body still is a list of 7-bit integers, but the values now describe the level at which a given talent was learned
2222

2323
### Leveling Build Format
24-
The leveling build string is a base64-encoded string, made of a sequence of of variable bit length integers.
24+
The leveling build string is a base64-encoded string, made of a sequence of integers with various bit lengths.
2525
The base64-encoding is done using Blizzard's modified base64 encoding. One can use their `ExportUtil` helper to read/write the string.
2626

2727
### Header
@@ -60,7 +60,7 @@ This results in a body with the following values (`_` is added for readability)
6060
`0b000_0000 0b000_1101 0b000_0000 0b000_1011` (base10 `0 13 0 11`)
6161

6262
```lua
63-
-- Given the above example, is parsed into tables as follows:
63+
-- Given the above example is parsed into tables as follows:
6464
local talentsLearnedInTalentBuild = {"A", "B", "C", "D"};
6565
local data = {0, 13, 0, 11};
6666
-- The function below returns the talent learned at a specific level.

TalentTreeViewer_TWW/locale/locale.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2-
https://raw.githubusercontent.com/Meorawr/wow-ui-schema/main/UI.xsd">
2+
https://raw.githubusercontent.com/Gethe/wow-ui-source/refs/heads/live/Interface/AddOns/Blizzard_SharedXML/UI.xsd">
33
<Script file="enUS.lua"/>
44
<Script file="deDE.lua"/>
55
<Script file="frFR.lua"/>

TalentTreeViewer_TWW/mixins/HeroSpecSelectionDialogMixin.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
local _, ns = ...;
1+
--- @class TTV_TWW_NS
2+
local ns = select(2, ...);
23

34
ns.mixins = ns.mixins or {};
45

56
--- default UI uses this mixin to handle the dialog for selecting a hero spec, but we don't like that popup, and just show it in the main UI instead
7+
--- @class TalentViewer_HeroSpecSelectionDialog: Frame
68
TalentViewer_HeroSpecSelectionDialogMixin = {};
79
local dialogMixin = TalentViewer_HeroSpecSelectionDialogMixin;
810

TalentTreeViewer_TWW/mixins/LevelingOrderMixin.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
local _, ns = ...;
1+
--- @class TTV_TWW_NS
2+
local ns = select(2, ...);
23

34
ns.mixins = ns.mixins or {};
45

0 commit comments

Comments
 (0)