Mercurial > wow > reaction
comparison MultiCastButton.lua @ 276:36a29870bf34
- little bit of code & comment cleanup
- automatically report the version in the TOC
| author | Flick |
|---|---|
| date | Wed, 11 May 2011 11:11:59 -0700 |
| parents | c918ff9ac787 |
| children | 4e325f1ea6e1 |
comparison
equal
deleted
inserted
replaced
| 275:4957aeb0d3a4 | 276:36a29870bf34 |
|---|---|
| 1 local addonName, addonTable = ... | 1 local _, ns = ... |
| 2 local ReAction = addonTable.ReAction | 2 local ReAction = ns.ReAction |
| 3 local L = ReAction.L | 3 local L = ReAction.L |
| 4 local _G = _G | 4 local _G = _G |
| 5 local CreateFrame = CreateFrame | 5 local CreateFrame = CreateFrame |
| 6 local format = string.format | 6 local format = string.format |
| 7 local unpack = unpack | 7 local unpack = unpack |
| 19 local GetActionCooldown = GetActionCooldown | 19 local GetActionCooldown = GetActionCooldown |
| 20 local GetSpellTexture = GetSpellTexture | 20 local GetSpellTexture = GetSpellTexture |
| 21 local GetActionTexture = GetActionTexture | 21 local GetActionTexture = GetActionTexture |
| 22 local GetMultiCastTotemSpells = GetMultiCastTotemSpells | 22 local GetMultiCastTotemSpells = GetMultiCastTotemSpells |
| 23 | 23 |
| 24 --@do-not-package@ | |
| 24 --[[ | 25 --[[ |
| 25 Blizzard Constants: | 26 Blizzard Constants: |
| 26 - NUM_MULTI_CAST_BUTTONS_PER_PAGE = 4 | 27 - NUM_MULTI_CAST_BUTTONS_PER_PAGE = 4 |
| 27 - NUM_MULTI_CAST_PAGES = 3 | 28 - NUM_MULTI_CAST_PAGES = 3 |
| 28 - SHAMAN_TOTEM_PRIORITIES = { } -- sets the order of the totems | 29 - SHAMAN_TOTEM_PRIORITIES = { } -- sets the order of the totems |
| 88 - The default UI has Call of the Elements always selected on UI load. This module remembers the last | 89 - The default UI has Call of the Elements always selected on UI load. This module remembers the last |
| 89 selected one and restores it. | 90 selected one and restores it. |
| 90 | 91 |
| 91 | 92 |
| 92 ]]-- | 93 ]]-- |
| 93 | 94 --@end-do-not-package@ |
| 94 | 95 |
| 95 -- | 96 -- |
| 96 -- Secure snippets | 97 -- Secure snippets |
| 97 -- | 98 -- |
| 98 | 99 |
