Re: Increasing sizes of bit vectors

From: Gary Barnett (
Date: 01/16/97

At [Fri, 17 Jan 1997 00:16:46 +0000]
Chris Warren <> wrote:

>  I think this may have been covered before, but I can't remember....
>  My problem is this.... I *NEED* 42 ITEM_XXXXX extra flags. Now I was
>  wondering if it would be possible to change...
>  struct obj_flag_data {
>     .
>     int extra_flags;    /* If it hums, glows, etc.          */
>  to a double value??? The annoying thing is this would mean changing
>  every object in my world and then there may be problems with rounding,
>  am I correct? ARRRGGH If I have to change all the object files I may
>  aswell do a ITEM2_XXXXX extra flags set 2 kind of job.... A no win
>  situation?

Hmm. Using the double sounds like a recipe for bugs later.

I think the generally accepted practice is to use the 2nd set of flags.
(Though that doesn't mean it's the best.. just what I've seen many people
recommend.. and it happens to be what I did as well.)


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST