[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Fri Oct 23 08:04:19 CEST 1998


[Niklas Elmqvist:]

[Have to be brief - rushing off to work]

[nice pipes arrangement deleted]

 >Or is there a better alternative to a message-based communication system
 >like this? Anyone with more experience in these things than I?

I, and I think some others, have been thinking more in terms of function
call interfaces than of data stream interfaces. So, the connections would
more be in the form of a function from, say, the parser module, calling
functions (via pointer of course!) from the various world modules (magic,
movement, descriptions, combat, etc.) when the parser has determined
that the command is a command for that module. In the case of parsing,
I like the model of only parsing the command once, and working with
more structured stuff from then on, rather than having more parsing
happen in other modules. That string stuff is expensive!

--
Chris Gray     cg at ami-cg.GraySage.Edmonton.AB.CA




More information about the mud-dev-archive mailing list