Quantcast

Simplify casting spells in the simulator.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-11-26 14:04:35
Author local date 2013-11-26 14:04:35 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-11-26 14:04:35
Committer local date 2013-11-26 14:04:35 +0000
Commit c851318445a160347322f64a75942299c8b0140e
Tree 12340aaefbeaf677c7e37694b77dc84dd09ca097
Parent bd8b2ed47374cbef028d54c467edb887e2962dfd
Simplify casting spells in the simulator.

- Push more state into the simulator. This is a step towards allowing
  multiple simulators managed by Ovale.

- Remove OvaleState.now and replace with direct calls to API_GetTime().
  Places that were using OvaleState.now were really needing the current
  time, and the client already caches the current time for API_GetTime()
  for the duration of a frame.

- Re-arrange parameters to ApplySpell*() methods to simplify casting
  spells in the simulator.

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