From 44fb7540798ee1c0753278c57f0ea2b04eb174db Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Thu, 19 Nov 2020 07:37:47 +0100 Subject: [PATCH] Move stuff --- AtlasOrWorldMap.lua | 2 ++ AtlasOrWorldMap.toc | 8 ++++++++ AtlasOrWorldMap/AtlasOrWorldMap.lua | 2 -- AtlasOrWorldMap/AtlasOrWorldMap.toc | 8 -------- AtlasOrWorldMap/Bindings.xml | 13 ------------- Bindings.xml | 13 +++++++++++++ README.md | 11 ----------- 7 files changed, 23 insertions(+), 34 deletions(-) create mode 100644 AtlasOrWorldMap.lua create mode 100644 AtlasOrWorldMap.toc delete mode 100644 AtlasOrWorldMap/AtlasOrWorldMap.lua delete mode 100644 AtlasOrWorldMap/AtlasOrWorldMap.toc delete mode 100644 AtlasOrWorldMap/Bindings.xml create mode 100644 Bindings.xml delete mode 100644 README.md diff --git a/AtlasOrWorldMap.lua b/AtlasOrWorldMap.lua new file mode 100644 index 0000000..9a4f609 --- /dev/null +++ b/AtlasOrWorldMap.lua @@ -0,0 +1,2 @@ +BINDING_HEADER_ATLASORWORLDMAP = "Atlas Or World Map" +BINDING_NAME_ATLASORWORLDMAP = "Open Atlas or World Map" \ No newline at end of file diff --git a/AtlasOrWorldMap.toc b/AtlasOrWorldMap.toc new file mode 100644 index 0000000..4e6306c --- /dev/null +++ b/AtlasOrWorldMap.toc @@ -0,0 +1,8 @@ +## Interface: 11305 +## Title: Atlas or World Map +## Notes: Opens Atlas in dungeons and raids, opens the World Map elsewhere +## Author: Wildmane-Venoxis +## Version: 0.1 +## DefaultState: Enabled +## Dependencies: Atlas +AtlasOrWorldMap.lua \ No newline at end of file diff --git a/AtlasOrWorldMap/AtlasOrWorldMap.lua b/AtlasOrWorldMap/AtlasOrWorldMap.lua deleted file mode 100644 index 9a4f609..0000000 --- a/AtlasOrWorldMap/AtlasOrWorldMap.lua +++ /dev/null @@ -1,2 +0,0 @@ -BINDING_HEADER_ATLASORWORLDMAP = "Atlas Or World Map" -BINDING_NAME_ATLASORWORLDMAP = "Open Atlas or World Map" \ No newline at end of file diff --git a/AtlasOrWorldMap/AtlasOrWorldMap.toc b/AtlasOrWorldMap/AtlasOrWorldMap.toc deleted file mode 100644 index 4e6306c..0000000 --- a/AtlasOrWorldMap/AtlasOrWorldMap.toc +++ /dev/null @@ -1,8 +0,0 @@ -## Interface: 11305 -## Title: Atlas or World Map -## Notes: Opens Atlas in dungeons and raids, opens the World Map elsewhere -## Author: Wildmane-Venoxis -## Version: 0.1 -## DefaultState: Enabled -## Dependencies: Atlas -AtlasOrWorldMap.lua \ No newline at end of file diff --git a/AtlasOrWorldMap/Bindings.xml b/AtlasOrWorldMap/Bindings.xml deleted file mode 100644 index e9bbe28..0000000 --- a/AtlasOrWorldMap/Bindings.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - if (WorldMapFrame:IsShown()) then - WorldMapFrame:SetShown(false) - elseif (not IsInInstance()) then - WorldMapFrame:SetShown(true) - else - Atlas_Toggle() - Atlas_AutoSelect() - Atlas_Refresh() - end - - \ No newline at end of file diff --git a/Bindings.xml b/Bindings.xml new file mode 100644 index 0000000..e9bbe28 --- /dev/null +++ b/Bindings.xml @@ -0,0 +1,13 @@ + + + if (WorldMapFrame:IsShown()) then + WorldMapFrame:SetShown(false) + elseif (not IsInInstance()) then + WorldMapFrame:SetShown(true) + else + Atlas_Toggle() + Atlas_AutoSelect() + Atlas_Refresh() + end + + \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index e4ab0b9..0000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Atlas or World Map -Simple AddOn for World of Warcraft Classic that opens Atlas in dungeons and raids, and the world map elsewhere. - -## Dependencies -[Atlas (Classic)](https://www.wowinterface.com/downloads/info25605-AtlasClassic.html) - -## Installation -Clone this repository and copy the AtlasOrWorldMap folder to your WoW Classic Addon directory (for example `C:\Program Files\World of Warcraft\_classic_\Interface\AddOns`) - -## Usage -Press ESC, open "Key Bindings", go to "Other" and set a key binding for "Open Atlas or World Map" (for example 'M', the default hotkey for opening the world map). \ No newline at end of file -- 1.7.9.5