[Freeciv-Dev] Re: Reproducable core dump (PR#1051)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Raimar Falke wrote:
On Tue, Nov 27, 2001 at 11:16:06AM -0800, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
My current implementation isn't completely minimalist: it will refuse to
fly through unknown tiles but will happily fly through known, fogged
tiles assuming no enemy is there. Is this wise? Really, a fogged tile
is just as likely to contain an enemy as an unknown tile.
A nice goal may be to have this behavior changeable by function
arguments.
That would be easy enough to do, but on further reflection I'm not sure
that it's necessary.
Fogged tiles and unknown tiles are practically the same - both may or
may not contain an enemy unit. So we would pass in a parameter to
decide whether we can fly through unseen tiles at all. The problem with
this is that restricting a plane to only "seen" tiles probably won't get
it very far!
We could come up with more complex logic - for instance, ocean squares
are less likely to contain an enemy unit than land squares, so we could
refuse to fly through any known/unseen land square but happily fly
through a similar ocean square. Under this reasoning, unknown tiles are
different from known fogged ones.
I'm really not sure what's best here. If we do allow parameters, what
should they be?
jason
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), (continued)
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), jdorje, 2001/11/11
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), Gregory Berkolaiko, 2001/11/26
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), jdorje, 2001/11/26
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), jdorje, 2001/11/27
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), jdorje, 2001/11/27
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051),
jdorje <=
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), jdorje, 2001/11/28
- [Freeciv-Dev] Re: Reproducable core dump (PR#1051), Raimar Falke, 2001/11/30
[Freeciv-Dev] Re: Reproducable core dump (PR#1051), jdorje, 2001/11/30
|
|