Am Sonntag, 8. Februar 2009 21:12:49 schrieb Per Inge Mathisen:
> This patch introduces the (currently unused) function bool
> fpathCheck(Vector2i, Vector2i) that checks whether a path is
> theoretically possible in O(1) time. It does this by doing lookups a
> pre-calculated continents table that is created on map load using a
> non-recursive flood fill algorithm. It is intended to be used in the
> AI scripts to avoid attempting to send units where they cannot
> possibly go, like sending tracked droids over water to another
> continent. I am not sure how to add new script functions, so I'll need
> some help with that from someone else.
>
> Please give feedback. Sending it directly to the list since the
> trac->list gateway is apparently down.
Is this a replacement for the zones/gateways? Or something in that direction?

--DevU

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to