Complete.Org: Mailing Lists: Archives: freeciv-ai: March 2003:
[freeciv-ai] Question on find_boat
Home

[freeciv-ai] Question on find_boat

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Question on find_boat
From: Jordi Negrevernis i Font <jorneg@xxxxxxxxxxx>
Date: Tue, 01 Apr 2003 00:24:37 +0200


   Hi!

I'm programming the code required to transport an army ( or part ) from a continent to another to attack a city. I'm having difficulties in finding the right way to use find_boat, as done in settlers.c. The ships full of troups flip-flop going out of the city and entering afterwards.

I looked to the code of that function and it seems that is not checked if someone is allready using that ship!!!

   Which is the way to use boats with no passengers?

   Thanks




[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] Question on find_boat, Jordi Negrevernis i Font <=