Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] Re: Railroads and AI
Home

[Freeciv-Dev] Re: Railroads and AI

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv dev list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Railroads and AI
From: Asher Densmore-Lynn <jesdynf@xxxxxxxxxxxx>
Date: Thu, 15 Jun 2000 20:54:58 -0500

On Fri, Jun 16, 2000 at 11:05:57AM +1000, Robert Rendell wrote:

> If instead of using 0 to disable limited railroad, you had a very large
> value, like the map's height*width, you'd effectively allow infinite
> movement on railroads, and the goto routine wouldn't have to make special
> allowances.  In fact, it would possibly make the routine simpler, because
> railroad being free is currently a pain.

I thought of that, but decided that it'd be too messy to have a unit with "2
and 65522/65535" movement points left. I mean, that's just ugly. 

> Actually, I think the teleport nature of railroads currently confuses the
> AI anyway.  For instance, the AI sometimes leaves cities undefended if it
> believes there are no enemy units in "striking distance". 

I wouldn't know about -that-...

-- 
Asher Densmore-Lynn <jesdynf@xxxxxxxxxxxx>



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