[DGD] Re: A simple lib

Robert Forshaw iouswuoibev at hotmail.com
Tue Jan 6 18:31:00 CET 2004


>From: Erwin Harte <harte at is-here.com>

> > Incidently, is there any way to transfer 'interactivity' to a different
> > object and destruct the old one? Right now the only way I can see to do 
>it
> > is to pass messages from the object returned by telnet_connect() to
> > whatever object you want, but it still requires the first object to 
>exist
>
>In DGD you 'do it yourself' by having a generic connection object
>which passes messages back and forth to the object that's actually in
>charge.  In a mud that could be a player body, but it could just as
>easily be something more abstract.  The kernel-lib implements such a
>mechanism.

That's basically what I had figured. Why is this feature not catered for 
better? It means having an additional object for every user. Seems a bit of 
a waste to me.
> > Another missing feature that kept causing errors until I noticed it is 
>the
> > absence of // style comments. Or are they supported in a more recent 
>patch?
> > I haven't figured out how to patch DGD for windows. Do I have to install
> > Cygwin?
>
>LPC is a dialect of C, not of C++, even though the most recent C
>standard added '//' style comments for whatever reason.

I thought the reason is obvious; it makes it much easier to comment out 
single lines. I'll probably add this feature to the driver when I understand 
what I'm doing with the mudlib first. :)

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list