---------------------------------------
----  M e a d e r   T a c t i c s  ----
---------------------------------------

== About ==
* Created by: Meadermad - Earthen Ring EU
* Follow me on twitter: @meadermad
* E-mail: meadermad at gmail dot com
* Submit bug reports by e-mail or at http://wow.curseforge.com/addons/meader-tactics/tickets/
* Version: 0.7.0
* Updated: 3.04.2015

             **" No more typing till you bleed! Explain raid boss fights in just a few clicks. "**

Are you tired of PUG-raids where no one knows the tactics ant you are the one that has to type your fingers sore to explain it all? Then this is the addon for you! Explain the fights with just a few clicks...


== Current features ==
* Three sets of tactics: Normal, Heroic and Mythic.
* You easily can create additional sets.
* Insert raid-icons to messages.
* Ordering messages by moving them up and down in the list.
* Only supports raids from WoD.
* Use slash command '/mead test' to sends messages to 'SAY' instead of 'RAID', for testing purposes.
* Slash command "/mead opt" to open the options panel.
* Movable frames that remember their positions between sessions and accross characters.
* Insert links from the dungeon journal, just as you do with the chat window with shift clicking headers.
* Chosen delay between messages, from 1 to 9 seconds.
* Import and Export of tactic-sets. Share with your friends and enemies on the web.

**Please note that the tactic-sets are empty, so you will have to write up the tactic messages before the addon is usable.**
**Share and grab your sets here: http://wow.curseforge.com/addons/meader-tactics/forum/ **

== How to get started ==
* Install the addon like any other. The "MeaderTactics" folder should be in your "AddOns" folder.
* Use the slash command "/mead" to open the panel.
* Click the "Edit" button to enter edit mode. Button will light up in red when in edit mode.
* Set the tactic-set you want to edit or create a new one.
* Click the raid you want to edit.
* Click the boss you want to edit.
* Click "Add new.." to add the first message.
* Click "More" button in lower left corner to get more options for each message.
* To insert links to the encounter journal just open the journal and shift click any element as with pasting links to chat.
* You'll get it from there...

== How to use ==
* Slash command "/mead".
* Select the right tactic-set (Normal, Heroic, etc...).
* Click the raid you are in.
* Click the boss you are at.
* That is all!

==== Options ====
A simple options panel has been added. For now you can change button text size, change growth direction of buttons and access the import and export feature. More to come... and if you have any customization ideas, please tell me about it.
* Click "Options" in main panel or use slash command "/mead opt" to open the options panel.

==== Test mode ====
If you would like to test your messages without joining a raid group first you may enter 'Test mode'. Messages will then be sent to 'Say' instead of the raid chat.
* Click "Test" button in main panel or use slash command "/mead test" to toggle test mode. Button in main panel will light up red when in test mode.

==Import and Export of tactic-sets==
====Export====
* Open the options panel with "/mead opt" and click the Import/Export tab button at the top.
* To export select a tactic-set and click export. You can also choose to export only messages from a raid or boss.
* Copy the string that pops up in the frame below and paste it on the web for others to grab.
* Do not mess with the string, like adding lineshifts or such, that might break it.
* Share your strings here if you like: http://wow.curseforge.com/addons/meader-tactics/forum/

====Import====
* Open the options panel and click the Import/Export tab button.
* Select a set to import into or create a new one by selecting "New set" and entering a set name.
* Paste the string into the frame at the bottom.
* Click "Import".
* **Warning: Importing messages into an existing tactic will delete all existing messages in that set. Though if your set is an export from only a raid or a boss, only messages for that raid or boss will be overwritten.**
* This feature can be used to copy messages from one set to another, say from "Normal" to "Heroic".

== Coming features ==
* Support for legacy raids and dungeons.
* A quic bar for in fight messages.
* In-built tactic sets, with basic messages.
* Autodetect what raid you are in and open the right button panel.

--------------------
---- Change Log ----
--------------------
==v0.7.0==
* Added functionability for delays between messages. First message is never delayed. Set by user through editPanel. 1 sec is default, 9 sec is max.
* Removed some old functions not in use and cleaned up a bit of code.
* Changed how messages are saved in the editPanel. Now all values are first stored in a temporary table, then copied to messages table when enter or save button is pressed. Previously some info was saved directly and some in a temporary table.
* Implemented export and import functionability, reached through the options panel.
* Added buttons to enter edit mode and open the option panel in the main frame. Also rearanged the header a bit.
* Fixed a bug where moving buttons made a mess with ordering.
* Made a function to clean up message ordering errors. If you have a problem with "disapearing" messages, use the command: "/run meaderInstall.repairMessageOrder()" in chat to fix it.

==v0.6.2.1
* Fixed a problem where deleting messages in one set wrongfully sorted messages in other sets.

==v0.6.2==
* Added the base for the options panel, with a few options for the user to change. Use "/mead opt" to open the panel.
* Added "test mode" use "/mead test" to toggle. Sends messages to SAY instead of RAID. The main header alerts you if you are in test mode.
* Made an install and update handler: MeaderInstall.lua. Will handle all installs and updates for future releases.
* Fixed a bug where the addon did not remember the last tactic set between sessions.
* Fixed the bug that stopped the main frame from hiding on escape pressed.
* Removed link browser button, as there seems to be coming huge changes to the raid journal in the next expansion.
* Cleaned up a huge chunk of code. Better use of temporary tables where needed.
* Set the main frame strata to fullscreen dialog, so it will show on top of other frames.
* Added the moon world marker to the list, as it was missing. Probably went for a holiday trip to Orgrimmar or something.
* Added posibility to choose what channel each message should be sent to: "Raid" or "Raid Warning".
* The addon now remembers tactic sets between sessions.
* The addon now remembers last raid used between sessions and auto-pops the boss buttons for that raid.
* Added an alert box that pops up whenever needed. It will welcome you as soon as the addon is updated or installed for the first time.
* Changed the default fonts.
* Added a hook script for dungeon journal links.

==0.6.1==
* Initial release.
* Added several features to the edit box: Move message up and down, delete, insert raid icons and boss link.
* Cleaned up the layout, textures and buttons for a much smoother feel.
* Re-organized the whole database with all three main tables now grouped together under one table.
* Re-wrote most of the button generating codes to suit the new DB system.

-------------------
---- ToDo List ----
-------------------

* If a raid button or boss button is clicked while editBox is open, the box still is there and some weird shit happens when you click save. (Nothing dangerous, it saves at the right spot). Guess is is a hideButtons("message"... error.
* Add sounds for button clicks.
* Warning before deleting messages.
* Rightclick on messages in edit mode should delete (after warning). Say so in tooltip.
* Auto-detect what raid (or even boss) you are at and show a small "Explain it" button.
* Option: Select remember last tactic set or not. ??
* Right click on tactics sets in dropdown menu to change name or delete.
* Right click on boss buttons to edit when not in editMode.
* Add tooltips for all new stuff.
* Options frame (and all others) should be movable by dragging the header.. as with main frame.
* Main panel buttons: Test mode toggle, options.
* Localization
* Bug: Missing button lock on raid when re opening main panel.
* Change what is saved in optionDB.. only id and value needed. so separate table: SavedOptionDB
