libpredict: add library to handle heal predictions

* move "prediction" from module into a library
* reduce the resize and trigger calls on unitframes
* improve performance by caching frames and events
* introduce later API commands such as:
    - UnitGetIncomingHeals(unit)
    - UnitHasIncomingResurrection(unit)
* update unitframes to make use of new api calls
* delay spell cache loading to not overwrite previous
* remove all unitframe specific code from library
This commit is contained in:
shagu
2020-11-27 15:22:01 +01:00
parent 59721fb262
commit 80f5b9ef0d
6 changed files with 532 additions and 531 deletions
-1
View File
@@ -12,7 +12,6 @@
<Include file="..\modules\addons.lua"/>
<Include file="..\modules\minimap.lua"/>
<Include file="..\modules\panel.lua"/>
<Include file="..\modules\prediction.lua"/>
<Include file="..\modules\player.lua"/>
<Include file="..\modules\focus.lua"/>
<Include file="..\modules\target.lua"/>