Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2000:
[Freeciv-Dev] [PATCH] Display "Research every n turns"
Home

[Freeciv-Dev] [PATCH] Display "Research every n turns"

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] [PATCH] Display "Research every n turns"
From: s830@xxxxxxxxx
Date: Wed, 26 Jan 2000 21:47:41 +0100 (CET)

Here's a patch that displays how often you get a new research.
It displays this, both in the science advisor screen and in the change
tax-rate dialog. It's only implemented for the gtk client.

I've created a function "turns_to_research" that calculates the research,
I'm not sure if it is too costly, but I couldn't find a good way to
calculate total research other than the brute-force method.
I've placed the function in "common/tech.c", I'm not sure on both the
function name or placement though, as usual :-)

Comments and critics are always welcome

Attachment: research-turns.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [PATCH] Display "Research every n turns", s830 <=