Complete.Org: Mailing Lists: Archives: freeciv-dev: April 1999:
[Freeciv-Dev] PATCH: common/city.c
Home

[Freeciv-Dev] PATCH: common/city.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxxx
Subject: [Freeciv-Dev] PATCH: common/city.c
From: Tony Stuckey <stuckey@xxxxxxxxxxxxxxxxx>
Date: Fri, 9 Apr 1999 18:46:35 -0500

        When calculating trade produced in a square, Civ1 calculates
railroad trade effects before governmental trade effects.  This patch fixes
this.  If Civ2 does it differently, that needs to be protected by a
game.civstyle test.

        This patch also streamlines other trade production math.  Working
the numbers shows that many calculations could be avoided for squares that
generate no trade.
-- 
Anthony J. Stuckey                              stuckey@xxxxxxxxxxxxxxxxx
"When I was young, the sky was filled with stars.
 I watched them burn out one by one."  -Warren Zevon

Attachment: diffs2
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] PATCH: common/city.c, Tony Stuckey <=