Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: [Patch] Tech cleanup
Home

[Freeciv-Dev] Re: [Patch] Tech cleanup

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Juha Litola <slave@xxxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Tech cleanup
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Dec 2001 13:08:27 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Dec 19, 2001 at 01:28:55PM +0200, Juha Litola wrote:
> On Wed, Dec 19, 2001 at 12:20:35PM +0100, Raimar Falke wrote:
> > On Wed, Dec 19, 2001 at 12:28:55PM +0200, Juha Litola wrote:
> 
> > > Patch could also rename get_invention to has_invention.
> > 
> > But get_invention doesn't return a boolean value. The "has_" would
> > suggest such a boolean return value.
> Ah, I have only used TECH_KNOWN and TECH_UNKNOWN flags. What are
> TECH_REACHABLE and TECH_MARKED -flags. TECH_REACHABLE seem to
> techs that can be researched next. But what is TECH_MARKED?

To not count techs double. That what you achieved by an extra array.

        Raimar
-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  +#if defined(__alpha__) && defined(CONFIG_PCI)
  +       /*
  +        * The meaning of life, the universe, and everything. Plus
  +        * this makes the year come out right.
  +        */
  +       year -= 42;
  +#endif
    -- Patch for 1.3.2 (kernel/time.c) from Marcus Meissner


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