Re: Cleaning Events (was Finding Type of a Void Pointer)

From: Erwin S. Andreasen (erwin@PIP.DKNET.DK)
Date: 11/29/97


On Sat, 29 Nov 1997, ;P wrote:

> > > now, i use the causer pointer to refer to objects and characters so that
> > That is going to be a major pain when you have say 5000 events queued - to

> ok, i agree with you, but how else would you do it? i was doing it with

By having not only an event pointer on each object/charcter/room to the
first event on this character, and adding another next field, next_local,
which points at the next event on this object (just like ch->in_room vs.
ch->next).

See my code at http://www.abandoned.org/drylock/ftp/evet-1.tgz.


 =============================================================================
Erwin Andreasen   Herlev, Denmark <erwin@pip.dknet.dk>  UNIX System Programmer
<URL:http://www.abandoned.org/drylock/>     <*>         (not speaking for) DDE
 =============================================================================


     +------------------------------------------------------------+
     | 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