Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Extended Bit Vectors, room_flags

Extended Bit Vectors, room_flags

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Atami   (2 posts)  Bio
Date Sat 23 Jul 2005 10:57 PM (UTC)
Message
Ok, im converting the room_flags to extended bit vectors but i have come across some issues.

In do_rset() in the if check which deals with adding flags to the room, the line:

location->room_flags = value;

I do not know how to make 'value' compatible with the new EXT_BV room_flags. I've tried:

meb(&location->room_flags) = value;

But this gives an integer from pointer without a cast...

Any ideas..?
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #1 on Sat 23 Jul 2005 11:14 PM (UTC)

Amended on Sun 24 Jul 2005 01:28 AM (UTC) by Nick Cash

Message
Umm, why are you using rset? You should be using redit. You could probably just delete rset.

~Nick Cash
http://www.nick-cash.com
Top

Posted by Atami   (2 posts)  Bio
Date Reply #2 on Sun 24 Jul 2005 06:18 PM (UTC)
Message
Good question why am i using this!!?? Thanks i totally didnt notice. It now compiles and works completely. Now for the rest of them...

Thanks, lol
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,110 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.