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

[Freeciv-Dev] Re: Tech cost patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mike_jing@xxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Tech cost patch
From: Juha Litola <slave@xxxxxxxxxxxx>
Date: Thu, 29 Nov 2001 09:41:09 +0200

On Wed, Nov 28, 2001 at 06:26:14PM -0500, Mike Jing wrote:

> works in Civ3.  For this you need to add the cost for each tech in 
> tech.ruleset, in units of researchcost.
And this is real reason why I didn't already do it. Assigning costs
isn't trivial and I see no easy way of reading cost information
only with some style.

Any guesses would everything break if I moved loading of game.ruleset
as first in server/ruleset.c:2578-2585. That way I'd have style 
information when I'm reading tech information and costs wouldn't be
mandatory.

> In view of this, it's probably a good idea to separate the function of style 
> 
> 2 above into its own game.ruleset variable, maybe "tech_leakage" as 
> suggested by Reinier, as it just serves as a modification to any tech cost 
> scheme.
This is a good idea, I'll do this.

--
// Juha Litola

Attachment: pgpME8uJR16jN.pgp
Description: PGP signature


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