[Freeciv-Dev] Re: (PR#6257) recodify map_pos<->index conversion to use n
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, 23 Sep 2003, Jason Short wrote:
>
> Index positions are ordered based off of native ones. So the current
> conversion operations (e.g., map_pos_to_index and index_to_map_pos) are
> no good when we start using native positions.
>
> Unfortunately going through native coordinates requires an intermediate
> pair of variables, which is a problem with macros. There are three
> possible solutions:
How about introducing 2 new macros
map_to_native_x
map_to_native_y
?
G.
- [Freeciv-Dev] Re: (PR#6257) recodify map_pos<->index conversion to use native positions,
Gregory Berkolaiko <=
|
|