Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2000:
[Freeciv-Dev] [patch] rates settings
Home

[Freeciv-Dev] [patch] rates settings

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] [patch] rates settings
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Sat, 08 Jan 2000 07:53:36 -0500

At 2000/01/05 11:39 , Greg Wooledge wrote:
>I seriously doubt that anyone leaves the science rate at 50%
>intentionally, but sometimes I forget.  Since Civ2 starts the science
>rate at 60%, Freeciv also should, right? ;-)

At 2000/01/06 14:15 , Greg Wooledge wrote:
>Well, I had one person who thought that maximizing the science setting
>after a revolution would be a good idea.  So here's a patch that does
>that.

This patch started with the above two patches from Greg, and went on to try
to clean up some of the rates checking code.  Most notably, it splits the
code out of check_player_government_rates() in server/plrhand.c that
actually limits the rates into a new routine,
player_limit_to_government_rates() in common/player.c, which the old
routine now calls and then goes on to report any changes.

Attachment: rates-settings-4.diff.gz
Description: Binary data

jjm

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