[Freeciv-Dev] (PR#6721) A Quincuncial topology
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6721 >
> [jdorje - Sun Dec 07 07:05:42 2003]:
> After getting it to work, I ran a quick test with topology 5 (standard
> east-west wrapping, quincuncial north-south wrapping).
I think the code in set_mapview_origin should be:
if (XWRAP_TYPE_IS(WT_NONE)) {
nat_x0 = CLIP(xmin, nat_x0, xmax - xsize);
} else {
nat_x0 = FC_WRAP(nat_x0, map.xsize);
}
if (YWRAP_TYPE_IS(WT_NONE)) {
nat_y0 = CLIP(ymin, nat_y0, ymax - ysize);
} else {
nat_y0 = FC_WRAP(nat_y0, map.ysize);
}
instead of what it is now. Changing that fixes most of the mapview
disorientation problems (the mapview is still unexpectedly flipped).
jason
- [Freeciv-Dev] Re: (PR#6721) A Quincuncial topology, Marcelo Burda, 2003/12/02
- [Freeciv-Dev] (PR#6721) A Quincuncial topology, Marcelo Burda, 2003/12/03
- [Freeciv-Dev] (PR#6721) A Quincuncial topology, Marcelo Burda, 2003/12/05
- [Freeciv-Dev] (PR#6721) A Quincuncial topology, Marcelo Burda, 2003/12/06
- [Freeciv-Dev] (PR#6721) A Quincuncial topology, Marcelo Burda, 2003/12/06
- [Freeciv-Dev] (PR#6721) A Quincuncial topology, Jason Short, 2003/12/07
- [Freeciv-Dev] (PR#6721) A Quincuncial topology,
Jason Short <=
- [Freeciv-Dev] (PR#6721) A Quincuncial topology, Jason Short, 2003/12/07
- [Freeciv-Dev] (PR#6721) A Quincuncial topology, Jason Short, 2003/12/07
- [Freeciv-Dev] Re: (PR#6721) A Quincuncial topology, Marcelo Burda, 2003/12/07
|
|