Look in utils.h and you'll probably find something like: #define ROOM_FLAGGED(loc, flag) (IS_SET(ROOM_FLAGS(loc), (flag))) Change it to be: #define ROOM_FLAGGED(loc, flag) (IS_SET_AR(ROOM_FLAGS(loc), (flag))) and perform similar actions for the other X_FLAGGED() macros. PS: Yes, you are right in that it was made for bpl11 and it works great! Been using it for about two years now without any problems. -- Zeavon Calatin, Spear of Insanity spear.kilnar.com:1066 http://www.kilnar.com/spear/ > -----Original Message----- > From: Circle Discussion List > [mailto:CIRCLE@post.queensu.ca]On Behalf Of > Robert Moon > Sent: Tuesday, April 20, 1999 11:48 AM > To: CIRCLE@post.queensu.ca > Subject: Newbie: ROOM_FLAGGED statements and 128 bit > conversion > > > 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 | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | 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