Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2000:
[Freeciv-Dev] [patch] Fix the automatic recentering
Home

[Freeciv-Dev] [patch] Fix the automatic recentering

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] [patch] Fix the automatic recentering
From: Thue Janus Kristensen <thue.kristensen@xxxxxxxxxx>
Date: Mon, 13 Mar 2000 19:41:58 +0100

The attached patch does these 2 things:
1) Recenter the map when a unit is 2 tiles from the edge of the screen, instead
of 1 as now (if you don't want this part the replace all the +2/-2 with +1/-1)
2) When moving a unit at the poles previously it would, since the pole is at
the edge of the map, recenter the screen at every move... DUH :) Adds a little
extra check to prevent this.

(I have cutandpasted into the gui-xaw and gui-mui as the functions were
identical)
-Thue

Attachment: correct_center-Mar-13.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [patch] Fix the automatic recentering, Thue Janus Kristensen <=