Re: [Code] Room Flags

From: Chuck Carson (
Date: 12/14/96

At 07:30 AM 12/13/96 -0600, you wrote:
>*grin*  Stumped again!  Fancy that...:)
> 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...
> 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.


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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