Move loading of scripts into an XML file for encapsulation.
Johnny C. Lam [10-23-13 - 07:19]
Move loading of scripts into an XML file for encapsulation.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1094 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.toc b/Ovale.toc
index 1b1ecfd..fc8fa4b 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -52,17 +52,7 @@ OvaleRecount.lua
OvaleSkada.lua
#
OvaleScripts.lua
-defaut\Chaman.lua
-defaut\Chasseur.lua
-defaut\Chevalier.lua
-defaut\Demoniste.lua
-defaut\Druide.lua
-defaut\Guerrier.lua
-defaut\Mage.lua
-defaut\Moine.lua
-defaut\Paladin.lua
-defaut\Pretre.lua
-defaut\Voleur.lua
+defaut\scripts.xml
OvaleSpellDamage.lua
OvaleSwing.lua
#
@@ -80,5 +70,5 @@ OvaleBestAction.lua
OvaleCompile.lua
OvaleIcone.lua
OvaleIcone.xml
-
+#
OvaleFrame.lua
diff --git a/defaut/scripts.xml b/defaut/scripts.xml
new file mode 100644
index 0000000..d6132f5
--- /dev/null
+++ b/defaut/scripts.xml
@@ -0,0 +1,13 @@
+<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/ ..\FrameXML\UI.xsd">
+ <Script file="Chaman.lua" />
+ <Script file="Chasseur.lua" />
+ <Script file="Chevalier.lua" />
+ <Script file="Demoniste.lua" />
+ <Script file="Druide.lua" />
+ <Script file="Guerrier.lua" />
+ <Script file="Mage.lua" />
+ <Script file="Moine.lua" />
+ <Script file="Paladin.lua" />
+ <Script file="Pretre.lua" />
+ <Script file="Voleur.lua" />
+</Ui>