Newbie: ROOM_FLAGGED statements and 128 bit conversion

From: Robert Moon (LegalWriter@earthlink.net)
Date: 04/20/99


I am in the process of converting 32 bit stock CircleMUD p15 code into 128
bit code by hand-patching Niese-Petersen's conversion.  The conversion
patch was written for an earlier version of CircleMUD (p11 I believe), but
there have been some changes in the stock code from p11 to p15.  I have
been able to figure out most of the changes and apply the conversion patch
accordingly.  However, there is one major change to stock CircleMUD p15
from p11 that I cannot figure out with certainty...

That is the room flags.  The majority of changes that the 128 bit
conversion patch makes to the code is changing all instances of "IS_SET" to
"IS_SET_AR".  However, between the time p11 and p15 were released, the
"IS_SET" for room flags was changed from:

    if (IS_SET(ROOM_FLAGS(ch->in_room), ROOM_ATRIUM)) {
to:
    if (ROOM_FLAGGED(ch->in_room, ROOM_ATRIUM)) {

I can't seem to figure out how to properly update these instances.
Changing "ROOM_FLAGGED" to "ROOM_FLAGGED_AR" doesn't seem to match
statements previously defined.  Any guidance is most appreciated.  Thanks
in advance.

-- Robert Moon.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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