On 2/11/06, Stéphane Magnenat <[EMAIL PROTECTED]> 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
> [email protected]
> 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.


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to