Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] Re: Where can I get that Great Tileset?
Home

[Freeciv-Dev] Re: Where can I get that Great Tileset?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Erik Sigra <freeciv@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Where can I get that Great Tileset?
From: Thue <thue@xxxxxxx>
Date: Wed, 30 Aug 2000 23:18:20 +0200
Reply-to: thue@xxxxxxx

On Wed, 30 Aug 2000 22:41:52 Erik Sigra wrote:
> Thue wrote:
> > Yes, it would be nice to have it just like civ 2. But as jjm pointed out,
a
> > client with a tilted map could be a middle step.
> > For numbering the tiles for a civ 2 map I would prefer the pattern shown in
the
> > attached file, as it would make tile iterating more intuitive. (though I
don't
> > have actual experience with either pattern.)
> > Note that, as I have remarked in freeciv_hackers_guide.txt, it would be
very
> > nice if people would use macros or specialized functions for iterating on
the map,
> > because it would then be relatively easy to convert the server to a new
tile
> > pattern (or it could be a run-time configuration.)
> 
> I have looked at your numbering pattern/scheme and tried to grasp it. I
> found it to have both advantages and disadvantages compared to the
> Civilisation 2 Style. Now I think I understand what you ment when you
> said:
> 
> > Hmm; instead of mangling the isometric view and having a normal civ1-style
view
> > you could make the isometric view civ2-style and have a mangled civ1-style
> > view...
> > 
> > just a thought
> > 
> > -Thue

heh. It shouldn't be a guessing contest, you could have asked for in depth
comments :). Btw, your diagrams indicate you understood it correctly.

> I have attached my observations. Would you please read it through,
> confirm/correct my statements and complete with important things I have
> forgotten? I really want to understand it fully. I think others are
> interested too.
> 
> > > > -Thue
> > >
> > > -Erik
> > 
> > -Thue
> 
> -Erik
> Civilisation 2 Style:
> =====================
> 
> Can be wrapped in 2 dimesions if y is odd.

Note that that is also true for my system. We are displaying the same thing, it
is just the numbering that varies.

> [diagrams]

> Thue Style:
> ===========
> 
> x must equal y.

No, x and y are independent, as you can fx see in my own example (6x7).

> Can be wrapped in 2 dimensions although y wrapping would be somewhat strange
strange.

Actually it would be very simple I think. Just a normal overview map wrapped in
two dimensions and rotated 45 degrees.

> [very informative diagrams which I had been to lazy to make myself]

I prefer my solution because it preserves the planar assosiation between tiles.
Very little would have to be changed in the server.
Also, actually using the tiles would be easier because of the planar
associations (IMO).

But note that you diverted from my original drawing on a point: you modulused
the x values with the map xsize. You shouldn't do that! Take fx the tile (4, 1)
and go -1 in the x direction. That will give the tile (3,1). That would be 
beyond
the map, and with my numbering there would not be any tile with those
coordinates, and the tile could easily be tested for existance. That is not 
possible with
your modulused numbering, which is a fatal flaw.

When you think my numbering scheme is confusing just tilt your head 45 degrees
:)

-Thue



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