Quantcast

Better encapsulation of compile-related code into OvaleCompile module.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-02 22:15:46
Author local date 2013-03-02 22:15:46 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-02 22:15:46
Committer local date 2013-03-02 22:15:46 +0000
Commit ba729da0b9880d25d2c4cd4f7a37649a4141a6e4
Tree e5db76cca680488fb177d04042392ad7d30f766b
Parent 38f2e0e7932f3b16af0e899ef9947c88e207cb26
Better encapsulation of compile-related code into OvaleCompile module.

The script needs to be recompiled if data that the script depends upon
changes.  In the other modules that flagged ``needCompile'', cause the
data changes due to Blizzard events to fire a new Ovale event after the
data is changed.

The new Ovale events are:

    Ovale_CheckBoxValueChanged
    Ovale_EquipmentChanged
    Ovale_GlyphsChanged
    Ovale_ListValueChanged
    Ovale_ScriptChanged
    Ovale_SpellsChanged
    Ovale_StanceChanged
    Ovale_TalentsChanged

Make OvaleCompile into a full-fledged Ace3 addon module that listens for
the new Ovale events that triggers script recompilation.

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