Re: Bitvectors

From: Mike Breuer (mbreuer@new.rr.com)
Date: 01/04/02


----- Original Message -----
From: "David Cole" <tiznor@HOTMAIL.COM>
> #define IS_AFFECTED(ch, skill) (AFF_FLAGGED((ch), (skill)))
> #define IS_AFFECTED2(ch, skill) (AFF2_FLAGGED((ch), (skill)))
> #define IS_AFFECTED3(ch, skill) (AFF3_FLAGGED((ch), (skill)))
> #define IS_AFFECTED4(ch, skill) (AFF4_FLAGGED((ch), (skill)))

Just a suggestion, but you might want to change IS_AFFECTED(..), etc to
IS_AFFECTED1(..), etc.  This way, the compiler will complain about all of
the old calls, and you can go through and make a decision as to which one
needs to be used on a case by case basis.

Mike

--
   +---------------------------------------------------------------+
   | 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