Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] (PR#8642) do_in_map_pos macro
Home

[Freeciv-Dev] (PR#8642) do_in_map_pos macro

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#8642) do_in_map_pos macro
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Wed, 26 May 2004 13:34:30 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8642 >

> [jdorje - Dim. Mai. 02 00:56:36 2004]:
> 
> Now that do_in_native_pos() has been put into map.h, we should put 
> do_in_map_pos there too.
> 
> jason
> 
> 
> 
Hi Jason,
I am a problem my self with do_in_map_pos. that is

do_in_native_map_pos convert from map to native
do_in_natural_map_pos convert from map to natural

but do_in_map_pos, convert from natural or from native?

Yes in mapgen today is from native to map pos,

some times we will can need convert form someting to map.
probably we can use
do_with_native_map_pos
and
do_with_natural_map_pos
to vonvert back to map pos at end of block.

but this can't be used in map gen to some work of do_in_map_pos.

after say this, i dislake the use of native coordiantes in mapgen.c
probably this will be best to work in natural, as is in
map_temperature(). then do_in_map_pos will be changed. probably this is
best to kip it there until this will be realy needed to be move to map.h
or to be changed to natural coordinates!
Marcelo
 



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