[Freeciv-Dev] Re: [Patch] Tech cleanup
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|