Re: POLYMORPH (was Re: [CoreDump] [HELP!!] TEDIT)

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 11/07/97


On Fri, 7 Nov 1997, Akuma/Chris Baggett/DOOMer wrote:

->i was trying to figure out HOW to send a text field, but i can't find
->that control weather snippet (c 'control weather' better  where 'better' is
->the textfield)

Easy, enough.  Change call_magic() to accept another argument, this
one being a char pointer.  Change cast_spell() to accept the same.
Have do_cast() pass the modified string to cast_spell(), which passes
it to call_magic(), and call_magic() should pass it on to the
MANUAL_SPELL functions (requires changing the macro).  Then, make sure
you change all other references to call_magic() or cast_spell() to
account for added argument.  It's not even difficult, perhaps a little
tedious, but if I remember correctly, it took about 15 minutes, and
this without having been told where to look and what to change.  In
short, it shouldn't take more than 10 minutes.


daniel koepke / dkoepke@california.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST