Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [PATCH] aiunit.c ai_military_findvictim() cleanup (PR#
Home

[Freeciv-Dev] Re: [PATCH] aiunit.c ai_military_findvictim() cleanup (PR#

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Cc: Petr Baudis <pasky@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] aiunit.c ai_military_findvictim() cleanup (PR#1264)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2002 15:29:16 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Feb 18, 2002 at 12:53:57PM +0000, Gregory Berkolaiko wrote:
>  --- Petr Baudis <pasky@xxxxxxxxxxx> wrote: 
> > Dear diary, on Sun, Feb 17, 2002 at 10:53:11PM CET, I got a letter, where
> > > > 
> > > > Perfectly valid point. Let's have a looook... <hours are passing ;>...
> > > > Well, how are represented the passengers of a ferry? The actual code
> > > > appears as buggy to me, as it produces wrong results when there're more
> > > > boats at one tile, one loaded and one empty (and we're the empty one).
> > > > [NOT FIXED]
> > > 
> > > sure, it is buggy.  maybe you can write a better one?
> > 
> > I was asking just for a hint how passengers are represented in struct unit
> > (ai.passenger can contain only ONE unit_id) - I'm now too tired to run more
> > research in this area. Ok, I'll try tommorow if I'll get a moment.
> 
> truth is, I don't know :(  I thought you do...

Are you speaking about AI-ferryboat passengers or generally units
which are on transporters? I don't know but suspect that a ferryboat
only supports one unit. For the latter there is transported_by (note
that Thue said it isn't always consistent).

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 BSD: Are you guys coming or what?


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