Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: [PATCH] showing "worked"-tiles on map
Home

[Freeciv-Dev] Re: [PATCH] showing "worked"-tiles on map

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: rf13@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] showing "worked"-tiles on map
From: "Markus Schmaus" <Markus.Schmaus@xxxxxx>
Date: Wed, 29 Aug 2001 14:16:17 +0200

> On Tue, Aug 28, 2001 at 07:18:47PM +0200, Markus Schmaus wrote:
> > This is my first contribution for freeciv, so there might not all be the
> > way as it should. But I would be glad for any comments, what to make
> > better.
> > 
> > Recently I suggested to show a small village on tiles being in use of a
> > city. This patch is my realisation of this (for the gtk-gui).
> 
> No problems from the technical point of view. I usally don't play with
> the isometric view. But for me is looks like it clutters the
> map. Maybe the grafik can be changed.

Sure the graphic was only thought as a placeholder.

> Lets see what other people
> think. You turned the grid mode on on a recent CVS?

Yes I did. But I see a problem with only surrounding "worked"-tiles:
          - - -
X X X    | | | |
          - - -
X . X -> | | | |
          - - -
X X X    | | | |
          - - -
(X: "worked"-; .:"unworked"-tile)

Would look exactly the same as:
          - - -
X X X    | | | |
          - - -
X X X -> | | | |
          - - -
X X X    | | | |          - - -
(X: "worked"-; .:"unworked"-tile)

This could be solved in marking what side of the line is "inside".
Another option would be only marking the "outmost" border. Meaning drawing a 
line read if and only if one adjacent tile is "worked" and the other is 
"unworked". thus the two situation from above would look like:

 - - -
|     |
   -
| | | |
   -
|     |
 - - -
and
 - - -
|     |

|     |

|     |
 - - -

But there might still be ambiguous situations.

Markus
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@xxxxxx, 8MB Speicher, Verschluesselung - http://freemail.web.de




[Prev in Thread] Current Thread [Next in Thread]