Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] Re: (PR#13308) global_advances array
Home

[Freeciv-Dev] Re: (PR#13308) global_advances array

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mstefek@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13308) global_advances array
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 10:56:21 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Benoit Hudson wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13308 >
> 
> On Wed, Jun 22, 2005 at 09:21:57AM -0700, Peter Schaefer wrote:
> 
>><URL: http://bugs.freeciv.org/Ticket/Display.html?id=13308 >
>>
>>Wouldn't it better to convert global_advances array to bool only when
>>it is sent to the client, and keep using it in tech_parasite_effect?
>>Not that it matters that much :-)

The question is, is there any reason why we need to track an integer
value here?  This question is complicated by the issue of what an
integer value *means*: is it the number of players who have researched
the tech, or the number of times it has been researched?

Mateusz has shown that we don't particularly need the data now.  The
only reason we might need it in the future is for effects that are
cumulative (unlike the binary effects we have now).  I doubt this will
be desirable.

Mateusz - there should probably be a function to compute this value.
num_players_with_tech() or something.

> That said, if the information is available, there should be UI for it --
> probably in the science dialog, just a little marker by each tech?

Indeed.

-jason





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