Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] Re: (PR#13501) rewrite city options code
Home

[Freeciv-Dev] Re: (PR#13501) rewrite city options code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13501) rewrite city options code
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 21 Jul 2005 00:59:14 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13501 >

On Wed, 20 Jul 2005, Jason Short wrote:
> This patch rewrites and simplifies portions of the city options code.
>
> 1.The city options are changed into a bitvector (BV) instead of an
> integer bitfield.

-  UINT8 city_options;
+  BOOL city_options[CITYO_LAST];

Why not transmit it as a bitvector type?

  - Per





[Prev in Thread] Current Thread [Next in Thread]