Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] (PR#2412) get_center_tile_mapcanvas is not the inverse of
Home

[Freeciv-Dev] (PR#2412) get_center_tile_mapcanvas is not the inverse of

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2412) get_center_tile_mapcanvas is not the inverse of center_tile_mapcanvas
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 25 Nov 2002 14:12:57 -0800
Reply-to: rt@xxxxxxxxxxxxxx

If you call get_center_tile_mapcanvas and then center_tile_mapcanvas on 
that same position, if your mapview is the right (wrong) size the center 
will be moved.

This is easy to see when switching to an identically-sized tileset.

I suspect this bug is in center_tile_mapcanvas (i.e., 
base_center_tile_mapcanvas).

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#2412) get_center_tile_mapcanvas is not the inverse of center_tile_mapcanvas, Jason Short via RT <=