Remove rune handling in OvaleState in favor of an OvaleRunes module.

OvaleRunes tracks the current rune information via events instead of
polling through the Blizzard API, and also keeps rune state for the
simulator.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1159 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix tooltip display of a value instead of a spell on mouseover.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1160 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Document legacy parameter "mine" for aura scripts conditions.

Scripts should be using the "any" parameter instead since aura conditions
already assume the aura to check belongs to the player by default.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1161 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Provide cleaner way to reset a spell cooldown in the simulator.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1162 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix target used in "targetlifenocd" computation for spell cooldowns.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1163 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Rename private variable.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1164 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Generalize state:AddEclipse() to state:AddAuraToGUID().

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1165 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Remove unnecessary module dependencies.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1166 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Undefined functions called in scripts are now always errors.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1167 d5049fe3-3747-40f7-a4b5-f36d6801af5f
There are no more toggled spells in WoW.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1168 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Treat the current time in the simulator as part of the state.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1169 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Simplify using common Lua idiom to set default values.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1170 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Output compiler.pl errors in English.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1171 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix typo in r1140 that broke LastEstimatedSpellDamage.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1172 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Ensure OvaleEclipse loads after OvalePower.

OvalePower maintains the eclipse energy level for the state machine that
gets manipulated by OvaleEclipse.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1173 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Teach Ovale that consuming runes generates runic power.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1174 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Rename the "ApplySpell" methods in OvaleState for better documentation.

    ApplySpellStart -> ApplySpellStartCast
    ApplySpellOnPlayer -> ApplySpellAfterCast
    ApplySpellOnTarget -> ApplySpellOnHit

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1175 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Move identical cast start and end checks from the individual methods
into a wrapper around the main method invoked from OvaleState.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1176 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix the start time of an action displayed in the icon.

This had assumed that the current time was in the first interval of the
time-span, which is not always true.  Implement a new method for
OvaleTimeSpan to determine the next time given a starting point, and use
that method instead of making the assumption.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1177 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Properly reference OvaleState.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1178 d5049fe3-3747-40f7-a4b5-f36d6801af5f