Re: Counting elements in a bitvector?

From: Mark Garringer (
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 :)


Chat with friends online, try MSN Messenger:

   | FAQ: |
   | Archives: |
   | Newbie List:   |

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