Re: New Class

From: Mark McArthey (
Date: 07/18/96

I have taken a C++ class, but I don't think I'm up to the task of
porting Circle.  ugh..  
I'd imagine that at one time this topic must have been discussed?
Any serious/not-so-serious thoughts about this?
Has anyone actually begun making the code into objects/preliminary modules
for porting?

All of the code that has been passed around here lately, while helpful,
isn't necessarily what experienced coders need.  (Alright, maybe a push
now and then can't hurt) :).  What I'd like to see is actual coding
methods.  Have people completely modified the magic system, or combat to
made things more modular?  The code is pretty efficient now, but there are
places where a lot of redundancy could be cleaned up through function
calls, etc.  I'm sure you all know what I mean (well, the coders at

Anyone have any methods they can share?


 Mark McArthey          `  _ ,  '   -  (o)o)  -  

On Thu, 18 Jul 1996 wrote:

> :P This got me thinking.  Would it be possible to associate the fighter
> :P class with the knight class?  What is mean is this:  Since the knight 
> :P will (for example) have all of the skills of a standard fighter, plus
> :P maybe some extras - would there be a way to do away with all of the
> :P checks (GET_CLASS(ch) != CLASS_KNIGHT) and avoid having to put them
> :P throughout the code?  
> yeah, write your code in C++ and make classes objects :)
> the four basic classes become the base objects, and other classes can
> be derived from them.  this would even make multi-classing fairly
> easy, come to think of it, since you can have more than one base
> object (if i understand correctly, i'm still learning C++ :)

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