xIS_SET( ch->speaks, LANG_TWILEK );
ch->speaks.test( LANG_TWILEK );
typedef struct extended_bitvector EXT_BV;
/*
* Defines for extended bitvectors
*/
#ifndef INTBITS
#define INTBITS 32
#endif
#define XBM 31 /* extended bitmask ( INTBITS - 1 ) */
#define RSV 5 /* right-shift value ( sqrt(XBM+1) ) */
#define XBI 4 /* integers in an extended bitvector */
#define MAX_BITS XBI * INTBITS
/*
* Structure for extended bitvectors – Thoric
*/
struct extended_bitvector
{
int bits[XBI];
};
/*
* It is very important that this be an equivalence relation:
* (1) A ~ A
* (2) if A ~ B then B ~ A
* (3) if A ~ B and B ~ C, then A ~ C
*/
bool is_same_group( CharData * ach, CharData * bch )
{
if( ach->getLeader( ) )
ach = ach->getLeader( );
if( bch->getLeader( ) )
bch = bch->getLeader( );
return ach == bch;
}
/*
* It is very important that this be an equivalence relation:
* (1) A ~ A
* (2) if A ~ B then B ~ A
* (3) if A ~ B and B ~ C, then A ~ C
*/
bool is_same_group( CHAR_DATA * ach, CHAR_DATA * bch )
{
if( ach->leader )
ach = ach->leader;
if( bch->leader )
bch = bch->leader;
return ach == bch;
}
/*
* It is very important that this be an equivalence relation:
* (1) A ~ A
* (2) if A ~ B then B ~ A
* (3) if A ~ B and B ~ C, then A ~ C
*/
bool is_same_group( CharData * ach, CharData * bch )
{
if( ach->getLeader( ) )
ach = ach->getLeader( );
if( bch->getLeader( ) )
bch = bch->getLeader( );
return ach == bch;
}
/*
* It is very important that this be an equivalence relation:
* (1) A ~ A
* (2) if A ~ B then B ~ A
* (3) if A ~ B and B ~ C, then A ~ C
*/
bool is_same_group( CHAR_DATA * ach, CHAR_DATA * bch )
{
if( ach->leader )
ach = ach->leader;
if( bch->leader )
bch = bch->leader;
return ach == bch;
}
Anyone have any clue what I may have missed to generate this error?