Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13938] Hooks support in sorcery...

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 13938] Hooks support in sorcery...
  • Date: 28 Sep 2009 10:33:47 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13938


Jaka Kranjc <svn AT lynxlynx.info> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|svn AT lynxlynx.info |




--- Comment #20 from Jaka Kranjc <svn AT lynxlynx.info> 2009-09-28 05:33:45 ---
1.(9.1) But it hasn't happened yet. It's just about keeping feature parity
with
nonhooked sorcery. I'm not sure adding a separate spell for what, 30 lines of
code makes sense. The transition wouldn't be trivial too.

3. It would. A local var of a function is available as a global to the
functions that function calls.

4. It is mostly handled outside, but it is generated in that function.

10.5 All the hooks except cast_final are tied to one spell, so all those would
be fine with redefinition. cast_final spoils the party, as it may depend on
spells doing special things in other hooks and then manipulating that info. If
it started being used in the middle of a cast, only the subsequent spells
would
provide that info. If this hook was left out of the redefinition, the other
hooks may create files and other crap expecting cast_final to use it and clean
it up. :/

Oh, why isn't there a "cast_initial"?

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page