Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Tech cost patch v6
Home

[Freeciv-Dev] Re: Tech cost patch v6

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Juha Litola <slave@xxxxxxxxxxxx>, Petr Baudis <pasky@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Tech cost patch v6
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Fri, 30 Nov 2001 02:13:55 -0800 (PST)

--- Juha Litola <slave@xxxxxxxxxxxx> wrote:
<snip>
> It doesn't do the same. num_tech_reqs search number of unique
> requirements for tech, not caring whether techs are known or
> unknown. find_prerequisites seems to find all unknown techs 
> that are needed to research given technology. So they are quite
> different functions. But it would probably be wise to move that
> function to common/tech.c and clean up a bit. However, that's entire
> separate patch ;)

I don't see a use for num_tech_reqs. The AI probably only needs 
find_prerequisites.

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


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