Skip to content

Commit

Permalink
8.3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Jan 15, 2020
1 parent 1343140 commit f4da562
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 43 deletions.
3 changes: 3 additions & 0 deletions .pkgmeta
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ignore:
- Libs/LibToast-1.0/LibStub
- Libs/LibToast-1.0/LibToast-1.0.toc
- Libs/LibToast-1.0/lib.xml
- Libs/LibToast-1.0/LibStub
- Libs/CallbackHandler-1.0/CallbackHandler-1.0.xml
- Libs/LibBabble-Race-3.0/LibBabble-Race-3.0.toc
- Libs/LibBabble-Race-3.0/lib.xml
Expand All @@ -29,7 +30,9 @@ ignore:
- Libs/LibQTip-1.0/lib.xml
- Libs/LibQTip-1.0/LibQTip-1.0.toc
- Libs/LibQTip-1.0/LICENSE.txt
- Libs/LibQTip-1.0/LibStub
- Libs/LibScrollingTable/lib-st.toc
- Libs/LibScrollingTable/lib-st.xml
- Libs/LibTextDump-1.0/LibTextDump-1.0.toc
- Libs/LibTextDump-1.0/lib.xml
- Libs/LibTextDump-1.0/LibStub
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
All Rights Reserved unless otherwise explicitly stated.
Copyright (c) 2013-2019 Paweł Jastrzębski <[email protected]>
Copyright (c) 2013-2020 Paweł Jastrzębski <[email protected]>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

All Rights Reserved unless otherwise explicitly stated.

Copyright (c) 2013-2019 Paweł Jastrzębski <[email protected]>
Copyright (c) 2013-2020 Paweł Jastrzębski <[email protected]>
2 changes: 1 addition & 1 deletion REFlex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ local RegisterAddonMessagePrefix = _G.C_ChatInfo.RegisterAddonMessagePrefix
local SendAddonMessage = _G.C_ChatInfo.SendAddonMessage
local ElvUI = _G.ElvUI

RE.Version = 274
RE.Version = 275
RE.LastSquash = 1531828800
RE.FoundNewVersion = false

Expand Down
4 changes: 2 additions & 2 deletions REFlex.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 80205
## Interface: 80300
## Title: |cFF74D06CRE|rFlex
## Notes: Collect statistics of played arena matches and battlegrounds.
## Version: 2.7.4
## Version: 2.7.5
## Author: AcidWeb
## SavedVariablesPerCharacter: REFlexSettings, REFlexDatabase, REFlexHonorDatabase
## X-Website: https://www.curseforge.com/wow/addons/reflex-battleground-historian
Expand Down
12 changes: 7 additions & 5 deletions REFlexFunctions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ function RE:GetRaceIcon(token, size)
return "|TInterface\\Icons\\INV_Misc_QuestionMark:"..size..":"..size.."|t"
else
token = sgsub(BR[token], "_PL", "")
return "|TInterface\\Glues\\CharacterCreate\\UI-CharacterCreate-Races:"..size..":"..size..":0:0:256:256:" ..
return "|TInterface\\Glues\\CharacterCreate\\CharacterCreateIcons:"..size..":"..size..":0:0:256:256:" ..
RE.RaceIcons[token][1]*256+5 ..
":" .. RE.RaceIcons[token][2]*256-5 ..
":" .. RE.RaceIcons[token][3]*256+5 ..
Expand Down Expand Up @@ -736,10 +736,12 @@ function RE:DumpCSV()
RE.DumpFrame:Display()

if RE.IsSkinned then
_G.AddOnSkins[1]:SkinFrame(DUMP.frames[RE.DumpFrame])
_G.AddOnSkins[1]:SkinFrame(DUMP.frames[RE.DumpFrame].Inset)
_G.AddOnSkins[1]:SkinCloseButton(DUMP.frames[RE.DumpFrame].CloseButton)
_G.AddOnSkins[1]:SkinScrollBar(DUMP.frames[RE.DumpFrame].scrollArea.ScrollBar)
local f = DUMP.frames[RE.DumpFrame]:GetName()
_G.AddOnSkins[1]:SkinFrame(_G[f])
_G.AddOnSkins[1]:CreateBackdrop(_G[f].scrollArea)
_G.AddOnSkins[1]:SetOutside(_G[f].scrollArea.Backdrop, _G[f].scrollArea, 4, 4)
_G.AddOnSkins[1]:SkinCloseButton(_G[f.."Close"])
_G.AddOnSkins[1]:SkinScrollBar(_G[f].scrollArea.ScrollBar)
end
end

Expand Down
73 changes: 40 additions & 33 deletions REFlexStructures.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RE.MapList = {
[2107] = GetRealZoneText(2107),
[1191] = GetRealZoneText(1191),
[1691] = GetRealZoneText(1691),
[2245] = GetRealZoneText(2245),
[1105] = GetRealZoneText(1105),
[566] = GetRealZoneText(566),
[968] = GetRealZoneText(566),
Expand Down Expand Up @@ -60,6 +61,7 @@ RE.MapListLongBG = {
[2107] = GetRealZoneText(2107),
[1191] = GetRealZoneText(1191),
[1691] = GetRealZoneText(1691),
[2245] = GetRealZoneText(2245),
[1105] = GetRealZoneText(1105),
[566] = GetRealZoneText(566),
[628] = GetRealZoneText(628),
Expand Down Expand Up @@ -90,7 +92,7 @@ RE.MapListLongArena = {
}

RE.MapListLongOrderBG = {
1, 30, 2107, 1191, 2118, 1691, 1105, 566, 628, 1803, 727, 1280, 607, 1035, 761, 726, 2106
1, 30, 2107, 1191, 2118, 1691, 2245, 1105, 566, 628, 1803, 727, 1280, 607, 1035, 761, 726, 2106
}

RE.MapListLongOrderArena = {
Expand All @@ -105,6 +107,7 @@ RE.MapListStat = {
[567] = {true, "Interface\\WorldStateFrame\\ColumnIcon-TowerCapture", "Interface\\WorldStateFrame\\ColumnIcon-TowerDefend", "Interface\\WorldStateFrame\\ColumnIcon-FlagCapture2"},
[761] = {true, "Interface\\WorldStateFrame\\ColumnIcon-TowerCapture", "Interface\\WorldStateFrame\\ColumnIcon-TowerDefend"},
[1035] = {false, "Interface\\WorldStateFrame\\ColumnIcon-FlagCapture2", "Interface\\GroupFrame\\UI-Group-MasterLooter"},
[2245] = {true, "Interface\\WorldStateFrame\\ColumnIcon-TowerCapture", "Interface\\WorldStateFrame\\ColumnIcon-TowerDefend"},
[1105] = {true, "Interface\\WorldStateFrame\\ColumnIcon-FlagCapture", "Interface\\WorldStateFrame\\ColumnIcon-FlagReturn", "Interface\\WorldStateFrame\\ColumnIcon-TowerCapture", "Interface\\WorldStateFrame\\ColumnIcon-TowerDefend"},
[727] = {false, "Interface\\MINIMAP\\Vehicle-SilvershardMines-MineCart"},
[30] = {true, "Interface\\WorldStateFrame\\ColumnIcon-GraveyardCapture", "Interface\\WorldStateFrame\\ColumnIcon-GraveyardDefend", "Interface\\WorldStateFrame\\ColumnIcon-TowerCapture", "Interface\\WorldStateFrame\\ColumnIcon-TowerDefend"},
Expand All @@ -116,38 +119,42 @@ RE.MapListStat = {
}

RE.RaceIcons = {
["Human"] = {0, 0.125, 0, 0.25},
["Humans"] = {0, 0.125, 0, 0.25},
["Dwarf"] = {0.125, 0.25, 0, 0.25},
["Dwarves"] = {0.125, 0.25, 0, 0.25},
["Gnome"] = {0.25, 0.375, 0, 0.25},
["Gnomes"] = {0.25, 0.375, 0, 0.25},
["Night Elf"] = {0.375, 0.5, 0, 0.25},
["Night elves"] = {0.375, 0.5, 0, 0.25},
["Tauren"] = {0, 0.125, 0.25, 0.5},
["Undead"] = {0.125, 0.25, 0.25, 0.5},
["Troll"] = {0.25, 0.375, 0.25, 0.5},
["Trolls"] = {0.25, 0.375, 0.25, 0.5},
["Orc"] = {0.375, 0.5, 0.25, 0.5},
["Ors"] = {0.375, 0.5, 0.25, 0.5},
["Blood Elf"] = {0.5, 0.625, 0.25, 0.5},
["Blood elves"] = {0.5, 0.625, 0.25, 0.5},
["Draenei"] = {0.5, 0.625, 0, 0.25},
["Goblin"] = {0.629, 0.750, 0.25, 0.5},
["Goblins"] = {0.629, 0.750, 0.25, 0.5},
["Worgen"] = {0.629, 0.750, 0, 0.25},
["Pandaren"] = {0.756, 0.881, 0, 0.25},
["Nightborne"] = {0.375, 0.5, 0, 0.25},
["Highmountain Tauren"] = {0, 0.125, 0.25, 0.5},
["Void Elf"] = {0.5, 0.625, 0.25, 0.5},
["Void elves"] = {0.5, 0.625, 0.25, 0.5},
["Lightforged Draenei"] = {0.5, 0.625, 0, 0.25},
["Dark Iron Dwarf"] = {0.125, 0.25, 0, 0.25},
["Dark Iron Dwarves"] = {0.125, 0.25, 0, 0.25},
["Mag'har Orc"] = {0.375, 0.5, 0.25, 0.5},
["Zandalari Troll"] = {0.25, 0.375, 0.25, 0.5},
["Zandalari Trolls"] = {0.25, 0.375, 0.25, 0.5},
["Kul Tiran"] = {0, 0.125, 0, 0.25}
["Human"] = {0.388672, 0.513672, 0.130859, 0.255859},
["Humans"] = {0.388672, 0.513672, 0.130859, 0.255859},
["Dwarf"] = {0.00195312, 0.126953, 0.130859, 0.255859},
["Dwarves"] = {0.00195312, 0.126953, 0.130859, 0.255859},
["Gnome"] = {0.00195312, 0.126953, 0.388672, 0.513672},
["Gnomes"] = {0.00195312, 0.126953, 0.388672, 0.513672},
["Night Elf"] = {0.388672, 0.513672, 0.259766, 0.384766},
["Night elves"] = {0.388672, 0.513672, 0.259766, 0.384766},
["Tauren"] = {0.259766, 0.384766, 0.646484, 0.771484},
["Undead"] = {0.646484, 0.771484, 0.388672, 0.513672},
["Troll"] = {0.388672, 0.513672, 0.388672, 0.513672},
["Trolls"] = {0.388672, 0.513672, 0.388672, 0.513672},
["Orc"] = {0.646484, 0.771484, 0.259766, 0.384766},
["Orcs"] = {0.646484, 0.771484, 0.259766, 0.384766},
["Blood Elf"] = {0.130859, 0.255859, 0.00195312, 0.126953},
["Blood elves"] = {0.130859, 0.255859, 0.00195312, 0.126953},
["Draenei"] = {0.646484, 0.771484, 0.00195312, 0.126953},
["Goblin"] = {0.00195312, 0.126953, 0.646484, 0.771484},
["Goblins"] = {0.00195312, 0.126953, 0.646484, 0.771484},
["Worgen"] = {0.388672, 0.513672, 0.775391, 0.900391},
["Pandaren"] = {0.259766, 0.384766, 0.388672, 0.513672},
["Nightborne"] = {0.130859, 0.255859, 0.775391, 0.900391},
["Highmountain Tauren"] = {0.130859, 0.255859, 0.130859, 0.255859},
["Void Elf"] = {0.388672, 0.513672, 0.517578, 0.642578},
["Void elves"] = {0.388672, 0.513672, 0.517578, 0.642578},
["Lightforged Draenei"] = {0.130859, 0.255859, 0.259766, 0.384766},
["Dark Iron Dwarf"] = {0.388672, 0.513672, 0.00195312, 0.126953},
["Dark Iron Dwarves"] = {0.388672, 0.513672, 0.00195312, 0.126953},
["Mag'har Orc"] = {0.130859, 0.255859, 0.517578, 0.642578},
["Zandalari Troll"] = {0.646484, 0.771484, 0.517578, 0.642578},
["Zandalari Trolls"] = {0.646484, 0.771484, 0.517578, 0.642578},
["Kul Tiran"] = {0.646484, 0.771484, 0.130859, 0.255859},
["Vulpera"] = {0.646484, 0.771484, 0.646484, 0.771484},
["Vulperas"] = {0.646484, 0.771484, 0.646484, 0.771484},
["Mechagnome"] = {0.517578, 0.642578, 0.646484, 0.771484},
["Mechagnomes"] = {0.517578, 0.642578, 0.646484, 0.771484}
}

RE.BracketNames = {
Expand Down

0 comments on commit f4da562

Please sign in to comment.