Quantcast

Reorder Lua files to load in order of dependencies required.

Johnny C. Lam [03-12-13 - 04:47]
Reorder Lua files to load in order of dependencies required.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@759 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
diff --git a/Ovale.toc b/Ovale.toc
index b2b81eb..17e20cb 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -26,15 +26,20 @@ Locale-zhTW.lua

 Ovale.lua

+# Modules with no dependencies
 OvaleActionBar.lua
 OvaleEnemies.lua
 OvaleEquipement.lua
 OvaleGUID.lua
 OvalePaperDoll.lua
+OvaleRecount.lua
+OvaleSkada.lua
 OvaleSpellDamage.lua
 OvaleStance.lua
+OvaleSwing.lua
+
+# First tier of modules with dependencies
 OvaleData.lua
-OvaleComboPoints.lua
 OvaleScripts.lua
 defaut\Chaman.lua
 defaut\Chasseur.lua
@@ -48,16 +53,19 @@ defaut\Voleur.lua
 defaut\Moine.lua
 defaut\Chevalier.lua

+# Second tier of modules with dependencies
 OvaleAura.lua
-OvaleBestAction.lua
-OvaleCompile.lua
-OvaleCondition.lua
-OvaleFrame.lua
+OvaleComboPoints.lua
 OvaleFuture.lua
+OvaleState.lua
+
+# Third tier of modules with dependencies
+OvaleCondition.lua
+OvaleBestAction.lua
+OvaleOptions.lua
+
+# Fourth tier of modules with dependencies
 OvaleIcone.lua
 OvaleIcone.xml
-OvaleOptions.lua
-OvaleRecount.lua
-OvaleSkada.lua
-OvaleState.lua
-OvaleSwing.lua
+OvaleCompile.lua
+OvaleFrame.lua