diff --git a/TitanAmmo/TitanAmmo_Vanilla.toc b/TitanAmmo/TitanAmmo_Vanilla.toc index 5091051..75a0765 100644 --- a/TitanAmmo/TitanAmmo_Vanilla.toc +++ b/TitanAmmo/TitanAmmo_Vanilla.toc @@ -6,5 +6,4 @@ ## SavedVariables: ## OptionalDeps: ## Dependencies: TitanClassic -## X-Child-Of: TitanClassic TitanClassicAmmo_CE.xml \ No newline at end of file diff --git a/TitanAmmo/TitanAmmo_Wrath.toc b/TitanAmmo/TitanAmmo_Wrath.toc index 748011f..61eaade 100644 --- a/TitanAmmo/TitanAmmo_Wrath.toc +++ b/TitanAmmo/TitanAmmo_Wrath.toc @@ -6,5 +6,4 @@ ## SavedVariables: ## OptionalDeps: ## Dependencies: TitanClassic -## X-Child-Of: TitanClassic TitanClassicAmmo.xml \ No newline at end of file diff --git a/TitanBag/TitanBag_Mainline.toc b/TitanBag/TitanBag_Mainline.toc index 3531f40..81f6504 100644 --- a/TitanBag/TitanBag_Mainline.toc +++ b/TitanBag/TitanBag_Mainline.toc @@ -4,7 +4,5 @@ ## Notes: Adds bag and free slot information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## Dependencies: Titan TitanBag.lua diff --git a/TitanBag/TitanBag_Vanilla.toc b/TitanBag/TitanBag_Vanilla.toc index 916edc9..5749858 100644 --- a/TitanBag/TitanBag_Vanilla.toc +++ b/TitanBag/TitanBag_Vanilla.toc @@ -4,7 +4,6 @@ ## Notes: Adds bag and free slot information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanBag.lua diff --git a/TitanBag/TitanBag_Wrath.toc b/TitanBag/TitanBag_Wrath.toc index 3129882..9f8637f 100644 --- a/TitanBag/TitanBag_Wrath.toc +++ b/TitanBag/TitanBag_Wrath.toc @@ -4,7 +4,6 @@ ## Notes: Adds bag and free slot information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanBag.lua diff --git a/TitanClock/TitanClock_Mainline.toc b/TitanClock/TitanClock_Mainline.toc index df9141c..092e3bd 100644 --- a/TitanClock/TitanClock_Mainline.toc +++ b/TitanClock/TitanClock_Mainline.toc @@ -4,7 +4,6 @@ ## Notes: Adds a clock to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: Titan TitanClock.lua diff --git a/TitanClock/TitanClock_Vanilla.toc b/TitanClock/TitanClock_Vanilla.toc index cfbe34a..524f117 100644 --- a/TitanClock/TitanClock_Vanilla.toc +++ b/TitanClock/TitanClock_Vanilla.toc @@ -4,7 +4,6 @@ ## Notes: Adds a clock to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanClock.lua diff --git a/TitanClock/TitanClock_Wrath.toc b/TitanClock/TitanClock_Wrath.toc index 23f3021..d0625bc 100644 --- a/TitanClock/TitanClock_Wrath.toc +++ b/TitanClock/TitanClock_Wrath.toc @@ -4,7 +4,6 @@ ## Notes: Adds a clock to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanClock.lua diff --git a/TitanGold/TitanGold_Mainline.toc b/TitanGold/TitanGold_Mainline.toc index 44b7568..8caf594 100644 --- a/TitanGold/TitanGold_Mainline.toc +++ b/TitanGold/TitanGold_Mainline.toc @@ -4,7 +4,6 @@ ## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: GoldSave -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: Titan TitanGold.lua diff --git a/TitanGold/TitanGold_Vanilla.toc b/TitanGold/TitanGold_Vanilla.toc index 41c126f..2a0cbcf 100644 --- a/TitanGold/TitanGold_Vanilla.toc +++ b/TitanGold/TitanGold_Vanilla.toc @@ -4,7 +4,6 @@ ## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: GoldSave -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanGold.lua diff --git a/TitanGold/TitanGold_Wrath.toc b/TitanGold/TitanGold_Wrath.toc index 1b72bf1..aec7ab1 100644 --- a/TitanGold/TitanGold_Wrath.toc +++ b/TitanGold/TitanGold_Wrath.toc @@ -4,7 +4,6 @@ ## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: GoldSave -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanGold.lua diff --git a/TitanLocation/TitanLocation.lua b/TitanLocation/TitanLocation.lua index 23a274a..221191e 100755 --- a/TitanLocation/TitanLocation.lua +++ b/TitanLocation/TitanLocation.lua @@ -561,7 +561,10 @@ function TitanMapFrame_OnUpdate(self, elapsed) -- Determine the text to show for player coords - local cursorLocationText, playerLocationText; + local cursorLocationText = "-C-" + local playerLocationText = "-P-" + + if (TitanGetVar(TITAN_LOCATION_ID, "ShowCoordsOnMap")) then self.px, self.py = TitanPanelGetPlayerMapPosition(); if self.px == nil then self.px = 0 end if self.py == nil then self.py = 0 end @@ -570,7 +573,7 @@ function TitanMapFrame_OnUpdate(self, elapsed) else playerLocationText = format(TitanGetVar(TITAN_LOCATION_ID, "CoordsFormat"), 100 * self.px, 100 * self.py); end - TitanMapPlayerLocation:SetText(format(L["TITAN_LOCATION_MAP_PLAYER_COORDS_TEXT"], TitanUtils_GetHighlightText(playerLocationText))); + playerLocationText = (format(L["TITAN_LOCATION_MAP_PLAYER_COORDS_TEXT"], TitanUtils_GetHighlightText(playerLocationText))); -- Determine the text to show for cursor coords local cx, cy = GetCursorPosition(); @@ -585,33 +588,31 @@ function TitanMapFrame_OnUpdate(self, elapsed) end -- per the user requested format - cursorLocationText = format(TitanGetVar(TITAN_LOCATION_ID, "CoordsFormat"), 100 * cx, 100 * cy); - if (TitanGetVar(TITAN_LOCATION_ID, "ShowCoordsOnMap")) then - TitanMapCursorLocation:SetText(format(L["TITAN_LOCATION_MAP_CURSOR_COORDS_TEXT"], - TitanUtils_GetHighlightText(cursorLocationText))); - else - TitanMapPlayerLocation:SetText(""); - TitanMapCursorLocation:SetText(""); - end + cursorLocationText = format(TitanGetVar(TITAN_LOCATION_ID, "CoordsFormat"), 100 * cx, 100 * cy) + cursorLocationText = (format(L["TITAN_LOCATION_MAP_CURSOR_COORDS_TEXT"], + TitanUtils_GetHighlightText(cursorLocationText))) + else + -- use defaults, saving a few cpu cycles + end --[==[ print("TLoc" .." c "..tostring(cursorLocationText).." " .." p "..tostring(playerLocationText).." " ) --]==] + TitanMapPlayerLocation:SetText(cursorLocationText); + TitanMapCursorLocation:SetText(playerLocationText); - local xbuff = 10 -- to get away from the frame border - local buff = 5 -- between the player and cursor frames - local mloc = TitanGetVar(TITAN_LOCATION_ID, "MapLocation") or "TOPRIGHT" - if Titan_Panel.game_ver == "Classic" - or Titan_Panel.game_ver == "Classic_Era" - then +-- local mloc = TitanGetVar(TITAN_LOCATION_ID, "MapLocation") or "TOPRIGHT" + if TITAN_ID == "TitanClassic" then -- Determine where to show the text TitanMapPlayerLocation:ClearAllPoints() TitanMapCursorLocation:ClearAllPoints() - TitanMapPlayerLocation:SetPoint("BOTTOMRIGHT", WorldMapFrame, "BOTTOM", -buff, 10) - TitanMapCursorLocation:SetPoint("BOTTOMLEFT", WorldMapFrame, "BOTTOM", 0, 10) + TitanMapPlayerLocation:SetPoint("BOTTOMLEFT", WorldMapFrame, "BOTTOM", 0, 10) + TitanMapCursorLocation:SetPoint("BOTTOMRIGHT", WorldMapFrame, "BOTTOM", -10, 10) +-- TitanMapPlayerLocation:SetPoint("BOTTOMRIGHT", WorldMapFrame, "BOTTOM", -buff, 10) +-- TitanMapCursorLocation:SetPoint("BOTTOMLEFT", WorldMapFrame, "BOTTOM", 0, 10) --[[ if (mloc == "TOPRIGHT") then TitanMapPlayerLocation:SetPoint("TOPRIGHT", WorldMapFrame, "TOPRIGHT", -10, -28) diff --git a/TitanLocation/TitanLocation_Mainline.toc b/TitanLocation/TitanLocation_Mainline.toc index ba6a381..68d669a 100644 --- a/TitanLocation/TitanLocation_Mainline.toc +++ b/TitanLocation/TitanLocation_Mainline.toc @@ -4,7 +4,6 @@ ## Notes: Adds coordinates and location information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: Titan TitanLocation.lua diff --git a/TitanLocation/TitanLocation_Vanilla.toc b/TitanLocation/TitanLocation_Vanilla.toc index c1642d7..ff2f7be 100644 --- a/TitanLocation/TitanLocation_Vanilla.toc +++ b/TitanLocation/TitanLocation_Vanilla.toc @@ -4,7 +4,6 @@ ## Notes: Adds coordinates and location information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanLocation.lua diff --git a/TitanLocation/TitanLocation_Wrath.toc b/TitanLocation/TitanLocation_Wrath.toc index 75920cf..e16a417 100644 --- a/TitanLocation/TitanLocation_Wrath.toc +++ b/TitanLocation/TitanLocation_Wrath.toc @@ -4,7 +4,6 @@ ## Notes: Adds coordinates and location information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanLocation.lua diff --git a/TitanLootType/TitanLootType_Mainline.toc b/TitanLootType/TitanLootType_Mainline.toc index 4c82021..dcd4399 100644 --- a/TitanLootType/TitanLootType_Mainline.toc +++ b/TitanLootType/TitanLootType_Mainline.toc @@ -6,5 +6,4 @@ ## SavedVariables: ## OptionalDeps: ## Dependencies: Titan -## X-Child-Of: Titan TitanLootType.lua diff --git a/TitanLootType/TitanLootType_Vanilla.toc b/TitanLootType/TitanLootType_Vanilla.toc index 0952df1..89766e0 100644 --- a/TitanLootType/TitanLootType_Vanilla.toc +++ b/TitanLootType/TitanLootType_Vanilla.toc @@ -6,5 +6,4 @@ ## SavedVariables: TitanClassicLootTypeSaved ## OptionalDeps: ## Dependencies: TitanClassic -## X-Child-Of: TitanClassic TitanClassicLootType.xml diff --git a/TitanLootType/TitanLootType_Wrath.toc b/TitanLootType/TitanLootType_Wrath.toc index 127e3cc..01eb24d 100644 --- a/TitanLootType/TitanLootType_Wrath.toc +++ b/TitanLootType/TitanLootType_Wrath.toc @@ -6,5 +6,4 @@ ## SavedVariables: TitanClassicLootTypeSaved ## OptionalDeps: ## Dependencies: TitanClassic -## X-Child-Of: TitanClassic TitanClassicLootType.xml diff --git a/TitanPerformance/TitanPerformance_Mainline.toc b/TitanPerformance/TitanPerformance_Mainline.toc index b837351..858a0f6 100644 --- a/TitanPerformance/TitanPerformance_Mainline.toc +++ b/TitanPerformance/TitanPerformance_Mainline.toc @@ -4,7 +4,6 @@ ## Notes: Adds FPS and Garbage collection information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: Titan TitanPerformance.lua diff --git a/TitanPerformance/TitanPerformance_Vanilla.toc b/TitanPerformance/TitanPerformance_Vanilla.toc index 8536d4f..d2a6fb0 100644 --- a/TitanPerformance/TitanPerformance_Vanilla.toc +++ b/TitanPerformance/TitanPerformance_Vanilla.toc @@ -4,7 +4,6 @@ ## Notes: Adds FPS and Garbage collection information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanPerformance.lua diff --git a/TitanPerformance/TitanPerformance_Wrath.toc b/TitanPerformance/TitanPerformance_Wrath.toc index d8ae76e..53d3cdd 100644 --- a/TitanPerformance/TitanPerformance_Wrath.toc +++ b/TitanPerformance/TitanPerformance_Wrath.toc @@ -4,7 +4,6 @@ ## Notes: Adds FPS and Garbage collection information to Titan Panel ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanPerformance.lua diff --git a/TitanRegen/TitanRegen_Vanilla.toc b/TitanRegen/TitanRegen_Vanilla.toc index 60ce66f..d42309e 100644 --- a/TitanRegen/TitanRegen_Vanilla.toc +++ b/TitanRegen/TitanRegen_Vanilla.toc @@ -6,5 +6,4 @@ ## SavedVariables: ## OptionalDeps: ## Dependencies: TitanClassic -## X-Child-Of: TitanClassic TitanClassicRegen.xml \ No newline at end of file diff --git a/TitanRegen/TitanRegen_Wrath.toc b/TitanRegen/TitanRegen_Wrath.toc index 226a103..cf7369d 100644 --- a/TitanRegen/TitanRegen_Wrath.toc +++ b/TitanRegen/TitanRegen_Wrath.toc @@ -6,5 +6,4 @@ ## SavedVariables: ## OptionalDeps: ## Dependencies: TitanClassic -## X-Child-Of: TitanClassic TitanClassicRegen.xml \ No newline at end of file diff --git a/TitanRepair/TitanRepair_Mainline.toc b/TitanRepair/TitanRepair_Mainline.toc index 1f01df7..d05cc35 100644 --- a/TitanRepair/TitanRepair_Mainline.toc +++ b/TitanRepair/TitanRepair_Mainline.toc @@ -4,7 +4,6 @@ ## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors. Adds selling of grey items. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: Titan TitanRepair.lua diff --git a/TitanRepair/TitanRepair_Vanilla.toc b/TitanRepair/TitanRepair_Vanilla.toc index aa9350d..2be45bc 100644 --- a/TitanRepair/TitanRepair_Vanilla.toc +++ b/TitanRepair/TitanRepair_Vanilla.toc @@ -4,7 +4,6 @@ ## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors. Adds selling of grey items. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanRepair.lua diff --git a/TitanRepair/TitanRepair_Wrath.toc b/TitanRepair/TitanRepair_Wrath.toc index f967683..3cd20f5 100644 --- a/TitanRepair/TitanRepair_Wrath.toc +++ b/TitanRepair/TitanRepair_Wrath.toc @@ -4,7 +4,6 @@ ## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors. Adds selling of grey items. ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanRepair.lua diff --git a/TitanVolume/TitanVolume_Mainline.toc b/TitanVolume/TitanVolume_Mainline.toc index 78e4fd7..a69ab0f 100644 --- a/TitanVolume/TitanVolume_Mainline.toc +++ b/TitanVolume/TitanVolume_Mainline.toc @@ -5,7 +5,6 @@ ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: ## OptionalDeps: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: Titan TitanVolume.lua diff --git a/TitanVolume/TitanVolume_Vanilla.toc b/TitanVolume/TitanVolume_Vanilla.toc index 250d7b0..7889ca2 100644 --- a/TitanVolume/TitanVolume_Vanilla.toc +++ b/TitanVolume/TitanVolume_Vanilla.toc @@ -4,8 +4,6 @@ ## Notes: Adds a volume control icon on your Titan Bar ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanVolume.lua diff --git a/TitanVolume/TitanVolume_Wrath.toc b/TitanVolume/TitanVolume_Wrath.toc index 7aef5f0..a0d9e2a 100644 --- a/TitanVolume/TitanVolume_Wrath.toc +++ b/TitanVolume/TitanVolume_Wrath.toc @@ -4,8 +4,6 @@ ## Notes: Adds a volume control icon on your Titan Bar ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanVolume.lua diff --git a/TitanXP/TitanXP_Mainline.toc b/TitanXP/TitanXP_Mainline.toc index 599a1fb..3442c06 100644 --- a/TitanXP/TitanXP_Mainline.toc +++ b/TitanXP/TitanXP_Mainline.toc @@ -4,7 +4,6 @@ ## Notes: Adds information to Titan Panel about XP earned and time to level ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: Titan TitanXP.lua diff --git a/TitanXP/TitanXP_Vanilla.toc b/TitanXP/TitanXP_Vanilla.toc index 8a1ed58..480d22b 100644 --- a/TitanXP/TitanXP_Vanilla.toc +++ b/TitanXP/TitanXP_Vanilla.toc @@ -4,7 +4,6 @@ ## Notes: Adds information to Titan Panel about XP earned and time to level ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanXP.lua diff --git a/TitanXP/TitanXP_Wrath.toc b/TitanXP/TitanXP_Wrath.toc index bd8a9fe..4d95e35 100644 --- a/TitanXP/TitanXP_Wrath.toc +++ b/TitanXP/TitanXP_Wrath.toc @@ -4,8 +4,6 @@ ## Notes: Adds information to Titan Panel about XP earned and time to level ## Author: Titan Panel Development Team (http://www.titanpanel.org) ## SavedVariables: -## OptionalDeps: Titan, TitanClassic -## Dependencies: -## X-Child-Of: Titan +## OptionalDeps: +## Dependencies: TitanClassic TitanXP.lua -1.5.12.30403 \ No newline at end of file