[Freeciv-Dev] Re: (PR#13308) global_advances array
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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 only reason is to save CPU time, and this isn't a CPU timesink, so I
say nuke the optimisation to help avoid bugs.
> wouldn't it be even better - in respect to the spying on tech effect -
> to compute it on the fly for each player, and to only count the techs
> of nations the player has met, including himself :-)
There's the odd thing of: how does the client know that a wonder is
obsolete? For game-being-fun reasons, you want to avoid wasting hundreds
of shields on useless wonders. Wonders are so unrealistic anyway that
realism just doesn't come in to play.
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?
-- Benoît
|
|