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

[Freeciv-Dev] Re: Tech cost patch v8

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Tech cost patch v8
From: Juha Litola <slave@xxxxxxxxxxxx>
Date: Fri, 30 Nov 2001 20:14:43 +0200

On Fri, Nov 30, 2001 at 07:54:33PM +0200, Juha Litola wrote:

> Argh, forget this version. Playtesting showed some bugs which I have
> now fixed. After this game finishes, I'll make new version with
> all bugs I found fixed.
Okay, here is v9. 

Changes:
- Algorithm for num_tech_reqs was still wrong
- demographics dialog could crash the game. research_time was called for
  barbarians, which resulted it returning 0 which was used as divider. 
  Fixed this by reordering tests. Also added assert(!is_barbarian) to 
  research_time.

--
// Juha Litola

Attachment: tech_cost_style9.diff.gz
Description: Binary data

Attachment: pgpDYuMskxO69.pgp
Description: PGP signature


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