Re: [Code] Room Flags

From: Chuck Carson (wcarson@umr.edu)
Date: 12/14/96


At 07:30 AM 12/13/96 -0600, you wrote:
>*grin*  Stumped again!  Fancy that...:)
>Uhm...so I increased the room flags in structs.h from an int to a long,
>now I can add more I think!:)  I thought wrong...cuz apparently it
>doesn't(it being the mud) doesn't like the new flags...doesn't recognize
>them...I added a NOSCAN flag...the code works fine if I check for a
>NOMAGIC room(an old room flag) but doesn if I check for a NOSCAN(new)
>flag....*grumble*  I can't figger if I'm missing something or what...
>So...my question is...
>How can I increase the number of room flags?:)
>And, are there any secrets when one fiddles with the room struct?
>	-Alex:)
>
I think your problem is most unixes (or all?) stoe an int in 4bytes as well
as longs. Most x86 platforms have int and longs but Unix does not differ 
between the two.

I have yet to increase the number of room flags, so I cannot help ya there.

LB

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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