Re: Oasis suggestion

From: Sammy (samedi@DHC.NET)
Date: 03/12/98


On Thu, 12 Mar 1998, Rasdan wrote:

> Well, I opened up olc.h and looked at the defines, such as NUM_ROOMFLAGS,
> etc. Now this doesn't make a lot of sense for them to be here. Why not
> have them be in structs.h instead (since it appears BEFORE olc.h in the
> defines at the top of the files). This way you can avoid questions about
> adding in new flags and them not showing up on the Oasis Menu. What I mean
> is like below the room flag defines, have this:

I think even this is unneccessary.  Since the flag text in constants.c
uses a linefeed to end the list, why not use that to determine how many
flags you have?  Incrementing NUM_ROOMFLAGS doesn't do any good if you
forget to add the new flag(s) to constants.c anyway.

Sam


     +------------------------------------------------------------+
     | 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/15/00 PST