[Freeciv-Dev] Re: RFC: 8-topology system
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
- [Freeciv-Dev] Re: RFC: 8-topology system, (continued)
- [Freeciv-Dev] Re: RFC: 8-topology system, Raimar Falke, 2001/10/16
- [Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/16
- [Freeciv-Dev] Re: RFC: 8-topology system, Raimar Falke, 2001/10/16
- [Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/16
- [Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/16
- [Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/17
- [Freeciv-Dev] Re: RFC: 8-topology system, Raimar Falke, 2001/10/17
- [Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/17
- [Freeciv-Dev] Re: RFC: 8-topology system, Raimar Falke, 2001/10/17
- [Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/17
- [Freeciv-Dev] Re: RFC: 8-topology system,
Miguel Farah F. <=
- [Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/16
- [Freeciv-Dev] Re: RFC: 8-topology system, Raimar Falke, 2001/10/17
[Freeciv-Dev] Re: RFC: 8-topology system, Jason Dorje Short, 2001/10/16
|
|