Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: RFC: 8-topology system
Home

[Freeciv-Dev] Re: RFC: 8-topology system

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: RFC: 8-topology system
From: "Miguel Farah F." <miguel@xxxxxxxxxxxxx>
Date: Tue, 16 Oct 2001 21:14:10 -0300

 Jason Dorje Short [16/10/2001 19:23] dijo/said:
>Raimar Falke wrote:
>[...]
>> > - shape: 0 for rectangle; no other valid values yet.
>> 
>> 1 for a ellipse
>> 
>> I think that another shape is good. This may be of no real use but it
>> allows use to test the code. And a non-isometric ellipse has the
>> semantics of most north <=> y=0. Also such an ellipse will also have
>> non-real tiles in the rectangular xsize*ysize.
>
>Yes, the purpose of the field is to allow other shapes :-).  A hexagon
>and a triangle were also mentioned (although the triangle has problems
>if it wraps).  My only worry is that the (width, height) dimensions

We could implement a diamond (or lozenge? I'm unsure of the right word
("rombo" in spanish)) instead of a triangle:

     rectangle                    diamond

   #############                     #
   #############                    ###
   #############                   #####
   #############                  #######
   #############                 #########
   #############                  #######
   #############                   #####
   #############                    ###
   #############                     #
           

This solves the wrapping problem easily.


>[...]
>> So based on the xsize and ysize an ellipse should look like:
>> 
>>                               #
>>                     # # # # # # # # # # #
>>               # # # # # # # # # # # # # # # # #
>>             # # # # # # # # # # # # # # # # # # #
>>           # # # # # # # # # # # # # # # # # # # # #
>>         # # # # # # # # # # # # # # # # # # # # # # #
>>       # # # # # # # # # # # # # # # # # # # # # # # # #
>>       # # # # # # # # # # # # # # # # # # # # # # # # #
>>       # # # # # # # # # # # # # # # # # # # # # # # # #
>>     # # # # # # # # # # # # # # # # # # # # # # # # # # #
>>       # # # # # # # # # # # # # # # # # # # # # # # # #
>>       # # # # # # # # # # # # # # # # # # # # # # # # #
>>       # # # # # # # # # # # # # # # # # # # # # # # # #
>>         # # # # # # # # # # # # # # # # # # # # # # #
>>           # # # # # # # # # # # # # # # # # # # # #
>>             # # # # # # # # # # # # # # # # # # #
>>               # # # # # # # # # # # # # # # # #
>>                     # # # # # # # # # # #
>>                               #
>> 
>> For testing such shape may also omit wrapping.

If I may ask, how would an ellipse be defined? I.e., where would both
focal points be defined?



-- 
MIGUEL FARAH              //   miguel@xxxxx
#include <disclaimer.h>   //   http://www.nn.cl/~miguel
<*>
"Maybe you should stick to deathmatch Minesweeper."
- A.J., _User Friendly_, 20/03/2000


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