[Freeciv-Dev] [patch] Fix the automatic recentering
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
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 <=
|
|