[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Re: Full Nicowar behaviour assessment
From: |
Bradley Arsenault |
Subject: |
Re: [glob2-devel] Re: Full Nicowar behaviour assessment |
Date: |
Sat, 11 Feb 2006 21:50:02 -0800 |
On 2/11/06, Stéphane Magnenat <address@hidden> wrote:
> > Come to think of it, i'm going to make farming slightly more
> > intelligent, not putting restricted zone on ressources more than 8
> > squares from water.
>
> For implementing this, do you keep a map that stores for each case the
> distance to the water? As type of terrain does not change, this can be done
> only once.
>
> Steph
>
>
> _______________________________________________
> glob2-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/glob2-devel
>
Actually, I just finished it, and I used a gradient to do it. Very
easy way of performing the calculation, actually.