Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#1870) FreecivAC: borders patch
Home

[Freeciv-Dev] Re: (PR#1870) FreecivAC: borders patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#1870) FreecivAC: borders patch
From: "Ben Webb" <ben@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Jul 2003 05:54:16 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, Jul 03, 2003 at 04:21:58AM -0700, Rafa� Bursig wrote:
> There should be new border field in struct city and this variable 
> should be used with border calculation. The game.border parm. should be 
> only max reange limit. This will help us add "culture" effect for 
> civIII ruleset.

There's no point in adding such a field until someone writes the code to
use it. I've not played CivIII, so don't know how culture works. If it's
just a simple function of the city size, it could probably more easily
just be calculated each time.

> I don't like div to land and ocean cities with border calculation. In 
> this way when you city is build on coast your worker can't work on 
> enemy or neutral ocean terrain becouse it is outside your terrians 

Not true: you are only prohibited from working in enemy territory.
Anybody can work neutral tiles.

> (Current borders don't attach coast city terrains).

I don't know what you mean here. Currently, cities claim all adjacent
tiles, plus land tiles on the same continent up to game.borders
distance, so coastal cities will claim ocean tiles.

> Another problem that you have with continent/land limit are ocean lakes
> and dettection it (in this case IMHO current code is poor).

This has been discussed already - Ross's solution seems the most
sensible to me. Your screenshots merely demonstrate the same behaviour
that Christian and Per have already commented on.

> I like simple solution that all in border/culture range is your land no 
> matter that this is land or ocean. In this case you don't need made any 
> ugly hack to detect all cases and should nice work with ocean cities.

Are you suggesting that land cities should claim territory on different
continents, if they are close enough? The current code doesn't do this.

        Ben
-- 
ben@xxxxxxxxxxxxxxxxxxxxxx         http://bellatrix.pcl.ox.ac.uk/~ben/
"One word sums up probably the responsibility of any vice president,
and that one word is 'to be prepared'."
        - Vice President Dan Quayle, 12/6/89



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