Re: Bit Flags

From: George Greer (greerga@circlemud.org)
Date: 06/05/01


On Tue, 5 Jun 2001, Patrick M. O'Laughlin wrote:

>Is there another way to increase the number of flags available besides using
>the 128-bit patch method?

1) Add more variables (you get 32 more at a time)
   i.e.) AFF2_FLAGGED, PLR3_FLAGGED, etc.

2) Make bitvectors 'unsigned long long' (64 bits each)

3) Both of the above.

4) Bitfields. (Rather drastic change)

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST