Re: Counting elements in a bitvector?

From: Mark Garringer (zizazat@hotmail.com)
Date: 08/26/02


>Assuming you're using a 32 bit wide integer to keep the bitvector, and
>GET_GUILD_BITVECTOR() points to the guild info.

I am using #define GUILD_FLAGS(ch) ((ch)->player_specials->saved.guild)

Which seems to be working ok to return the guild flags I manually set in the
pfile to test the functionallity.

I want to say thanks for the quick response to my question! I haven't really
worked with bitvectors much and just wasn't quite sure what I should do :)

--Ziz


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT