Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: goto from Trieme with Lighthouse (PR#915)
Home

[Freeciv-Dev] Re: goto from Trieme with Lighthouse (PR#915)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Cc: ue80@xxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: goto from Trieme with Lighthouse (PR#915)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Aug 2001 19:19:23 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Aug 29, 2001 at 05:56:13PM +0100, Gregory Berkolaiko wrote:
> > Full_Name: Thomas Strub
> > Version: 1.12.0
> > Distribution: Built from source
> > Client: Gtk+
> > OS: Linux 2.4.7
> > Submission from: (NULL) (129.13.64.202)
> > 
> > 
> > When using the client goto-function for a Trieme when Ligthhouse i
> > build and is useful. The goto-Function don't care about the 0% chance  
>  > that triemes sink.
> 
> Attached is a patch suggested by Thomas, started by Raimar and slightly
> extended and tested by me.  It changes functions 
> ai_manage_explorer
> find_the_shortest_path
> create_goto_map

Looks good.

> I did not attempt to change find_a_direction since I don't yet understand
> how it functions and I am pretty sure it doesn't work properly as it is
> now.  It might be in for some serious fixing.  Right now trireme does not
> work in the exploring mode (well, it works but sinks) and the patch does
> not fix it :(

Just remove the nearland and add the same changes as in the other.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Only one human captain has ever survived battle with the Minbari
  fleet. He is behind me. You are in front of me. If you value your 
  lives, be somewhere else."
    -- Ambassador Delenn, "Severed Dreams," Babylon 5


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