Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2507) incite cost patch
Home

[Freeciv-Dev] Re: (PR#2507) incite cost patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2507) incite cost patch
From: "Per I. Mathisen via RT" <rt@xxxxxxxxxxxxxx>
Date: Sun, 8 Dec 2002 03:44:45 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sat, 7 Dec 2002, Mike Kaufman via RT wrote:
> > +/* Distance from capital */
> > +capital = find_palace(city_owner(pcity));
> > +if (capital) {
> > +  int tmp = map_distance(capital->x, capital->y, pcity->x, pcity->y);
>
> considering that a modpack could have multiple capital cities, and I
> suppose you want the minimum distance, this could get ugly...

Multiple capitals is not supported by any code as of yet. I see no reason
to start here.

> > +if (city_got_building(pcity, B_COURTHOUSE)) {
> > +  dist /= 4;
> > +}
>
> what? the ruleset help mentions /=2 (as well as the current code) changing
> the rules?

Yes. I should update the ruleset, too.

Or did you find the proposed change objectionable?

  - Per




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