> My idea is to use flags to control areas.  Any contiguous set of
> clearing cells would be automatically governed by a clearing flag
> whose circle contained or intersected with one of the cells.

Yes, makes sense.


>  (I'm not using the word "area" in some of my discussion because it
> is ambiguous in English whether the word "area" refers to each
> single cell, or a collection of contiguous cells.)

I remember having used "clearing area field", but "clearing cell"
sounds good.


>  If two or more flags would govern a set of cells, then which flag a
> cell is governed by would be determined by looking for the smaller
> of the distance to the flag minus the radius of the flag.

Ok, this works.  It's a bit unusual because both numbers are likely to
be negative, because radius is larger than distance if the flag governs
the cell.  But that is a matter of implementation.
radius - distance gives a positive score, which should be maximized.


> A minor addition:  It might be useful to allow moving a war flag to
> optionally move the set of cells it governs.  This could allow things
> like "lines of battle" or help to make flanking attacks.

Do you mean that the flag will have a noncircular region that


> Comments?  Good idea or just stupid?

Good idea.

-- 
Kai Antweiler


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

Reply via email to