Skip to content

Commit

Permalink
Restructure some addon files
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Oct 31, 2022
1 parent 7afd220 commit 0f31755
Show file tree
Hide file tree
Showing 14 changed files with 72 additions and 108 deletions.
24 changes: 24 additions & 0 deletions Libs/libs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">

<Script file="LibStub\LibStub.lua"/>
<Include file="CallbackHandler-1.0\CallbackHandler-1.0.xml"/>

<Include file="AceAddon-3.0\AceAddon-3.0.xml"/>
<Include file="AceComm-3.0\AceComm-3.0.xml"/>

<Script file="UTF8\utf8data.lua"/>
<Script file="UTF8\utf8.lua"/>

<Include file="LibCustomGlow-1.0\LibCustomGlow-1.0.xml"/>

<Script file="LibDataBroker-1.1\LibDataBroker-1.1.lua"/>

<Include file="LibDBIcon-1.0\lib.xml"/>

<Include file="LibDeflate\lib.xml"/>

<Script file="LibRangeCheck-2.0\LibRangeCheck-2.0.lua"/>

<Include file="ItemCache\ItemCache.xml"/>

</Ui>
32 changes: 11 additions & 21 deletions LootReserve.toc
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
## Interface: 30400
## Title: LootReserve
## Notes: Soft reserves management addon
## Author: Damagus-Benediction|nOriginal addon by Tagar-NethergardeKeep
## Interface-Wrath: 30400
## Interface-Classic: 11403

## Version: 2022-10-10-2
## X-Min-Allowed-Version: 2022-10-10-2

## OptionalDeps: ItemCache
## X-Curse-Project-ID: 390790
## X-Wago-ID: WL6JpyGv

## Title: LootReserve
## Notes: Soft reserves management addon
## Author: Anonomit, Damagus-Benediction|nOriginal addon by Tagar-NethergardeKeep

## SavedVariables: LootReserveGlobalSave
## SavedVariablesPerCharacter: LootReserveCharacterSave

embeds.xml
## OptionalDeps: Ace3, ItemCache
## X-Embeds: Ace3, ItemCache

LootReserve.lua
Constants.lua
ItemSearch.lua
Client.lua
Server.lua
Comm.lua
Data.lua
ItemConditions.lua

Windows/Common.xml
Windows/ClientWindow.xml
Windows/ServerWindow.xml
Windows/RollRequestWindow.xml
Windows/ServerLootEditWindow.xml
Windows/ServerMembersEditWindow.xml
Windows/ServerImportWindow.xml
Windows/ServerExportWindow.xml
addon.xml
32 changes: 0 additions & 32 deletions LootReserve_Vanilla.toc

This file was deleted.

32 changes: 0 additions & 32 deletions LootReserve_Wrath.toc

This file was deleted.

2 changes: 1 addition & 1 deletion Windows/ClientWindow.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
<Script file="Windows/ClientWindow.lua" />
<Script file="ClientWindow.lua" />
<CheckButton name="LootReserveCategoryListButtonTemplate" virtual="true">
<Size y="18" />
<Layers>
Expand Down
2 changes: 1 addition & 1 deletion Windows/RollRequestWindow.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Script file="Windows/RollRequestWindow.lua" />
<Script file="RollRequestWindow.lua" />
<Frame name="LootReserveRollRequestWindow" parent="UIParent" toplevel="true" movable="true" resizable="true" enableMouse="true" clampedToScreen="true" hidden="true" inherits="LootReserveBackdropTemplate">
<KeyValues>
<KeyValue key="backdropInfo" value="LOOTRESERVE_BACKDROP_BLACK_4" type="global" />
Expand Down
2 changes: 1 addition & 1 deletion Windows/ServerExportWindow.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Script file="Windows/ServerExportWindow.lua" />
<Script file="ServerExportWindow.lua" />
<Frame name="LootReserveServerExportWindow" parent="UIParent" inherits="BasicFrameTemplateWithInset" toplevel="true" movable="true" resizable="true" enableMouse="true" clampedToScreen="true" hidden="true">
<Size x="300" y="150" />
<Anchors>
Expand Down
2 changes: 1 addition & 1 deletion Windows/ServerImportWindow.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Script file="Windows/ServerImportWindow.lua" />
<Script file="ServerImportWindow.lua" />
<Frame name="LootReserveServerImportItemTemplate" virtual="true">
<Size x="18" y="18" />
<Frames>
Expand Down
2 changes: 1 addition & 1 deletion Windows/ServerLootEditWindow.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
<Script file="Windows/ServerLootEditWindow.lua" />
<Script file="ServerLootEditWindow.lua" />
<Frame name="LootReserveLootEditListTemplate" virtual="true" enableMouse="true" inherits="LootReserveBackdropTemplate">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_0_16_5555" type="global" />
Expand Down
2 changes: 1 addition & 1 deletion Windows/ServerMembersEditWindow.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Script file="Windows/ServerMembersEditWindow.lua" />
<Script file="ServerMembersEditWindow.lua" />
<Frame name="LootReserveServerMembersEditItemTemplate" virtual="true">
<Size x="18" y="18" />
<Frames>
Expand Down
2 changes: 1 addition & 1 deletion Windows/ServerWindow.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
<Script file="Windows/ServerWindow.lua" />
<Script file="ServerWindow.lua" />
<Button name="LootReserveServerWindowTabTemplate" parentArray="Tabs" virtual="true">
<Size>
<AbsDimension x="10" y="32" />
Expand Down
12 changes: 12 additions & 0 deletions Windows/windows.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">

<Include file="Common.xml"/>
<Include file="ClientWindow.xml"/>
<Include file="ServerWindow.xml"/>
<Include file="RollRequestWindow.xml"/>
<Include file="ServerLootEditWindow.xml"/>
<Include file="ServerMembersEditWindow.xml"/>
<Include file="ServerImportWindow.xml"/>
<Include file="ServerExportWindow.xml"/>

</Ui>
18 changes: 18 additions & 0 deletions addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">

<Include file="libs\libs.xml"/>


<Script file="LootReserve.lua"/>
<Script file="Constants.lua"/>
<Script file="ItemSearch.lua"/>
<Script file="Client.lua"/>
<Script file="Server.lua"/>
<Script file="Comm.lua"/>
<Script file="Data.lua"/>
<Script file="ItemConditions.lua"/>


<Include file="Windows\windows.xml"/>

</Ui>
16 changes: 0 additions & 16 deletions embeds.xml

This file was deleted.

0 comments on commit 0f31755

Please sign in to comment.