Re: [Code] Mobprog addition into OasisOLC

From: Hydragon (doogie@amnesiac.NMSU.Edu)
Date: 01/11/97


On Sat, 11 Jan 1997, Daniel Koepke wrote:

> On Sat, 11 Jan 1997, Hydragon wrote:
> 
> > I'm assuming that these go into a .h file, either utils.h or olc.h
> > and they are structures like char_data.  But I am currently lost.
> > I would vastly appreciate whomever donated this mobprog patch into
> > OasisOLC to clarify what these two variables are.  I doubt that,
> > without having actually made this patch or using this patch and 
> > receiving the info i'm looking for, anyone could answer this question.
> 
> They look to be defines.  Look at olc.h for other OLC_xxx #defines
> and add those two at the end with the next availible numbers...
> 
> (just a guess, of course)

Good Guess Daniel,
    I tried that last night before I went completely braindead from exaustion
and the compiler told me hehehe, I don't want to do it that way.
say from what I gather of it, its a call to a structure.
utils.h
OLC_MPROGL(<some var or const>) (call to a struct)

then in olc.h or structs.h
struct <command structure for Mprogs>
{
   <whole bunch>
   <of constant>
   <ints and   >
   <chars for  >
   <the patch  >
}

I'm pretty sure i'm on the right track, I just don't know.

   _/  _/  _/  _/  _/_/    _/_/      _/_/     _/_/_/    _/_/   _/_/  _/
   _/  _/  _/  _/  _/ _/   _/ _/    _/  _/  _/_/   _/  _/  _/  _/ _/ _/
   _/_/_/   _/_/   _/  _/  _/_/    _/_//_/  _/         _/  _/  _/ _/ _/
   _/  _/    _/    _/  _/  _/ _/   _/   _/  _/  _/_/   _/  _/  _/  _/_/
   _/  _/    _/    _/__/   _/  _/  _/   _/   _/_/_/     _/_/   _/   _/_

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



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